![]() |
VR-Forces 4.8 Class Documentation
|
Periodic snapshot settings are used to keep track of whether or not periodic snapshots are enabled and the simulation time to schedule the snapshots for. More...

Public Member Functions | |
| DtPeriodicSnapshotSettings () | |
| Default constructor, required for deserialization. More... | |
| DtPeriodicSnapshotSettings (std::string name) | |
| Constructor. More... | |
| DtPeriodicSnapshotSettings (std::string name, bool enabled, double periodicSnapshotTime, int numberOfSnapshotsToKeep) | |
| Constructor. More... | |
| DtPeriodicSnapshotSettings (const DtPeriodicSnapshotSettings &orig) | |
| Copy constructor. More... | |
| virtual bool | operator== (const DtSettingsObject &other) const |
| Equality operator. More... | |
| virtual bool | operator!= (const DtSettingsObject &other) const |
| Inequality operator. More... | |
| virtual DtSettingsObject * | clone () const |
| Clone operator, returns a new settings which is a copy of this one. More... | |
| virtual bool | setFrom (const DtSettingsObject *other) |
| bool | enabled () const |
| Whether or not the periodic Snapshot system is enabled. More... | |
| void | setEnabled (bool b) |
| double | periodicSnapshotTime () const |
| Simulation time period between Snapshots. Default is 1 second. More... | |
| void | setPeriodicSnapshotTime (double threshold) |
| void | setNumberOfSnapshotsToKeep (int) |
| Number of periodic Snapshots to keep around. 0 means keep all. More... | |
| int | numberOfSnapshotsToKeep () const |
Public Member Functions inherited from DtSettingsObject | |
| DtSettingsObject () | |
| DtSettingsObject (std::string name) | |
| DtSettingsObject (const DtSettingsObject &orig) | |
| virtual void | operator= (const DtSettingsObject &orig) |
| virtual std::string | name () const |
Static Public Member Functions | |
| static DtSettingsObject * | create (DtSettingsObjectCreationParams ¶ms) |
| Creator. More... | |
Protected Attributes | |
| bool | myEnabled |
| double | myPeriodicSnapshotTime |
| int | myNumberOfSnapshotsToKeep |
Protected Attributes inherited from DtSettingsObject | |
| std::string | myName |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
| Serialization support. More... | |
Friends | |
| class | boost::serialization::access |
Periodic snapshot settings are used to keep track of whether or not periodic snapshots are enabled and the simulation time to schedule the snapshots for.
| DtPeriodicSnapshotSettings::DtPeriodicSnapshotSettings | ( | ) |
Default constructor, required for deserialization.
| DtPeriodicSnapshotSettings::DtPeriodicSnapshotSettings | ( | std::string | name | ) |
Constructor.
| DtPeriodicSnapshotSettings::DtPeriodicSnapshotSettings | ( | std::string | name, |
| bool | enabled, | ||
| double | periodicSnapshotTime, | ||
| int | numberOfSnapshotsToKeep | ||
| ) |
Constructor.
| DtPeriodicSnapshotSettings::DtPeriodicSnapshotSettings | ( | const DtPeriodicSnapshotSettings & | orig | ) |
Copy constructor.
|
virtual |
Equality operator.
Reimplemented from DtSettingsObject.
|
virtual |
Inequality operator.
Reimplemented from DtSettingsObject.
|
virtual |
Clone operator, returns a new settings which is a copy of this one.
Implements DtSettingsObject.
|
virtual |
Reimplemented from DtSettingsObject.
|
static |
Creator.
| bool DtPeriodicSnapshotSettings::enabled | ( | ) | const |
Whether or not the periodic Snapshot system is enabled.
| void DtPeriodicSnapshotSettings::setEnabled | ( | bool | b | ) |
| double DtPeriodicSnapshotSettings::periodicSnapshotTime | ( | ) | const |
Simulation time period between Snapshots. Default is 1 second.
| void DtPeriodicSnapshotSettings::setPeriodicSnapshotTime | ( | double | threshold | ) |
| void DtPeriodicSnapshotSettings::setNumberOfSnapshotsToKeep | ( | int | ) |
Number of periodic Snapshots to keep around. 0 means keep all.
| int DtPeriodicSnapshotSettings::numberOfSnapshotsToKeep | ( | ) | const |
|
inlineprivate |
Serialization support.
|
friend |
|
protected |
|
protected |
|
protected |