Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
MessageQueueStatusThread Class Referencedescription of MessageQueueStatusThread More...
Inheritance diagram for MessageQueueStatusThread:
Detailed Descriptiondescription of MessageQueueStatusThread Definition at line 16 of file MessageQueueStatusThread.h.
Constructor & Destructor Documentation
constructor Definition at line 37 of file MessageQueueStatusThread.h.
constructor, automatically starts the thread with the specified queue, and an optional initial listener Definition at line 41 of file MessageQueueStatusThread.h.
destructor, remove ourself from queue Definition at line 9 of file MessageQueueStatusThread.cc.
don't call, shouldn't copy Member Function Documentation
Request updates to StatusListener callbacks. Definition at line 16 of file MessageQueueStatusThread.cc. Referenced by MessageQueueStatusThread().
Notifies statusListeners that a message has been read by all MessageQueue receivers. Definition at line 121 of file MessageQueueStatusThread.cc. Referenced by run().
returns the current queue Definition at line 76 of file MessageQueueStatusThread.cc.
start the thread Reimplemented from Thread. Definition at line 80 of file MessageQueueStatusThread.cc.
don't call, shouldn't assign
Unsubscribes a StatusListener from future updates. Definition at line 37 of file MessageQueueStatusThread.cc.
wait for the queue's message read semaphore to be raised, and notify listeners Reimplemented from Thread. Definition at line 84 of file MessageQueueStatusThread.cc.
(re)sets the message queue being listened to Definition at line 47 of file MessageQueueStatusThread.cc. Referenced by MessageQueueStatusThread().
indicates it's time to stop monitoring the queue (need to raise the semaphore so run() will notice the stop) Reimplemented from Thread. Definition at line 106 of file MessageQueueStatusThread.cc. Referenced by removeStatusListener(), setMessageQueue(), and ~MessageQueueStatusThread(). Member Data Documentation
the number of messages read sent last time the semaphore (semid) was raised Definition at line 83 of file MessageQueueStatusThread.h. Referenced by addStatusListener(), and run().
The MessageQueue that this thread is monitoring. Definition at line 77 of file MessageQueueStatusThread.h. Referenced by addStatusListener(), cancelled(), fireMessagesRead(), getMessageQueue(), run(), setMessageQueue(), and stop(). the semaphore which is being monitored, raised by queue when a message is read Definition at line 80 of file MessageQueueStatusThread.h. Referenced by addStatusListener(), cancelled(), run(), and stop().
MessageQueueBase::StatusListeners currently subscribed from addStatusListener(). Definition at line 74 of file MessageQueueStatusThread.h. Referenced by addStatusListener(), fireMessagesRead(), removeStatusListener(), and setMessageQueue(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:13 2016 by Doxygen 1.6.3 |