Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
MessageQueueStatusThread Class Reference#include <MessageQueueStatusThread.h>
Inheritance diagram for MessageQueueStatusThread:
![]() Detailed Descriptiondescription of MessageQueueStatusThreadDefinition at line 16 of file MessageQueueStatusThread.h.
Constructor & Destructor Documentation
constructor, automatically starts the thread with the specified queue, and an optional initial listener
Definition at line 41 of file MessageQueueStatusThread.h.
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().
Unsubscribes a StatusListener from future updates.
Definition at line 37 of file MessageQueueStatusThread.cc.
(re)sets the message queue being listened to
Definition at line 47 of file MessageQueueStatusThread.cc. Referenced by MessageQueueStatusThread().
start the thread
Reimplemented from Thread. Definition at line 80 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.
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().
Notifies statusListeners that a message has been read by all MessageQueue receivers.
Definition at line 120 of file MessageQueueStatusThread.cc. Referenced by run().
don't call, shouldn't assign
Member Data Documentation
MessageQueueBase::StatusListeners currently subscribed from addStatusListener().
Definition at line 74 of file MessageQueueStatusThread.h. Referenced by addStatusListener(), fireMessagesRead(), removeStatusListener(), and setMessageQueue().
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().
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 documentation for this class was generated from the following files: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:32 2007 by Doxygen 1.5.4 |