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
DtObjectConsoleVrlinkPrinter Class Reference

Console printer which redirects its output though the VR-Link DtInfo/DtWarn/etc printer mechanism. More...

Inheritance diagram for DtObjectConsoleVrlinkPrinter:
Inheritance graph
[legend]

Public Member Functions

 DtObjectConsoleVrlinkPrinter (DtVrfObject *vrfObj)
 
virtual void write (const std::string &str, int notify_level, bool sync)
 Prepends the name of the object to the string, and then calls DtDebug/DtVerbose/DtInfo/DtWarn as is appropriate with the notify_level. More...
 

Protected Attributes

DtVrfObjectmyVrfObject
 

Private Member Functions

 DtObjectConsoleVrlinkPrinter ()
 Not implemented. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

DtObjectConsoleVrlinkPrinter::DtObjectConsoleVrlinkPrinter ( )
private

Not implemented.

DtObjectConsoleVrlinkPrinter::DtObjectConsoleVrlinkPrinter ( DtVrfObject vrfObj)

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 then calls DtDebug/DtVerbose/DtInfo/DtWarn as is appropriate with the notify_level.

Note
Messages arriving as DtFatel will output as a DtWarn.

Member Data Documentation

DtVrfObject* DtObjectConsoleVrlinkPrinter::myVrfObject
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)