VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tacanComponentPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <readerWriter/rwBoolean.h>
13 #include <readerWriter/rwReal.h>
14 #include <readerWriter/rwInt.h>
15 #include <readerWriter/rwString.h>
16 
17 
18 #include <vlpi/disEnums.h>
19 
24 
27 {
28 public:
29  enum PulseModulationType {XBandTACANPulse = 2, YBandTACANPulse = 3};
30 
33  const DtString& rwName = DtString::nullString(),
34  DtReaderWriterRegistry* parentRegistry = 0);
35 
38  const DtString& rwName = DtString::nullString(),
39  DtReaderWriterRegistry* parentRegistry = 0);
40 
42  virtual ~DtTacanComponentPSR();
43 
46 
49  const DtString& rwName = DtString::nullString(),
50  DtReaderWriterRegistry* parentRegistry = 0) const;
51 
53  virtual DtString type() const;
54 
56  virtual void setOperationalStatus(DtRadioTransmitState opStatus);
58  virtual DtRadioTransmitState operationalStatus() const;
59 
61  virtual void setIdCode(const DtString& idCode);
63  virtual DtString idCode() const;
64 
66  virtual void setPulseModulationType(PulseModulationType pulseModType);
68  virtual PulseModulationType pulseModulationType() const;
69 
71  virtual void setFrequency(double frequency);
73  virtual double frequency() const;
74 
75 public:
76 
78  static DtVrfProcessStateRepository* creator(const DtString& rwName,
79  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
80 
81 protected:
86 };
DtRwString myIdCode
Definition: tacanComponentPSR.h:83
DtRwInt myOperationalStatus
Definition: tacanComponentPSR.h:82
class DtTacanComponentPSR:
Definition: tacanComponentPSR.h:26
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
PulseModulationType
Definition: tacanComponentPSR.h:29
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
DtRwInt myPulseModulationType
Definition: tacanComponentPSR.h:84
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
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
DtRwReal myFrequency
Definition: tacanComponentPSR.h:85
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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)