25 const DtString& rwName = DtString::nullString(),
30 const DtString& rwName = DtString::nullString(),
41 const DtString& rwName = DtString::nullString(),
DtRwReal myElapsedTime
Definition: timeKeeperPSR.h:59
static DtVrfProcessStateRepository * creator(const DtString &rwName, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
Definition: readerWriterRegistry.h:39
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const
virtual void setElapsedTime(double time)
const char * TimeKeeperPSRType
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
virtual ~DtTimeKeeperPSR()
DtTimeKeeperPSR & operator=(const DtTimeKeeperPSR &orig)
virtual double elapsedTime() const
const DtSimObject * vrfObject() const
Definition: vrfProcessStateRepository.h:98
virtual DtString type() const
Returns the string type of the repository, as defined in procSRTypes.h.
Definition: timeKeeperPSR.h:19
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86
DtTimeKeeperPSR(DtLocalObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)