![]() |
MAK RTIspy API Documentation for HLA 1516
|
Sends data from an output stream to the RTI Assistant. More...
Inheritance diagram for DtAssistantPrinter:
Collaboration diagram for DtAssistantPrinter:Public Member Functions | |
| DtAssistantPrinter (DtBoost::shared_ptr< DtRtiAssistantClient > client) | |
| Constructor. | |
| virtual | ~DtAssistantPrinter () |
| Destructor. | |
| virtual void | write (const std::string &st, int notifyLevel, bool sync) |
| Packages the data into a message and sends to the RTI Assistant to be displayed as a notification. | |
| virtual void | ignoreNotifyMsg (const MAKRti::DtString &text) |
| The next notify message which matches the given message will not be sent to the assistant. | |
Protected Attributes | |
| DtBoost::shared_ptr < DtRtiAssistantClient > | myClient |
| The Assistant client connection through which messages are sent. | |
| MAKRti::DtMutex | myMutex |
| Used for locking the client connection. | |
| std::multiset< MAKRti::DtString > | myMsgsToIgnore |
| Messages to be ignored the next time they are sent. | |
Private Member Functions | |
| DtAssistantPrinter (DtAssistantPrinter const &) | |
| Copy constructor not implemented. | |
| DtAssistantPrinter & | operator= (DtAssistantPrinter const &) |
| Assignment operator not implemented. | |
Sends data from an output stream to the RTI Assistant.
DtAssistantPrinter may be attached to DtOutputStream objects. It will and will package output into messages and send them to the RTI Assistant. This class is thread safe, multiple threads may write data to it at any time, all functions are locked with mutex.
| DtAssistantPrinter::DtAssistantPrinter | ( | DtBoost::shared_ptr< DtRtiAssistantClient > | client | ) |
Constructor.
|
virtual |
Destructor.
|
private |
Copy constructor not implemented.
|
virtual |
The next notify message which matches the given message will not be sent to the assistant.
|
private |
Assignment operator not implemented.
|
virtual |
Packages the data into a message and sends to the RTI Assistant to be displayed as a notification.
Multiple threads may call this at the same time.
|
protected |
The Assistant client connection through which messages are sent.
|
protected |
Messages to be ignored the next time they are sent.
|
mutableprotected |
Used for locking the client connection.