VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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.

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,
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 Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)