![]() |
VR-Forces Developer's Guide
|
class DtIfCloseScenario:
DtIfCloseScenario is sent from the front end to tell the backend that the user has closed the current scenario. DtIfCloseScenario is the content portion of a close scenario message.
Content-Type: DtCloseScenarioMessageType
Parameters: None.

Public Member Functions | |
| DtIfCloseScenario () | |
| virtual | ~DtIfCloseScenario () |
| DtIfCloseScenario (const DtIfCloseScenario &orig) | |
| DtIfCloseScenario & | operator= (const DtIfCloseScenario &orig) |
| virtual int | type () const |
| virtual DtSimInterfaceContent * | clone () const |
| virtual void | setDatabaseToKeepOpen (const DtFilename &) |
| virtual const DtFilename & | databaseToKeepOpen () const |
| virtual void | setForceCloseAll (bool) |
| virtual bool | forceCloseAll () const |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
Public Member Functions inherited from DtSimInterfaceContent | |
| virtual | ~DtSimInterfaceContent () |
| virtual bool | update (const DtSimInterfaceContent *data) |
| virtual char * | netRep () |
| virtual void | printContentType (DtString &str) |
| virtual void | printDataToString (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 | |
| DtFilename | myDatabaseToKeepOpen |
| bool | myForceCloseAll |
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 |
| DtIfCloseScenario::DtIfCloseScenario | ( | ) |
default constructor
|
virtual |
destructor
| DtIfCloseScenario::DtIfCloseScenario | ( | const DtIfCloseScenario & | orig | ) |
copy constructor
| DtIfCloseScenario& DtIfCloseScenario::operator= | ( | const DtIfCloseScenario & | orig | ) |
assignment operator
|
virtual |
Returns DtCloseScenarioMessageType.
Implements DtSimInterfaceContent.
|
virtual |
Implements DtSimInterfaceContent.
|
virtual |
Set this only if you are issuing a close followed by a load. This will be the database that is to come with the next load scenario.
|
virtual |
|
virtual |
Normally, if the scenario is closed and there are snapshots and the database to open is the same database opened in the back-end the database will stay open. If you want to force a closing of everything in the case of snapshots being present, pass the forceCloseAll flag as true. If the database to open is supplied and the forceCloseAll flag is true, only the snapshots will be removed if the database to open is the same database that is currently opened.
|
virtual |
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
static |
|
protected |
|
protected |