16 class DtCoordinateSystem;
17 class DtAgentManagerInterface;
18 class DtSharedSettingsManager;
double simTime() const
Get the simulation time.
void setSimTime(double simTime)
Set the simulation time. The driver puts this function on the connection's function queue with the cu...
makVrv::DtCoordinateSystem * myCoordinateSystem
Definition: DtExampleSimulationConnection.h:90
virtual bool disconnect()
Function that destroys the sim engine.
The shared settings manager, is the global object responsible for managing any shared settings object...
Definition: DtSharedSettingsManager.h:42
double mySimTime
Copy of the simulation time.
Definition: DtExampleSimulationConnection.h:93
virtual DtAgentManagerInterface & sceneInterface()
Get the scene manager interface for creating drivers.
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:38
DtSharedSettingsManager & settingsManager()
Get the settings manager.
virtual bool connect()
Function that creates the sim engine.
DtExampleSimulationConnection(makVrv::DtAgentManagerInterface &sceneInterface, const makVrv::DtCoordinateSystem &coordSystem, makVrv::DtSharedSettingsManager &settingsManager)
CTOR param[in] sceneInterface is a reference to either a DtAgentManager or a DtAsynchronousManager, depending on whether or not this connection is going to be used in a separate thread param[in] coordSystem is cloned (not strictly necessary if used in the main thread, but it does it regardless param[in] settingsManager allows the objects using the connection to check for current settings that are maintained in the main thread. This includes access to a signaler that will raise signals (in whichever thread the connection is running in) when those settings change.
virtual bool connected() const
Terminate the connection.
const makVrv::DtCoordinateSystem & coordinateSystem() const
Get the coordinate system. NOTE WELL: A more complete implementation would listen for the coordinate ...
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40
Contains makVrv:DtBaseConnection class.
DtExampleSimEngine * myExampleSimEngine
The simulation engine.
Definition: DtExampleSimulationConnection.h:87
DtExampleSimulationConnection.
Definition: DtExampleSimulationConnection.h:35
The abstract interface necessary for agents.
Definition: DtAgentManagerInterface.h:33
virtual ~DtExampleSimulationConnection()
DTOR.
Provide a basic sim engine to use in an example showing how to embed a sim engine into a driver that ...
Definition: DtExampleSimEngine.h:47
virtual void tick()
Function to be called repeatedly by a thread.