18 #include <vlutil/vlFilename.h>
19 #include <vlutil/vlPrint.h>
21 #include <tbb/spin_mutex.h>
27 class DtOutputStreamBuffer;
35 #define trUtf8( _message, _module ) DtTranslatableStream( _message, _module )
37 #error "trutf8 already defined!"
61 virtual void setNotifyLevel( DtNotifyLevelType
level );
62 virtual void setNotifyLevel(
const DtString& channel, DtNotifyLevelType level );
64 virtual DtNotifyLevelType notifyLevel()
const;
70 virtual void printToFile(
const DtFilename&
filename )
const;
72 virtual void stopPrintingToFile()
const;
76 virtual DtOutputStream& debugStream(
const DtString& channel =
"" )
const;
77 virtual DtOutputStream& verboseStream(
const DtString& channel =
"" )
const;
78 virtual DtOutputStream& infoStream(
const DtString& channel =
"" )
const;
79 virtual DtOutputStream& warnStream(
const DtString& channel =
"" )
const;
80 virtual DtOutputStream& errorStream(
const DtString& channel =
"" )
const;
85 virtual void addConsolePrinter(
DtPrinter* printer );
93 virtual void addAndManageConsolePrinter(
DtPrinter* printer );
97 virtual void removeConsolePrinter(
DtPrinter* printer );
105 virtual void addDefaultPrinters();
int myObjectConsoleThreshold
The current notification level for this object.
Definition: objectConsole.h:120
DtOutputChannelManager myChannelManager
Definition: objectConsole.h:125
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
Contains the DtTranslatableOutputStream class declaration.
The DtOutputChannelManager class manages default streams and channel-specific streams by notify level...
Definition: outputChannelManager.h:25
tbb::spin_mutex myMutex
Definition: objectConsole.h:126
This class represents the console for an individual object. It owns a set of streams for various noti...
Definition: objectConsole.h:49
DtFilePrinter * myFilePrinter
If file logging has been turned on, this holds the pointer to the current file printer.
Definition: objectConsole.h:123
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
const DtSimObject * mySimObject
Definition: objectConsole.h:128
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:88
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
DT_DLL_vrfobjcore std::string moduleFromFilename(const std::string &file)
Contains the DtOutputChannelManager class declaration.