51 virtual void print(
const std::string& msg)
override;
57 virtual void print(
const char* msg)
override;
64 virtual void print(smPrinter::NotifyLevel notLevel,
const std::string& msg)
override;
71 virtual void print(smPrinter::NotifyLevel notLevel,
const char* msg)
override;
static DtVreRtdGlobal * getInstance()
Gets the singleton instance of the global RTD manager.
DtCgf * cgf() const
Gets the CGF object (const version)
Definition vreRtdGlobal.h:210
void initializeCallbacks()
Initializes the scenario event callbacks.
void setCgf(DtCgf *val)
Sets the CGF object.
Definition vreRtdGlobal.h:222
RTD::World * rtdWorld()
Gets the RTD world object.
Definition vreRtdGlobal.h:192
bool myTerrainQueryBlocking
Flag indicating whether terrain queries are blocking.
Definition vreRtdGlobal.h:287
static void pluginLibInit()
Initializes the RTD plugin library.
DtVreRtdPrinterListener * myListener
Printer listener for message forwarding.
Definition vreRtdGlobal.h:296
static void postLoadScenarioCallback(const DtScenario &scenario, void *data)
Static callback after scenario load completes.
void destroy()
Destroys the global RTD manager.
static void scenarioRunCallback(void *data)
Static callback for scenario run events.
DtCgf * cgf()
Gets the CGF object.
Definition vreRtdGlobal.h:216
void setDefaultRtdFixedDeltaTime(smDouble val)
Sets the default RTD fixed delta time.
Definition vreRtdGlobal.h:240
vreRtd::DtVreRtdPrinterListener * printerListener()
Gets the printer listener.
Definition vreRtdGlobal.h:271
DtVreRtdGlobal()
Constructor.
smDouble defaultRtdFixedDeltaTime() const
Gets the default RTD fixed delta time (const version)
Definition vreRtdGlobal.h:228
bool isTerrainQueryBlocking() const
Checks if terrain queries are blocking (const version)
Definition vreRtdGlobal.h:246
void setTerrainQueryBlocking(bool val)
Sets whether terrain queries are blocking.
Definition vreRtdGlobal.h:259
void reset()
Resets the global RTD state.
vreRtd::DtVreRtdPrinterListener * printerListener() const
Gets the printer listener (const version)
Definition vreRtdGlobal.h:265
void destroyRTDWorld()
Destroys the RTD world.
DtCgf * myCgf
Pointer to the CGF object.
Definition vreRtdGlobal.h:290
static void preScenarioRollbackCallback(void *data)
Static callback for scenario rollback events.
void setRtdWorld(RTD::World *val)
Sets the RTD world object.
Definition vreRtdGlobal.h:204
bool isTerrainQueryBlocking()
Checks if terrain queries are blocking.
Definition vreRtdGlobal.h:252
static void preLoadScenarioCallback(DtScenario &scenario, void *data)
Static callback for scenario load events.
virtual void processPreLoadScenario()
Processes a scenario load event.
void resetRTDWorld()
Resets the RTD world.
void setPrinterListener(vreRtd::DtVreRtdPrinterListener *val)
Sets the printer listener.
Definition vreRtdGlobal.h:277
smDouble myDefaultRtdFixedDeltaTime
Default fixed delta time for RTD simulation steps.
Definition vreRtdGlobal.h:293
RTD::World * rtdWorld() const
Gets the RTD world object (const version)
Definition vreRtdGlobal.h:198
virtual void processScenarioRunCallback()
Processes a scenario run event.
static DtVreRtdGlobal * theRtdGlobalInstance
Singleton instance of the global RTD manager.
Definition vreRtdGlobal.h:281
virtual void processPreScenarioRollbackCallback()
Processes a scenario rollback event.
smDouble defaultRtdFixedDeltaTime()
Gets the default RTD fixed delta time.
Definition vreRtdGlobal.h:234
virtual void processPostLoadScenario()
Processes post-scenario load event.
RTD::World * myRtdWorld
The RTD world object.
Definition vreRtdGlobal.h:284
Message forwarding listener from RTD to VRF Sim.
Definition vreRtdGlobal.h:31
virtual void print(const std::string &msg) override
Prints a message to the RTD logging system.
virtual void print(smPrinter::NotifyLevel notLevel, const std::string &msg) override
Prints a message to the RTD logging system with specified severity.
~DtVreRtdPrinterListener()=default
Default destructor.
virtual void print(const char *msg) override
Prints a message to the RTD logging system.
DtVreRtdPrinterListener()=default
Default constructor.
static smPrinter::NotifyLevel makNotifyLevelToRTD(int nl)
Converts MAK notification level to RTD notification level.
virtual void print(smPrinter::NotifyLevel notLevel, const char *msg) override
Prints a message to the RTD logging system with specified severity.
Definition vreRtdConfigFileReader.h:18
Common definitions for the RTD backend library.