VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | 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]

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.

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

DtBackendConsoleNetworkPrinter::DtBackendConsoleNetworkPrinter ( )
private

Not implemented.

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:

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)