VR-Forces 5.0.1 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
DtObjectConsoleVrlinkPrinter Class Reference

Console printer which redirects its output though the VR-Link DtInfo/DtWarn/etc printer mechanism. Any output that is tied to will receive this output with the name of the object prepended to the text.

Inheritance diagram for DtObjectConsoleVrlinkPrinter:
Inheritance graph
[legend]

Public Member Functions

 DtObjectConsoleVrlinkPrinter (const DtSimObject *vrfObj)
 
virtual void write (const std::string &str, int notify_level, bool sync)
 

Protected Attributes

const DtSimObjectmyVrfObject
 

Private Member Functions

 DtObjectConsoleVrlinkPrinter ()
 

Constructor & Destructor Documentation

DtObjectConsoleVrlinkPrinter::DtObjectConsoleVrlinkPrinter ( const DtSimObject vrfObj)
DtObjectConsoleVrlinkPrinter::DtObjectConsoleVrlinkPrinter ( )
private

Not implemented.

Member Function Documentation

virtual void DtObjectConsoleVrlinkPrinter::write ( const std::string &  str,
int  notify_level,
bool  sync 
)
virtual

Prepends the name of the object to the string, and writes it to the printer at the appropriate debug level.

Note
Messages arriving as DtFatal will output as a DtWarn.

Member Data Documentation

const DtSimObject* DtObjectConsoleVrlinkPrinter::myVrfObject
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)