VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtIfRollbackToSnapshot Class Reference

class DtIfRollbackToSnapshot: More...

Inheritance diagram for DtIfRollbackToSnapshot:
Inheritance graph
[legend]

Public Member Functions

 DtIfRollbackToSnapshot ()
 default constructor
virtual ~DtIfRollbackToSnapshot ()
 destructor
 DtIfRollbackToSnapshot (const DtIfRollbackToSnapshot &orig)
 copy constructor
DtIfRollbackToSnapshotoperator= (const DtIfRollbackToSnapshot &orig)
 DtIfSnapshotsResponse operator.
virtual int type () const
 Returns the type of Interface Content.
virtual DtSimInterfaceContentclone () 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 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

double mySimTime
int mySnapshotId
int myScenarioRunId
- 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

Detailed Description

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

Constructor & Destructor Documentation

DtIfRollbackToSnapshot::DtIfRollbackToSnapshot ( )

default constructor

virtual DtIfRollbackToSnapshot::~DtIfRollbackToSnapshot ( )
virtual

destructor

DtIfRollbackToSnapshot::DtIfRollbackToSnapshot ( const DtIfRollbackToSnapshot orig)

copy constructor

Member Function Documentation

DtIfRollbackToSnapshot& DtIfRollbackToSnapshot::operator= ( const DtIfRollbackToSnapshot orig)
virtual int DtIfRollbackToSnapshot::type ( ) const
virtual

Returns the type of Interface Content.

Implements DtSimInterfaceContent.

virtual DtSimInterfaceContent* DtIfRollbackToSnapshot::clone ( ) const
virtual

Implements DtSimInterfaceContent.

virtual int DtIfRollbackToSnapshot::netRepSize ( ) const
virtual

Reimplemented from DtSimInterfaceContent.

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

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfRollbackToSnapshot::setToNet ( )
virtual

Reimplemented from DtSimInterfaceContent.

virtual void DtIfRollbackToSnapshot::printDataToString ( DtString str)
virtual

Reimplemented from DtSimInterfaceContent.

static DtSimInterfaceContent* DtIfRollbackToSnapshot::creator ( )
static
virtual void DtIfRollbackToSnapshot::setSimTime ( double  )
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 double DtIfRollbackToSnapshot::simTime ( ) const
virtual
virtual void DtIfRollbackToSnapshot::setSnapshotId ( int  )
virtual
virtual int DtIfRollbackToSnapshot::snapshotId ( ) const
virtual
virtual void DtIfRollbackToSnapshot::setScenarioRunId ( int  )
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 int DtIfRollbackToSnapshot::scenarioRunId ( ) const
virtual

Member Data Documentation

double DtIfRollbackToSnapshot::mySimTime
protected
int DtIfRollbackToSnapshot::mySnapshotId
protected
int DtIfRollbackToSnapshot::myScenarioRunId
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)