![]() |
MAK RTIspy API Documentation for HLA 1516
|
Maintains a queue of RTI Assistant messages. More...
Collaboration diagram for DtAssistantMsgQueue:Classes | |
| struct | DtAssistantMsgQueueItem |
Public Member Functions | |
| DtAssistantMsgQueue () | |
| Constructor. More... | |
| virtual | ~DtAssistantMsgQueue () |
| Destructor. More... | |
| virtual void | addMsgCallback (DtAssistantMsgKind msgKind, DtAssistantMsgCbMgr::DtCallbackFcn fcn, void *usr) |
| Add message callback. More... | |
| virtual void | removeMsgCallback (DtAssistantMsgKind msgKind, DtAssistantMsgCbMgr::DtCallbackFcn fcn, void *usr) |
| Remove message callback. More... | |
| virtual void | addMsg (const DtAssistantMsg &msg, int compId) |
| Add message to queue. More... | |
| virtual void | beginProcessMsg () |
| Begin processing for the next message, calling any registered callbacks. More... | |
| virtual void | finishProcessMsg () |
| Finish processing for the current message. More... | |
| virtual const DtAssistantMsg * | currMsg () const |
| Get the current message being processed. More... | |
| virtual int | currentCompId () const |
| Get the component ID from which the current message being processed was received. More... | |
Protected Attributes | |
| DtList | myMsgList |
| List of messages in the queue. More... | |
| DtAssistantMsgQueueItem * | myCurrMsgItem |
| The item in the queue currently being processed. More... | |
| DtAssistantMsgCbMgr | myMsgCbMgr |
| Callback manager. More... | |
Private Member Functions | |
| DtAssistantMsgQueue (const DtAssistantMsgQueue &) | |
| Copy constructor not implemented. More... | |
| DtAssistantMsgQueue & | operator= (const DtAssistantMsgQueue &) |
| Assignment not implemented. More... | |
Maintains a queue of RTI Assistant messages.
DtAssistantMsgQueue queues messages for later processing. Only one message from the queue may be processed at any given time. Callback functions may be registered with the queue to process messages.
| DtAssistantMsgQueue::DtAssistantMsgQueue | ( | ) |
Constructor.
|
virtual |
Destructor.
|
private |
Copy constructor not implemented.
|
virtual |
Add message to queue.
|
virtual |
Add message callback.
|
virtual |
Begin processing for the next message, calling any registered callbacks.
Does nothing if another message is already being processed.
|
virtual |
Get the component ID from which the current message being processed was received.
|
virtual |
Get the current message being processed.
|
virtual |
Finish processing for the current message.
Must be called before before beginProcessMsg will allow a new message to be processed.
|
private |
Assignment not implemented.
|
virtual |
Remove message callback.
|
protected |
The item in the queue currently being processed.
|
protected |
Callback manager.
|
protected |
List of messages in the queue.