13 #include <vlutil/vlPrint.h>
15 #include <vlutil/vlFilename.h>
22 class DtOutputStreamBuffer;
32 #define trUtf8(_message, _module) DtTranslatableStream(_message, _module)
34 #error "trutf8 already defined!"
65 virtual void registerMessageCallbacks();
68 virtual void setNotifyLevel(DtNotifyLevelType
level);
69 virtual void setNotifyLevel(
const DtString& channel, DtNotifyLevelType level);
71 virtual DtNotifyLevelType notifyLevel()
const;
77 virtual void printToFile(
const DtFilename&
filename);
79 virtual void stopPrintingToFile();
83 virtual DtOutputStream& debugStream(
const DtString& channel =
"");
84 virtual DtOutputStream& verboseStream(
const DtString& channel =
"");
85 virtual DtOutputStream& infoStream(
const DtString& channel =
"");
86 virtual DtOutputStream& warnStream(
const DtString& channel =
"");
87 virtual DtOutputStream& errorStream(
const DtString& channel =
"");
92 virtual void addConsolePrinter(
DtPrinter* printer);
100 virtual void addAndManageConsolePrinter(
DtPrinter* printer);
104 virtual void removeConsolePrinter(
DtPrinter* printer);
112 virtual void addDefaultPrinters();
120 static void setNotifyLevelCallback(
DtSimMessage* msg,
void* usr);
int myObjectConsoleThreshold
The current notification level for this object.
Definition: objectConsole.h:127
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtOutputChannelManager myChannelManager
Definition: objectConsole.h:132
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
DtVrfObject * myVrfObject
Definition: objectConsole.h:125
The DtOutputChannelManager class manages default streams and channel-specific streams by notify level...
Definition: outputChannelManager.h:21
This class represents the console for an individual object.
Definition: objectConsole.h:41
DtFilePrinter * myFilePrinter
If file logging has been turned on, this holds the pointer to the current file printer.
Definition: objectConsole.h:130
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
File: simMsg.h.
Definition: simMessage.h:35
The base class for all messages to/from a specific DtVrfObject.
Definition: vrfObjectMessage.h:30
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
DT_DLL_vrfobjcore std::string moduleFromFilename(const std::string &file)