VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
holdPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 #include "readerWriter/rwReal.h"
11 
16 {
17 public:
19  DtHoldPSR(DtLocalObject* vrfObject,
20  const DtString& rwName = DtString::nullString(),
21  DtReaderWriterRegistry* parentRegistry = 0);
22 
24  DtHoldPSR(const DtHoldPSR& orig,
25  const DtString& rwName = DtString::nullString(),
26  DtReaderWriterRegistry* parentRegistry = 0);
27 
29  virtual ~DtHoldPSR() override;
30 
32  const DtHoldPSR& operator=(const DtHoldPSR& orig);
33 
36  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
37 
39  virtual DtString type() const override;
40 
42  static DtVrfProcessStateRepository* creator(const DtString& rwName,
43  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
44 
46  virtual double holdUntilTime() const;
47  virtual void setHoldUntilTime(double t);
48 
49 
50 protected:
51 
53 };
54 
Definition: readerWriterRegistry.h:39
DtRwReal myHoldUntilTime
Definition: holdPSR.h:52
#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
class DtHoldPSR:
Definition: holdPSR.h:15
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.
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)