VR-Forces 4.1.1 Class Documentation
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)
 Prepends the name of the object to the string, and then calls DtDebug/DtVerbose/DtInfo/DtWarn as is appropriate with the notify_level.

Protected Attributes

DtVrfObjectmyVrfObject

Private Member Functions

 DtObjectConsoleVrlinkPrinter ()
 Not implemented.

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 
)
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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)