VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fixedWingGunneryControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include <readerWriter/rwReal.h>
17 
21 {
22 public:
25  DtReaderWriterRegistry* parentRegistry = NULL);
26 
28  DtReaderWriterRegistry* parentRegistry = NULL);
29 
33  DtReaderWriterRegistry* parentRegistry = NULL);
34 
38 
41 
44  virtual DtString type() const;
45 
47  DtReaderWriterRegistry* parentRegistry = NULL) const;
48 
50 
51  virtual bool checkLOS() const;
52  virtual void setCheckLOS(bool checkLOSFlag);
54 
56 
57  virtual double maxAlignmentAngle() const;
58  virtual void setMaxAlightmentAngle(double angle);
60 
62 
63  virtual double entryAltitude() const;
64  virtual void setEntryAltitude(const double agl);
66 
68 
69  virtual double entryAirspeed() const;
70  virtual void setEntryAirspeed(const double speed);
72 
75 
76  virtual double diveAngle() const;
77  virtual void setDiveAngle(const double angle);
79 
81 
82  virtual double strafeRange() const;
83  virtual void setStrafeRange(const double range);
85 
87 
88  virtual double aaEngageRange() const;
89  virtual void setAaEngageRange(const double range);
91 
93 
94  virtual double aaBreakoffRange() const;
95  virtual void setAaBreakoffRange(const double range);
97 
98 
100  static DtComponentDescriptor* creator();
101 
102 protected:
105 
106 protected:
110 
117 
126 
133 
139 
146 
153 
160 
167 
169 
171 
172 };
173 
DtRwBoolean myCheckLOS
Parameter Name: check-LOS Parameter Description: Determines whether any checks are done to see if the...
Definition: fixedWingGunneryControllerDescriptor.h:116
Definition: symbolString.h:20
DtRwReal myEntryAltitude
Parameter Name: entry-altitude Parameter Description: The altitude (AGL) at which to begin a strafing...
Definition: fixedWingGunneryControllerDescriptor.h:132
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtRwReal myAaBreakoffRange
Parameter Name: aa-breakoff-range Parameter Description: The (minimum) range below which a aerial gun...
Definition: fixedWingGunneryControllerDescriptor.h:166
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
DtRwReal myMaxAlignmentAngle
Parameter Name: max-alignment-angle Parameter Description: The maximum angle that between the gun bor...
Definition: fixedWingGunneryControllerDescriptor.h:125
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtRwReal myEntryAirspeed
Parameter Name: entry-airspeed Parameter Description: The airspeed at which to begin the strafing att...
Definition: fixedWingGunneryControllerDescriptor.h:138
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()
DtRwReal myStrafeRange
Parameter Name: strafe-range Parameter Description: The range from the target at which to begin the s...
Definition: fixedWingGunneryControllerDescriptor.h:152
DtRwReal myDiveAngle
Parameter Name: dive-angle Parameter Description: The angle at which to perform a strafing attack...
Definition: fixedWingGunneryControllerDescriptor.h:145
DtFixedWingGunneryControllerDescriptor, descriptor for the DtFixedWingGunneryController component...
Definition: fixedWingGunneryControllerDescriptor.h:20
DtRwReal myAaEngageRange
Parameter Name: aa-engage-range Parameter Description: The (maximum) range at which to engage another...
Definition: fixedWingGunneryControllerDescriptor.h:159

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)