VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtIfScenarioStatus Class Reference
Inheritance diagram for DtIfScenarioStatus:
Inheritance graph
[legend]

Public Member Functions

 DtIfScenarioStatus ()
 default constructor
virtual ~DtIfScenarioStatus ()
 destructor
 DtIfScenarioStatus (const DtIfScenarioStatus &orig)
 copy constructor
DtIfScenarioStatusoperator= (const DtIfScenarioStatus &orig)
 assignment operator
virtual int type () const
 Returns the type of Interface Content; DtStatusMessageType.
virtual DtSimInterfaceContentclone () const
virtual int netRepSize () const
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
virtual bool setToNet ()
virtual void printDataToString (DtString &str)
virtual const DtStringscenarioName () const
 The name of the scenario that is currently loaded, if any.
virtual void setScenarioName (const DtString &name)
 The name of the scenario that is currently loaded, if any.
virtual const DtFilename & scenarioFilename () const
 The name of the scenario filename that is currently loaded, if any.
virtual void setScenarioFilename (const DtFilename &name)
 The name of the scenario filename that is currently loaded, if any.
virtual const DtFilename & terrainName () const
 The name of the terrain file that is currently loaded or in use by the sim engine.
virtual void setTerrainName (const DtFilename &name)
 The name of the terrain file that is currently loaded or in use by the sim engine.
virtual const DtFilename & guiTerrainName () const
 The name of the terrain file loaded by the GUI.
virtual void setGuiTerrainName (const DtFilename &name)
 The name of the terrain file loaded by the GUI.
virtual void setSimulationModelSets (const std::vector< DtFilename > &)
 The simulation model set(s) that are current loaded as part of this scenario.
virtual const std::vector
< DtFilename > & 
simulationModelSets () const
 The simulation model set(s) that are current loaded as part of this scenario.
virtual void clearSimulationModelSets ()
 The simulation model set(s) that are current loaded as part of this scenario.
- Public Member Functions inherited from DtSimInterfaceContent
virtual ~DtSimInterfaceContent ()
virtual bool update (const DtSimInterfaceContent *data)
virtual charnetRep ()
virtual void printContentType (DtString &str)
virtual void setUseSessionId (bool yesNo)
virtual bool useSessionId () const

Static Public Member Functions

static DtSimInterfaceContentcreator ()
- Static Public Member Functions inherited from DtSimInterfaceContent
static DtSimInterfaceContentcreateInterfaceContent (int type)
static void addInterfaceContentCreatorFcn (int type, DtInterfaceContentCreatorFcn fcn)
static void setFactory (DtInterfaceContentFactory *factory)
static DtInterfaceContentFactoryfactory ()
static void registerContentTypePrinter (DtSimInterfaceContentTypePrinterFcn printFcn)

Protected Attributes

DtU32 myVersion
bool myIsTimeManaged
DtString myScenarioName
DtFilename myScenarioFilename
DtFilename myTerrainName
DtFilename myGuiTerrainName
std::vector< DtFilename > mySimulationModelSets
- Protected Attributes inherited from DtSimInterfaceContent
charmyNetRep
bool myUseSessionId

Additional Inherited Members

- Protected Member Functions inherited from DtSimInterfaceContent
 DtSimInterfaceContent ()
 DtSimInterfaceContent (const DtSimInterfaceContent &orig)
const DtSimInterfaceContentoperator= (const DtSimInterfaceContent &orig)
virtual charcreateNetworkBuffer ()
- Static Protected Attributes inherited from DtSimInterfaceContent
static DtInterfaceContentFactorymyFactory
static
DtSimInterfaceContentTypePrinterFcn 
theContentTypePrinterFcn

Constructor & Destructor Documentation

DtIfScenarioStatus::DtIfScenarioStatus ( )

default constructor

virtual DtIfScenarioStatus::~DtIfScenarioStatus ( )
virtual

destructor

DtIfScenarioStatus::DtIfScenarioStatus ( const DtIfScenarioStatus orig)

copy constructor

Member Function Documentation

DtIfScenarioStatus& DtIfScenarioStatus::operator= ( const DtIfScenarioStatus orig)

assignment operator

virtual int DtIfScenarioStatus::type ( ) const
virtual

Returns the type of Interface Content; DtStatusMessageType.

Implements DtSimInterfaceContent.

virtual DtSimInterfaceContent* DtIfScenarioStatus::clone ( ) const
virtual

Implements DtSimInterfaceContent.

virtual const DtString& DtIfScenarioStatus::scenarioName ( ) const
virtual

The name of the scenario that is currently loaded, if any.

If no scenario is loaded by the sim engine, this sill be a null string.

virtual void DtIfScenarioStatus::setScenarioName ( const DtString name)
virtual

The name of the scenario that is currently loaded, if any.

If no scenario is loaded by the sim engine, this sill be a null string.

virtual const DtFilename& DtIfScenarioStatus::scenarioFilename ( ) const
virtual

The name of the scenario filename that is currently loaded, if any.

If no scenario is loaded by the sim engine, this sill be a null string. This is the path to the file from the gui that has initiated the load. This is different than scenarioName in where the scenarioName is a short description of the scenario.

virtual void DtIfScenarioStatus::setScenarioFilename ( const DtFilename &  name)
virtual

The name of the scenario filename that is currently loaded, if any.

If no scenario is loaded by the sim engine, this sill be a null string. This is the path to the file from the gui that has initiated the load. This is different than scenarioName in where the scenarioName is a short description of the scenario.

virtual const DtFilename& DtIfScenarioStatus::terrainName ( ) const
virtual

The name of the terrain file that is currently loaded or in use by the sim engine.

If none, this will be a null string.

virtual void DtIfScenarioStatus::setTerrainName ( const DtFilename &  name)
virtual

The name of the terrain file that is currently loaded or in use by the sim engine.

If none, this will be a null string.

virtual const DtFilename& DtIfScenarioStatus::guiTerrainName ( ) const
virtual

The name of the terrain file loaded by the GUI.

If null, then the GUI is loading terrainName().

virtual void DtIfScenarioStatus::setGuiTerrainName ( const DtFilename &  name)
virtual

The name of the terrain file loaded by the GUI.

If null, then the GUI is loading terrainName().

virtual void DtIfScenarioStatus::setSimulationModelSets ( const std::vector< DtFilename > &  )
virtual

The simulation model set(s) that are current loaded as part of this scenario.

virtual const std::vector<DtFilename>& DtIfScenarioStatus::simulationModelSets ( ) const
virtual

The simulation model set(s) that are current loaded as part of this scenario.

virtual void DtIfScenarioStatus::clearSimulationModelSets ( )
virtual

The simulation model set(s) that are current loaded as part of this scenario.

virtual int DtIfScenarioStatus::netRepSize ( ) const
virtual

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfScenarioStatus::setFromNet ( const char contentBuffer,
unsigned  contentSize 
)
virtual

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfScenarioStatus::setToNet ( )
virtual

Reimplemented from DtSimInterfaceContent.

virtual void DtIfScenarioStatus::printDataToString ( DtString str)
virtual

Reimplemented from DtSimInterfaceContent.

static DtSimInterfaceContent* DtIfScenarioStatus::creator ( )
static

Member Data Documentation

DtU32 DtIfScenarioStatus::myVersion
protected
bool DtIfScenarioStatus::myIsTimeManaged
protected
DtString DtIfScenarioStatus::myScenarioName
protected
DtFilename DtIfScenarioStatus::myScenarioFilename
protected
DtFilename DtIfScenarioStatus::myTerrainName
protected
DtFilename DtIfScenarioStatus::myGuiTerrainName
protected
std::vector<DtFilename> DtIfScenarioStatus::mySimulationModelSets
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)