VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
emitterPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <readerWriter/rwBoolean.h>
13 #include <readerWriter/rwString.h>
15 #include "vrfobjcore/simObject.h"
17 
22 
25 {
26 public:
27 
29  DtEmitterPSR(DtLocalObject* vrfObject,
30  const DtString& rwName = DtString::nullString(),
31  DtReaderWriterRegistry* parentRegistry = 0);
32 
34  DtEmitterPSR(const DtEmitterPSR& orig,
35  const DtString& rwName = DtString::nullString(),
36  DtReaderWriterRegistry* parentRegistry = 0);
37 
39  virtual ~DtEmitterPSR();
40 
42  DtEmitterPSR& operator=(const DtEmitterPSR& orig);
43 
46  const DtString& rwName = DtString::nullString(),
47  DtReaderWriterRegistry* parentRegistry = 0) const;
48 
51  virtual DtString type() const;
52 
54  virtual void setOn(bool on);
56  virtual bool on() const;
57 
59  virtual void setRadarMode(const DtString& mode);
61  virtual DtString radarMode() const;
62 
64  virtual void setUseHighDensityTracking(bool useHdMode);
66  virtual bool useHighDensityTracking() const;
67 
69  virtual void setUseHighDensityJamming(bool useHdMode);
71  virtual bool useHighDensityJamming() const;
72 
75  virtual bool currentlyTracking(const DtUUID&);
76  virtual bool currentlyJamming(const DtUUID&);
78 
81  virtual DtSimObjectReference findTracked(const DtUUID&);
82  virtual DtSimObjectReference findJammed(const DtUUID&);
84 
87  virtual const DtRwSimObjectReferenceList& trackingTargets() const;
88  virtual DtRwSimObjectReferenceList& trackingTargets();
90 
93  virtual const DtRwSimObjectReferenceList& jammingTargets() const;
94  virtual DtRwSimObjectReferenceList& jammingTargets();
96 
97 public:
98 
100  static DtVrfProcessStateRepository* creator (const DtString& rwName,
101  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
102 
103 protected:
108 
111 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
DtRwBoolean myOn
Definition: emitterPSR.h:104
If you use a list of object names to archive which objects are part of a controller (or any object) u...
Definition: simObjectReferenceList.h:122
DtRwString myRadarMode
Definition: emitterPSR.h:107
DtRwSimObjectReferenceList myJammingTargets
Definition: emitterPSR.h:110
DtRwBoolean myUseHighDensityTracking
Definition: emitterPSR.h:105
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
class DtEmitterPSR:
Definition: emitterPSR.h:24
Definition: readerWriterRegistry.h:39
DtRwSimObjectReferenceList myTrackingTargets
Definition: emitterPSR.h:109
#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
DtRwBoolean myUseHighDensityJamming
Definition: emitterPSR.h:106
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
const char int mode
Definition: ioapi.h:38
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 Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)