VR-Forces Developer's Guide
 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.

Inheritance diagram for DtBackendConsoleNetworkPrinter:
Inheritance graph
[legend]

Public Member Functions

 DtBackendConsoleNetworkPrinter (const DtSimulationAddress &addr, DtCommunicationManager *eventManager)
 
virtual void write (const std::string &str, int notify_level, bool sync)
 

Protected Attributes

DtSimulationAddress mySimulationAddress
 
DtCommunicationManagermyCommunicationManager
 

Private Member Functions

 DtBackendConsoleNetworkPrinter ()
 

Constructor & Destructor Documentation

DtBackendConsoleNetworkPrinter::DtBackendConsoleNetworkPrinter ( )
private

Not implemented.

DtBackendConsoleNetworkPrinter::DtBackendConsoleNetworkPrinter ( const DtSimulationAddress &  addr,
DtCommunicationManager 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
DtCommunicationManager* DtBackendConsoleNetworkPrinter::myCommunicationManager
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)