VR-Forces 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 
40  virtual ~DtFixedWingGunneryControllerDescriptor() override;
41 
44  virtual DtString type() const override;
45 
46  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = NULL) const override;
47 
49 
50  virtual bool checkLOS() const;
51  virtual void setCheckLOS(bool checkLOSFlag);
53 
55 
56  virtual double maxAlignmentAngle() const;
57  virtual void setMaxAlightmentAngle(double angle);
59 
61 
62  virtual double entryAltitude() const;
63  virtual void setEntryAltitude(const double agl);
65 
67 
68  virtual double entryAirspeed() const;
69  virtual void setEntryAirspeed(const double speed);
71 
74 
75  virtual double diveAngle() const;
76  virtual void setDiveAngle(const double angle);
78 
80 
81  virtual double strafeRange() const;
82  virtual void setStrafeRange(const double range);
84 
86 
87  virtual double aaEngageRange() const;
88  virtual void setAaEngageRange(const double range);
90 
92 
93  virtual double aaBreakoffRange() const;
94  virtual void setAaBreakoffRange(const double range);
96 
97 
100 
101 protected:
104 
105 protected:
109 
116 
125 
132 
138 
145 
152 
159 
166 
168 
170 
171 };
172 
DtRwBoolean myCheckLOS
Parameter Name: check-LOS Parameter Description: Determines whether any checks are done to see if the...
Definition: fixedWingGunneryControllerDescriptor.h:115
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtRwReal myEntryAltitude
Parameter Name: entry-altitude Parameter Description: The altitude (AGL) at which to begin a strafing...
Definition: fixedWingGunneryControllerDescriptor.h:131
#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:165
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:124
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:137
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:151
DtRwReal myDiveAngle
Parameter Name: dive-angle Parameter Description: The angle at which to perform a strafing attack...
Definition: fixedWingGunneryControllerDescriptor.h:144
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:158

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)