VR-Forces 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() override;
34 
37 
40  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
41 
43  virtual DtString type() const override;
44 
46  virtual void setElapsedTime(double time);
47  virtual double elapsedTime() const;
48 
49 public:
50 
52  static DtVrfProcessStateRepository* creator (const DtString& rwName,
53  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
54 
55 protected:
56 
60 };
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:59
#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 psrTypes.h.
class DtLimitExistencePSR:
Definition: limitExistencePSR.h:18
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
A locally simulated VRF object.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)