Console printer which sends the console data to the network using the Comment PDU/Interaction.
More...
Public Member Functions |
| | DtBackendConsoleNetworkPrinter (const DtSimulationAddress &addr, DtExerciseConn *exerciseConn) |
| virtual void | write (const std::string &str, int notify_level, bool sync) |
| | Prepends the notify level to the string, sets the string in a DtCommentInteraction, and sends the interaction.
|
Detailed Description
Console printer which sends the console data to the network using the Comment PDU/Interaction.
Constructor & Destructor Documentation
| DtBackendConsoleNetworkPrinter::DtBackendConsoleNetworkPrinter |
( |
| ) |
|
|
private |
| DtBackendConsoleNetworkPrinter::DtBackendConsoleNetworkPrinter |
( |
const DtSimulationAddress & |
addr, |
|
|
DtExerciseConn * |
exerciseConn |
|
) |
| |
Member Function Documentation
| virtual void DtBackendConsoleNetworkPrinter::write |
( |
const std::string & |
str, |
|
|
int |
notify_level, |
|
|
bool |
sync |
|
) |
| |
|
virtual |
Prepends the notify level to the string, sets the string in a DtCommentInteraction, and sends the interaction.
Messages have the format: NL<notify level><str>, where notify level is an integer.
- Note
- Messages arriving as DtFatal will output as a DtWarn.
Member Data Documentation
| DtSimulationAddress DtBackendConsoleNetworkPrinter::mySimulationAddress |
|
protected |
| DtExerciseConn* DtBackendConsoleNetworkPrinter::myExerciseConn |
|
protected |
The documentation for this class was generated from the following file: