VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tdlMessageGeneratorControllerPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 #include <readerWriter/rwReal.h>
11 #include <readerWriter/rwBoolean.h>
12 
15 
18 {
19 public:
22  const DtString& rwName = DtString::nullString(),
23  DtReaderWriterRegistry* parentRegistry = 0);
26  const DtString& rwName = DtString::nullString(),
27  DtReaderWriterRegistry* parentRegistry = 0);
32 
34  virtual DtVrfProcessStateRepository* clone(const DtString& rwName = DtString::nullString(),
35  DtReaderWriterRegistry* parentRegistry = 0) const;
37  virtual DtString type() const;
38 
40  static DtVrfProcessStateRepository* creator(const DtString& rwName,
41  DtLocalObject* vrfObject,
42  DtReaderWriterRegistry* parentRegistry = 0);
43 
46  virtual double dateTimeSent() const;
47  virtual void setDateTimeSent(double);
49 
53  virtual bool localEnabled() const;
54  virtual void setLocalEnabled(bool localEnabled);
56 
60  virtual bool globalEnabledOverridingLocal() const;
61  virtual void setGlobalEnabledOverridingLocal(bool globalEnabled);
63 
64 protected:
66 
69 };
Process State Repository for a DtTDLMessageGeneratorController.
Definition: tdlMessageGeneratorControllerPSR.h:17
Definition: readerWriterRegistry.h:39
DtRwReal myDateTimeSent
Definition: tdlMessageGeneratorControllerPSR.h:65
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtRwBoolean myLocalEnabled
Definition: tdlMessageGeneratorControllerPSR.h:67
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
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwBoolean myGlobalEnabledOverridingLocal
Definition: tdlMessageGeneratorControllerPSR.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)