|
VizKit
3.0
|
#include <VisualNotificationQueue.h>
Static Public Member Functions | |
| static VisualNotificationQueue * | getInstance (void) |
| static void | dispose (void) |
| static void | push (VisualNotification &aNotification) |
| static VisualNotification | pop (void) |
| static size_t | size (void) |
| static void | update (void) |
Private Types | |
| typedef std::deque < VisualNotification > | NotificationQueue |
| typedef NotificationQueue::iterator | NotificationQueueIterator |
Private Member Functions | |
| VisualNotificationQueue () | |
| ~VisualNotificationQueue () | |
| VisualNotificationQueue (const VisualNotificationQueue &other) | |
| VisualNotificationQueue & | operator= (const VisualNotificationQueue &other) |
Private Attributes | |
| NotificationQueue | notificationQueue |
| NotificationQueue | inputNotificationQueue |
Static Private Attributes | |
| static VisualNotificationQueue * | visualNotificationQueueInstance = NULL |
Queue of notifications. Singleton.
typedef std::deque<VisualNotification> VizKit::VisualNotificationQueue::NotificationQueue [private] |
A NotificationQueue is a dequeue of notifications.
typedef NotificationQueue::iterator VizKit::VisualNotificationQueue::NotificationQueueIterator [private] |
A NotificationQueueIterator is an iterator of the NotificationQueue.
| VisualNotificationQueue::VisualNotificationQueue | ( | ) | [private] |
The constructor. VisualNotificationQueue is a singleton class. The constructor is private. New instance of class can only be created internally.
| VisualNotificationQueue::~VisualNotificationQueue | ( | ) | [private] |
The destructor. VisualNotificationQueue is a singleton class. The destructor is private. Instance of class can only be destructed internally.
| VizKit::VisualNotificationQueue::VisualNotificationQueue | ( | const VisualNotificationQueue & | other | ) | [private] |
Copy constructor.
| other | Another VisualNotificationQueue. |
| void VisualNotificationQueue::dispose | ( | void | ) | [static] |
Cleans up the VisualNotificationQueue singleton.
| VisualNotificationQueue * VisualNotificationQueue::getInstance | ( | void | ) | [static] |
Returns a pointer to the instance. Initializes the VisualNotificationQueue class if neccessary. The VisualNotificationQueue is of singleton type.
| VisualNotificationQueue& VizKit::VisualNotificationQueue::operator= | ( | const VisualNotificationQueue & | other | ) | [private] |
Assignment operator.
| VisualNotification VisualNotificationQueue::pop | ( | void | ) | [static] |
Erases the top VisualNotification of the VisualNotificationQueue.
| void VisualNotificationQueue::push | ( | VisualNotification & | aNotification | ) | [static] |
Pushes a Notification at the end of the VisualNotificationQueue.
| aNotification | The VisualNotification. |
| size_t VisualNotificationQueue::size | ( | void | ) | [static] |
Returns the number of items currently stored in VisualNotificationQueue.
| void VisualNotificationQueue::update | ( | void | ) | [static] |
Updates the notification queue with the most recent input notifications.
Input queue of notifications.
The queue of the notifications.
VisualNotificationQueue * VisualNotificationQueue::visualNotificationQueueInstance = NULL [static, private] |
VisualNotificationQueue is a singleton class. Pointer to private instance is handled internally.