![]() |
VR-Forces 4.6 Class Documentation
|
class DtIfRollbackToSnapshot: More...

Public Member Functions | |
| DtIfRollbackToSnapshot () | |
| default constructor | |
| virtual | ~DtIfRollbackToSnapshot () |
| destructor | |
| DtIfRollbackToSnapshot (const DtIfRollbackToSnapshot &orig) | |
| copy constructor | |
| DtIfRollbackToSnapshot & | operator= (const DtIfRollbackToSnapshot &orig) |
| DtIfSnapshotsResponse operator. | |
| virtual int | type () const |
| Returns the type of Interface Content. | |
| virtual DtSimInterfaceContent * | clone () const |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
| virtual void | printDataToString (DtString &str) |
| virtual void | setSimTime (double) |
| Simulation time to roll back to. | |
| virtual double | simTime () const |
| virtual void | setSnapshotId (int) |
| virtual int | snapshotId () const |
| virtual void | setScenarioRunId (int) |
| An ID that is used to now uniquely identify messages sent with this scenario rollback. | |
| virtual int | scenarioRunId () 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) |
Protected Attributes | |
| double | mySimTime |
| int | mySnapshotId |
| int | myScenarioRunId |
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 |
class DtIfRollbackToSnapshot:
Instances of DtIfRollbackToSnapshot will try and rollback to a snapshot id (if it exists) or the closest sim time given
Content-Type: DtRollbackToSnapshotMessageType
| DtIfRollbackToSnapshot::DtIfRollbackToSnapshot | ( | ) |
default constructor
|
virtual |
destructor
| DtIfRollbackToSnapshot::DtIfRollbackToSnapshot | ( | const DtIfRollbackToSnapshot & | orig | ) |
copy constructor
| DtIfRollbackToSnapshot& DtIfRollbackToSnapshot::operator= | ( | const DtIfRollbackToSnapshot & | orig | ) |
DtIfSnapshotsResponse operator.
|
virtual |
Returns the type of Interface Content.
Implements DtSimInterfaceContent.
|
virtual |
Implements DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
static |
|
virtual |
Simulation time to roll back to.
If this is given and Snapshot id is given Snapshot id will be used first, and, if that does not exist, sim time second
|
virtual |
|
virtual |
|
virtual |
|
virtual |
An ID that is used to now uniquely identify messages sent with this scenario rollback.
Used to try and prevent messages from a previous scenario interfering with the new. In each new construct of this message, the scenario run id is set to a random number
|
virtual |
|
protected |
|
protected |
|
protected |