![]() |
VR-Forces Development_Version 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 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) |
| The ID of the sim engine. | |
| virtual void | setLoadingScenario (bool) |
| Set to true if in the process of loading a scenario. | |
| virtual bool | loadingScenario () const |
| Set to true if in the process of loading a scenario. | |
| virtual void | setImportingScenario (bool) |
| Set to true if in the process of importing a scenario. | |
| virtual bool | importingScenario () const |
| Set to true if in the process of importing a scenario. | |
| virtual void | setCreatingSimulationObjectGroup (bool) |
| Set to true if in the process of creating a simulation object group. | |
| virtual bool | creatingSimulationObjectGroup () const |
| Set to true if in the process of creating a simulation object group. | |
| virtual void | setClosingScenario (bool) |
| Set to true if in the process of closing a scenario. | |
| virtual bool | closingScenario () const |
| Set to true if in the process of closing a scenario. | |
| virtual void | setRollingBackScenario (bool) |
| Set to true if in the process of rolling back a scenario. | |
| virtual bool | rollingBackScenario () const |
| Set to true if in the process of rolling back a scenario. | |
| virtual void | setLoadedNewScenario (bool) |
| Set to true if a new scenario has just been loaded. | |
| virtual bool | loadedNewScenario () const |
| Set to true if a new scenario has just been loaded. | |
| const DtString & | scenarioName () const |
| Deprecated – used for backwards compatability. | |
| const DtString & | terrainName () const |
| Deprecated – used for backwards compatability. | |
| const DtString & | guiTerrainName () const |
| Deprecated – used for backwards compatability. | |
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) |
Protected Attributes | |
| DtU32 | myVersion |
| New versions of status message have a version. | |
| DtU32 | myPort |
| DtU16 | myControlState |
| DtInetAddr | myInetAddr |
| bool | myIsFinalStatusMsg |
| bool | myIsCurrentParameterDb |
| bool | myResourceMonitorIsEnabled |
| bool | myIsLoaded |
| DtTime | myExerciseStartTime |
| DtTime | mySimTime |
| DtTime | mySimStartSimTime |
| double | myTimeMultiplier |
| bool | myLoadedNewScenario |
| DtU32 | mySimEngineId |
| bool | myCanSimulate |
| bool | myIsTimeManaged |
| bool | myLoadingScenario |
| bool | myImportingScenario |
| bool | myCreatingSimulationObjectGroup |
| bool | myClosingScenario |
| bool | myRollingBackScenario |
| ObjectCounts | myObjectCounts |
| This map contains the count of kind/domain of objects available. | |
| DtTime | myRunDurationTime |
| DtString | myScenarioName |
| Deprecated – used for backwards compatability. Now part of DtIfScenarioStatus message. | |
| DtString | myTerrainName |
| DtString | myGuiTerrainName |
Protected Attributes inherited from DtSimInterfaceContent | |
| char * | myNetRep |
| bool | myUseSessionId |
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 |
|
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 |
Deals with locally published objects. Keys are stored as high char of kind and low char of domain with the count of each
|
virtual |
Deals with locally published objects. Keys are stored as high char of kind and low char of domain with the count of each
|
inline |
Deals with locally published objects. Keys are stored as high char of kind and low char of domain with the count of each
|
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 |
|
virtual |
The ID of the sim engine.
This is a simple ID that differentiates on sim engine from another.
|
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 |
Set to true if in the process of loading a scenario.
|
virtual |
Set to true if in the process of importing a scenario.
|
virtual |
Set to true if in the process of importing a scenario.
|
virtual |
Set to true if in the process of creating a simulation object group.
|
virtual |
Set to true if in the process of creating a simulation object group.
|
virtual |
Set to true if in the process of closing a scenario.
|
virtual |
Set to true if in the process of closing a scenario.
|
virtual |
Set to true if in the process of rolling back a scenario.
|
virtual |
Set to true if in the process of rolling back a scenario.
|
virtual |
Set to true if a new scenario has just been loaded.
|
virtual |
Set to true if a new scenario has just been loaded.
|
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 |
|
inline |
Deprecated – used for backwards compatability.
Now part of DtIfScenarioStatus message
|
inline |
Deprecated – used for backwards compatability.
Now part of DtIfScenarioStatus message
|
inline |
Deprecated – used for backwards compatability.
Now part of DtIfScenarioStatus message
|
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 |
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 |