VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes | Private Member Functions
DtBackendConsoleNetworkPrinter Class Reference

Console printer which sends the console data to the network using the Comment PDU/Interaction. More...

Inheritance diagram for DtBackendConsoleNetworkPrinter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtBackendConsoleNetworkPrinter (const DtSimulationAddress &addr, DtExerciseConn *exerciseConn)
virtual void write (const std::string &str, int notify_level)
 Prepends the notify level to the string, sets the string in a DtCommentInteraction, and sends the interaction.

Protected Attributes

DtSimulationAddress mySimulationAddress
DtExerciseConn * myExerciseConn

Private Member Functions

 DtBackendConsoleNetworkPrinter ()
 Not implemented.

Detailed Description

Console printer which sends the console data to the network using the Comment PDU/Interaction.


Constructor & Destructor Documentation

Not implemented.

DtBackendConsoleNetworkPrinter::DtBackendConsoleNetworkPrinter ( const DtSimulationAddress &  addr,
DtExerciseConn *  exerciseConn 
)

Member Function Documentation

virtual void DtBackendConsoleNetworkPrinter::write ( const std::string &  str,
int  notify_level 
) [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]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)