![]() |
VR-Forces 5.0.2 Developer's Guide
|
Instances of DtVrfStatusPublisher are used to send information about a VR-Forces simulation engine to remote front ends or other control applications.
Static Public Member Functions | |
| static void | statusRequestCallback (DtSimMessage *msg, void *usr) |
Protected Member Functions | |
| virtual void | processSimObjectAdded (const DtLocalObject *) |
| virtual void | processSimObjectAboutToBeRemoved (const DtLocalObject *) |
| virtual void | processSimObjectConvertedToRemote (const DtLocalObject *) |
| DtVrfStatusPublisher (const DtVrfStatusPublisher &orig) | |
| DtVrfStatusPublisher & | operator= (const DtVrfStatusPublisher &orig) |
Static Protected Member Functions | |
| static void | simObjectAdded (const DtLocalObject *, void *usr) |
| static void | simObjectAboutToBeRemoved (const DtLocalObject *, void *usr) |
| static void | simObjectConvertedToRemote (const DtLocalObject *, void *usr) |
Protected Attributes | |
| DtVrfMessageInterface * | myMessageIf |
| int | myHeartbeatInterval |
| DtSimulationAddress | myAddress |
| bool | myIsActive |
| bool | myCanSimulate |
| DtTime | myLastResponseTime |
| bool | myIsOldParameterDb |
| bool | myHasBeenModified |
| bool | mySendStatusOnChange |
| bool | myLoadedNewScenario |
| DtLocalObjectManager * | myObjectManager |
| DtIfStatus * | myStatus |
| tbb::spin_mutex | myStatusMutex |
| DtVrfStatusPublisher::DtVrfStatusPublisher | ( | DtVrfMessageInterface * | messageIf, |
| DtLocalObjectManager * | mgr | ||
| ) |
constructor
|
virtual |
destructor
|
protected |
copy constructor
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
This value determines how often to send out a status message.
|
virtual |
|
virtual |
Get IP address of this backend.
|
virtual |
Get/Set our port number for file transferring.
|
virtual |
Get/Set our app id range max.
|
virtual |
|
virtual |
Get/Set control state (e.g. paused, running)
|
virtual |
|
virtual |
Clears out objects that are in the scenario.
|
virtual |
Ticked by the simulation manager.
|
virtual |
Process status request messages from other status managers.
|
static |
Handle status request messages from other status managers.
|
virtual |
If true, this backend has been loaded with a scenario.
|
virtual |
|
virtual |
Sets the scenario run id.
|
virtual |
|
virtual |
The following functions are obsolete.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
exercise start simulation time in seconds (defaults to 0.0).
|
virtual |
|
virtual |
simulation time (simulation time elapsed since start of simulation) in seconds (defaults to 0.0).
|
virtual |
|
virtual |
Duration the scenario is scheduled to run. 0 means run until user presses pause.
|
virtual |
|
virtual |
simulation time at start of simulation (defaults to 0.0).
|
virtual |
|
virtual |
Set faster or slower than real-time operation (defaults to 1.0).
|
virtual |
|
virtual |
Only sent once. Will be set when the scenario is being loaded.
|
virtual |
|
virtual |
Only sent once. Will be set when the scenario is being saved.
|
virtual |
|
virtual |
Will be set when a scenario is being imported.
|
virtual |
|
virtual |
Will be set when a scenario is being reinitialized.
|
virtual |
|
virtual |
Will be set when a back-end is hosting a dynamic terrain server.
|
virtual |
|
virtual |
Will be set when a simulation object group is being created.
|
virtual |
|
virtual |
Only sent once. Will be set when the scenario is being closed.
|
virtual |
|
virtual |
Only sent once. Will be set when the scenario is being rolled back.
|
virtual |
|
virtual |
Only sent once. Will be set then, once set, unset to signal a new scenario has just been loaded.
|
virtual |
|
virtual |
Flag indicating whether parameter database is old file format or not.
Flag indicating if parameter database is current file format or not.
|
virtual |
|
virtual |
Flag indicating if resource manager is enabled. When setting, if flag is different, status is published immediately.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
If true (default) will send status message when anything changes. If false, will set myHasBeenModified to true, and, if this is reset to true, will send message if if the myHasBeenModified flag is also true.
|
virtual |
Adds/removes local objects. This will not send out an immediate message.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
staticprotected |
Calls for when objects are added/removed. Update object kind/domain count in status message.
|
protectedvirtual |
|
staticprotected |
|
protectedvirtual |
|
staticprotected |
|
protectedvirtual |
|
protected |
assignment operator
|
protected |
Status of this node.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |