VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
genericPsr.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
14 
18 {
19 public:
20 
22  DtGenericPsr(DtLocalObject* vrfObject,
23  const DtString& rwName = DtString::nullString(),
24  DtReaderWriterRegistry* parentRegistry = 0);
25 
27  DtGenericPsr(const DtGenericPsr& orig,
28  const DtString& rwName = DtString::nullString(),
29  DtReaderWriterRegistry* parentRegistry = 0);
30 
32  virtual ~DtGenericPsr() override;
33 
35  DtGenericPsr& operator=(const DtGenericPsr& orig);
36 
39  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
40 
43  virtual DtString type() const override;
44 
45 public:
46 
48  static DtVrfProcessStateRepository* creator (const DtString& rwName,
49  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
50 
51  virtual DtRwProperties& properties();
52  virtual const DtRwProperties& properties() const;
53 
54 protected:
55 
58 };
DtRwProperties myProperties
The list of key/value properties for this PSR.
Definition: genericPsr.h:57
Definition: readerWriterRegistry.h:39
#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 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
A DtVrfProcessStateRepository subclass that keeps an arbitrary key/value pair set of data...
Definition: genericPsr.h:17
A list of properties. A DtPropertyInterface object that is a specialized version of DtRwVariableBindi...
Definition: rwProperties.h:122
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)