VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
componentSystemPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
16 #include <readerWriter/rwBoolean.h>
17 
22 {
23 
24 private:
27 
28 public:
29 
31  const DtString& rwName = DtString::nullString(),
32  DtReaderWriterRegistry* parentRegistry = 0);
33 
35  const DtString& rwName = DtString::nullString(),
36  DtReaderWriterRegistry* parentRegistry = 0);
37 
39  const DtComponentSystemPSR& orig);
40 
41  virtual ~DtComponentSystemPSR() override;
42 
44  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
45 
47  virtual DtString type() const override;
48 
49  virtual DtVrfProcessStateRepositoryManager* processStateRepositoryManager();
50 
51  virtual bool isEnabled();
52  virtual void setIsEnabled(bool yesNo);
53 
55  static DtVrfProcessStateRepository* creator(const DtString& name,
56  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
57 
58 protected:
59  virtual void preGetSelf() override;
60  virtual void postGetSelf() override;
61 
62 protected:
65 };
virtual void postGetSelf()
Called after either version of getSelf (mtl or environment). Default is no-op.
DtRwBoolean myAmEnabled
Definition: componentSystemPSR.h:64
Definition: readerWriterRegistry.h:39
class DtVrfProcessStateRepositoryManager:
Definition: vrfProcessStateRepositoryManager.h:49
#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
virtual void preGetSelf()
Called before either version of get self (file or environment). Default is no-op. ...
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
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtComponentSystemPSR.
Definition: componentSystemPSR.h:21
DtVrfProcessStateRepositoryManager myPSRManager
Definition: componentSystemPSR.h:63
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)