VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
indirectFireControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include "vrfutil/rwStringList.h"
16 #include <readerWriter/rwReal.h>
17 #include <readerWriter/rwInt.h>
18 #include <readerWriter/rwBoolean.h>
19 #include "vrfutil/simMunition.h"
22 
32 {
33 public:
36  DtReaderWriterRegistry * parentRegistry = NULL);
38  DtReaderWriterRegistry * parentRegistry = NULL);
39 
43  DtReaderWriterRegistry* parentRegistry = NULL);
44 
48 
51 
54  virtual DtString type() const;
56 
59  virtual const DtString& weaponName() const;
60  virtual void setWeaponName(const DtString& name);
62 
65  virtual const DtRwStringList & defaultAmmoList() const;
66  virtual void setDefaultAmmoList(const DtRwStringList & list);
68 
71  virtual int numRoundsPerMission() const;
72  virtual void setNumRoundsPerMission(int numRoundsPerMission);
74 
77  virtual bool enforceRangeLimits() const;
78  virtual void setEnforceRangeLimits(bool limit);
80 
83  virtual bool allowVelocityVariation() const;
84  virtual void setAllowVelocityVariation(bool allow);
86 
89  virtual const DtNLengthRealVector& muzzleSpeedList() const;
90  virtual void setMuzzleSpeedList(const DtNLengthRealVector& muzzleSpeeds);
92 
95  virtual const DtString& rangeName() const;
96  virtual void setRangeName(const DtString& rangeName);
98 
101  virtual DtReal minRange() const;
102  virtual void setMinRange(DtReal minRange);
104 
107  virtual DtReal maxRange() const;
108  virtual void setMaxRange(DtReal maxRange);
110 
113  virtual DtReal minAltitude() const;
114  virtual void setMinAltitude(DtReal minAlt);
116 
119  virtual DtReal maxAltitude() const;
120  virtual void setMaxAltitude(DtReal maxAlt);
122 
125  virtual DtReal preferredAltitude() const;
126  virtual void setPreferredAltitude(DtReal prefAlt);
128 
131  virtual bool isDirectAlignmentCapable() const;
132  virtual void setIsDirectAlignmentCapable(bool direct);
134 
135  virtual DtComponentDescriptor* clone(
136  DtReaderWriterRegistry* parentRegistry = NULL) const;
137 
139  static DtComponentDescriptor* creator();
140 
143  virtual const DtTargetingControlTable& targetingControlTable() const;
144  virtual DtTargetingControlTable& targetingControlTable();
146 
148  virtual void postGetSelf();
149 
150 protected:
153 
154 protected:
155 
159 
164 
170 
179 
184 
189 
199 
206 
213 
222 
227 
233 
242 
250 
257 
259 };
DtBaseWeaponControllerDescriptor & operator=(const DtBaseWeaponControllerDescriptor &orig)
assignment
static DtComponentDescriptor * creator()
DtNLengthRealVector myMuzzleSpeedList
Parameter Name: muzzle-speed-list Parameter Description: Specifies a discrete list of muzzle speeds t...
Definition: indirectFireControllerDescriptor.h:198
Definition: symbolString.h:20
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtIndirectFireControllerDescriptor; descriptor for the DtIndirectFireController compenent.
Definition: indirectFireControllerDescriptor.h:30
virtual void postGetSelf()
Called after either version of getSelf (mtl or environment). Default is no-op.
DtRwBoolean myAllowVelocityVariation
Parameter Name: allow-velocity-variation In some instances the user might to define an initial muzzle...
Definition: indirectFireControllerDescriptor.h:249
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
This file contains the class declaration for the.
DtRwReal myMaxAltitude
Parameter Name: max-altitude Parameter Description: Maximum altitude above the shooter or target (whi...
Definition: indirectFireControllerDescriptor.h:212
DtRwReal myPreferredAltitude
Parameter Name: preferred-altitude Parameter Description: Preferred altitude above the shooter or tar...
Definition: indirectFireControllerDescriptor.h:221
DtTargetingControlTable myTargetingControlTable
Parameter Name: targeting-control-table Parameter Description: The table that will specify ammunition...
Definition: indirectFireControllerDescriptor.h:256
DtRwInt myNumRoundsPerMission
Parameter Name: num-rounds-per-mission Parameter Description: Default number of rounds to fire (if th...
Definition: indirectFireControllerDescriptor.h:169
DtRwString myWeaponDisplayName
Parameter Name: weapon-name Parameter Description: User friendly name associated this weapon...
Definition: indirectFireControllerDescriptor.h:232
DtRwReal myMinRange
Parameter Name: min-range Parameter Description: Minimum range of the weapon.
Definition: indirectFireControllerDescriptor.h:183
DtRwReal myMaxRange
Parameter Name: max-range Parameter Description: Maximum range of the weapon.
Definition: indirectFireControllerDescriptor.h:188
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwReal myMinAltitude
Parameter Name: min-altitude Parameter Description: Minimum altitude above the shooter or target (whi...
Definition: indirectFireControllerDescriptor.h:205
Description: DtNLengthRealVector is a named, readable/writable vector of integers of arbitrary length...
Definition: nLengthRealVector.h:26
DtBaseWeaponControllerDescriptor; descriptor for the DtBaseWeaponController component.
Definition: baseWeaponControllerDescriptor.h:30
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwBoolean myEnforceRangeLimits
Parameter Name: enforce-range-limits Parameter Description: User can choose to enforce minimum and ma...
Definition: indirectFireControllerDescriptor.h:178
DtRwBoolean myDirectAlignmentCapable
Parameter Name: capable-of-direct-alignment Parameter Description: Is this indirect fire weapon capab...
Definition: indirectFireControllerDescriptor.h:241
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
Definition: rwStringList.h:20
virtual DtString type() const
Returns the type of component this descriptor describes.
DtRwString myRangeName
Parameter Name: range-name Parameter Description: Name given to any range item associated with this d...
Definition: indirectFireControllerDescriptor.h:226
Definition: targetingControlTable.h:20
DtRwStringList myDefaultAmmoList
Parameter Name: default-ammo-list Parameter Description: Lists the types of ammunition available...
Definition: indirectFireControllerDescriptor.h:163
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)