![]() |
VR-Link API Documentation for HLA 1.3
|
DtPrinter is an abstract base class which provides an interface for output. More...
Inheritance diagram for DtPrinter:Public Member Functions | |
| DtPrinter () | |
| Default CTOR. | |
| DtPrinter (const DtPrinter &) | |
| Copy CTOR. | |
| virtual | ~DtPrinter () |
| Virtual DTOR. | |
| virtual void | write (const std::string &str, int notify_level, bool newLine)=0 |
| This method is called by the output stream whenever information is available to print. | |
DtPrinter is an abstract base class which provides an interface for output.
All informational output in VR-Link goes through a DtOutputStream. The DtOutputStream then calls DtPrinter::write() which sends i the text to output. Users may overload DtPrinter to direct that output to a different place.
|
inline |
Default CTOR.
|
inline |
Copy CTOR.
|
inlinevirtual |
Virtual DTOR.
|
pure virtual |
This method is called by the output stream whenever information is available to print.
The newLine argument indicates that the string to write starts a new line. This can be used to format output (eg. for adding timestamps).
Implemented in DtStderrPrinter, DtStdoutPrinter, and DtFilePrinter.