![]() |
VR-Forces 4.6.1 Class Documentation
|

Public Types | |
| typedef std::map< DtU16, int > | ObjectCounts |
Public Member Functions | |
| DtIfStatus () | |
| default constructor | |
| virtual | ~DtIfStatus () |
| destructor | |
| DtIfStatus (const DtIfStatus &orig) | |
| copy constructor | |
| DtIfStatus & | operator= (const DtIfStatus &orig) |
| assignment operator | |
| virtual int | type () const |
| Returns the type of Interface Content; DtStatusMessageType. | |
| virtual DtSimInterfaceContent * | clone () const |
| virtual DtTime | exerciseStartTime () const |
| exercise start simulation time in seconds (defaults to 0.0). | |
| virtual void | setExerciseStartTime (DtTime time) |
| virtual DtTime | simTime () const |
| simulation time (simulation time elapsed since start of simulation) in seconds (defaults to 0.0). | |
| virtual void | setSimTime (DtTime time) |
| virtual DtTime | simStartSimTime () const |
| simulation start simulation time. | |
| virtual void | setSimStartSimTime (DtTime time) |
| virtual void | setRunDurationTime (double) |
| The simulation time at which the back-end will pause the simulation. | |
| virtual double | runDurationTime () const |
| virtual double | timeMultiplier () const |
| Set faster or slower than real-time operation (defaults to 1.0). | |
| virtual void | setTimeMultiplier (double timeMultiplier) |
| virtual int | controlState () const |
| Current control state of backend Valid values are either DtRunControlType or DtPauseControlType. | |
| virtual void | setControlState (int state) |
| virtual DtInetAddr | ipAddress () const |
| virtual void | setIpAddress (DtInetAddr ipAddr) |
| virtual unsigned int | port () const |
| virtual void | setPort (unsigned int port) |
| virtual bool | isFinalStatusMsg () const |
| virtual void | setIsFinalStatusMsg (bool finalMsg) |
| virtual int | scenarioRunId () const |
| If used, the unique scenario run id. | |
| virtual void | setScenarioRunId (int) |
| virtual bool | isCurrentParameterDb () const |
| virtual void | setIsCurrentParameterDb (bool isCurrentParameterDb) |
| virtual bool | isResourceMonitorEnabled () const |
| virtual void | setIsResourceMonitorEnabled (bool isCurrentParameterDb) |
| virtual bool | isLoaded () const |
| If this flag is true, this backend has been loaded with a scenario. | |
| virtual void | setIsLoaded (const bool loaded) |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
| virtual void | printDataToString (DtString &str) |
| virtual bool | canSimulate () const |
| Returns true if the simulation is loaded and the user can simulate on this back-end. | |
| virtual void | setCanSimulate (const bool frontEnd) |
| bool | oldStyleStatus () const |
| virtual void | setIsTimeManaged (bool yesNo) |
| virtual bool | isTimeManaged () const |
| virtual void | addLocalObject (int kind, int domain) |
| virtual void | removeLocalObject (int kind, int domain) |
| virtual int | totalLocalObjects () const |
| const ObjectCounts & | objectCounts () const |
| virtual unsigned int | simEngineId () const |
| The ID of the sim engine. | |
| virtual void | setSimEngineId (unsigned int id) |
| virtual void | setLoadingScenario (bool) |
| Set to true if in the process of loading a scenario. | |
| virtual bool | loadingScenario () const |
| virtual void | setImportingScenario (bool) |
| Set to true if in the process of importing a scenario. | |
| virtual bool | importingScenario () const |
| virtual void | setHostingDynamicTerrainServer (bool) |
| Set to true if this back-end is hosting a dynamic terrain server. | |
| virtual bool | hostingDynamicTerrainServer () const |
| virtual void | setCreatingSimulationObjectGroup (bool) |
| Set to true if in the process of creating a simulation object group. | |
| virtual bool | creatingSimulationObjectGroup () const |
| virtual void | setClosingScenario (bool) |
| Set to true if in the process of closing a scenario. | |
| virtual bool | closingScenario () const |
| virtual void | setRollingBackScenario (bool) |
| Set to true if in the process of rolling back a scenario. | |
| virtual bool | rollingBackScenario () const |
| virtual void | setLoadedNewScenario (bool) |
| Set to true if a new scenario has just been loaded. | |
| virtual bool | loadedNewScenario () const |
| virtual DtU32 | scenarioCapabilities () const |
| Indicates the capabilities of the VRF Sim based application sending this status message. | |
| virtual void | setScenarioCapabilities (DtU32 v) |
| virtual void | setScenarioCapability (DtU32 v, bool b) |
| virtual DtString | applicationType () const |
| A human readable string indicating the type of application that is sending the status message, such as "VR-Forces Sim Engine" or "VR-Engage Sim Engine". | |
| virtual void | setApplicationType (const DtString &type) |
| const DtString & | scenarioName () const |
| Deprecated – used for backwards compatibility. | |
| const DtString & | terrainName () const |
| const DtString & | guiTerrainName () const |
Public Member Functions inherited from DtSimInterfaceContent | |
| virtual | ~DtSimInterfaceContent () |
| virtual bool | update (const DtSimInterfaceContent *data) |
| virtual char * | netRep () |
| virtual void | printContentType (DtString &str) |
| virtual void | setUseSessionId (bool yesNo) |
| virtual bool | useSessionId () const |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Static Public Member Functions inherited from DtSimInterfaceContent | |
| static DtSimInterfaceContent * | createInterfaceContent (int type) |
| static void | addInterfaceContentCreatorFcn (int type, DtInterfaceContentCreatorFcn fcn) |
| static void | setFactory (DtInterfaceContentFactory *factory) |
| static DtInterfaceContentFactory * | factory () |
| static void | registerContentTypePrinter (DtSimInterfaceContentTypePrinterFcn printFcn) |
Additional Inherited Members | |
Protected Member Functions inherited from DtSimInterfaceContent | |
| DtSimInterfaceContent () | |
| DtSimInterfaceContent (const DtSimInterfaceContent &orig) | |
| const DtSimInterfaceContent & | operator= (const DtSimInterfaceContent &orig) |
| virtual char * | createNetworkBuffer () |
Static Protected Attributes inherited from DtSimInterfaceContent | |
| static DtInterfaceContentFactory * | myFactory |
| static DtSimInterfaceContentTypePrinterFcn | theContentTypePrinterFcn |
| typedef std::map<DtU16, int> DtIfStatus::ObjectCounts |
| DtIfStatus::DtIfStatus | ( | ) |
default constructor
|
virtual |
destructor
| DtIfStatus::DtIfStatus | ( | const DtIfStatus & | orig | ) |
copy constructor
| DtIfStatus& DtIfStatus::operator= | ( | const DtIfStatus & | orig | ) |
assignment operator
|
virtual |
Returns the type of Interface Content; DtStatusMessageType.
Implements DtSimInterfaceContent.
|
virtual |
Implements DtSimInterfaceContent.
|
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 |
simulation start simulation time.
|
virtual |
|
virtual |
The simulation time at which the back-end will pause the simulation.
If 0 will run until the user presses the pause button
|
virtual |
|
virtual |
Set faster or slower than real-time operation (defaults to 1.0).
|
virtual |
|
virtual |
Current control state of backend Valid values are either DtRunControlType or DtPauseControlType.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Deals with locally published objects. Keys are stored as high char of kind and low char of domain with the count of each
|
virtual |
|
inline |
|
virtual |
If used, the unique scenario run id.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
If this flag is true, this backend has been loaded with a scenario.
Note that a scenario can be loaded, however, it might not be able to be simulated on
|
virtual |
The ID of the sim engine.
This is a simple ID that differentiates on sim engine from another.
|
virtual |
Set to true if in the process of loading a scenario.
|
virtual |
|
virtual |
Set to true if in the process of importing a scenario.
|
virtual |
|
virtual |
Set to true if this back-end is hosting a dynamic terrain server.
|
virtual |
|
virtual |
Set to true if in the process of creating a simulation object group.
|
virtual |
|
virtual |
Set to true if in the process of closing a scenario.
|
virtual |
|
virtual |
Set to true if in the process of rolling back a scenario.
|
virtual |
|
virtual |
Set to true if a new scenario has just been loaded.
|
virtual |
|
virtual |
Reimplemented from DtSimInterfaceContent.
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
static |
|
virtual |
Returns true if the simulation is loaded and the user can simulate on this back-end.
Reused boolean from older scenarios
|
virtual |
|
inline |
|
virtual |
|
virtual |
|
virtual |
Indicates the capabilities of the VRF Sim based application sending this status message.
|
virtual |
|
virtual |
|
virtual |
A human readable string indicating the type of application that is sending the status message, such as "VR-Forces Sim Engine" or "VR-Engage Sim Engine".
|
virtual |
|
inline |
Deprecated – used for backwards compatibility.
Now part of DtIfScenarioStatus message
|
inline |
|
inline |
|
protected |
New versions of status message have a version.
The high word is a signal that the version exists, and the low word is the actual version. If this information does not exist it is assumed to be an older status message
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Bitfield indicating at what level this sim engine participates with the scenario.
|
protected |
String indicating what application this sim engine is, for example "VR-Forces Sim" or "VR-Engage Sim".
|
protected |
This map contains the count of kind/domain of objects available.
The key is two chars high char is kind and low char is domain. The value is the count of those items
|
protected |
|
protected |
Deprecated – used for backwards compatability. Now part of DtIfScenarioStatus message.
|
protected |
|
protected |