VR-Forces 4.8 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, DtEventManager *eventManager)
 
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. More...
 

Protected Attributes

DtSimulationAddress mySimulationAddress
 
DtEventManagermyEventManager
 

Private Member Functions

 DtBackendConsoleNetworkPrinter ()
 Not implemented. More...
 

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,
DtEventManager eventManager 
)

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
DtEventManager* DtBackendConsoleNetworkPrinter::myEventManager
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)