VR-Forces 5.0.2 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 /*******************************************************************************
6 ** $RCSfile: compSystemPSR.h,v $ $Revision: 1.2 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #ifndef compSystemPSR_h
15 #define compSystemPSR_h
16 
21 #include <readerWriter/rwBoolean.h>
22 
27 {
28 
29 private:
32 
33 public:
34 
36  const DtString& rwName = DtString::nullString(),
37  DtReaderWriterRegistry* parentRegistry = 0);
38 
40  const DtString& rwName = DtString::nullString(),
41  DtReaderWriterRegistry* parentRegistry = 0);
42 
44  const DtComponentSystemPSR& orig);
45 
46  virtual ~DtComponentSystemPSR();
47 
49  const DtString& rwName = DtString::nullString(),
50  DtReaderWriterRegistry* parentRegistry = 0) const;
51 
53  virtual DtString type() const;
54 
55  virtual DtVrfProcessStateRepositoryManager* processStateRepositoryManager();
56 
57  virtual DtSimResourceManager& resourceManager();
58  virtual const DtSimResourceManager& resourceManager() const;
59 
60  virtual bool isEnabled();
61  virtual void setIsEnabled(bool yesNo);
62 
64  static DtVrfProcessStateRepository* creator(const DtString& name,
65  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
66 
67 protected:
71 };
72 
73 #endif
DtSimResourceManager myResourceManager
Definition: componentSystemPSR.h:69
DtRwBoolean myAmEnabled
Definition: componentSystemPSR.h:70
class DtSimResourceManager:
Definition: simResourceManager.h:38
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
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:26
DtVrfProcessStateRepositoryManager myPSRManager
Definition: componentSystemPSR.h:68
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)