VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
limitExistencePSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include <readerWriter/rwReal.h>
10 
16 
19 {
20 public:
21 
24  const DtString& rwName = DtString::nullString(),
25  DtReaderWriterRegistry* parentRegistry = 0);
26 
29  const DtString& rwName = DtString::nullString(),
30  DtReaderWriterRegistry* parentRegistry = 0);
31 
33  virtual ~DtLimitExistencePSR();
34 
37 
40  const DtString& rwName = DtString::nullString(),
41  DtReaderWriterRegistry* parentRegistry = 0) const;
42 
44  virtual DtString type() const;
45 
47  virtual void setElapsedTime(double time);
48  virtual double elapsedTime() const;
49 
50 public:
51 
53  static DtVrfProcessStateRepository* creator (const DtString& rwName,
54  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
55 
56 protected:
57 
61 };
Definition: readerWriterRegistry.h:39
DtRwReal myElapsedTimeSinceCreation
This stores how much time has passed since the limit existence controller was created in the simulati...
Definition: limitExistencePSR.h:60
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
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 DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
class DtLimitExistencePSR:
Definition: limitExistencePSR.h:18
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)