VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cruiseMissileLaunchControllerDescriptor.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 "readerWriter/rwVector.h"
16 #include <vrfutil/rwEntityType.h>
17 #include <readerWriter/rwString.h>
18 #include "vrfutil/rwTaitBryan.h"
19 #include <readerWriter/rwReal.h>
22 
27 {
28 public:
31  DtReaderWriterRegistry * parentRegistry = 0);
32 
35  orig, DtReaderWriterRegistry * parentRegistry = 0);
36 
40 
43 
46  virtual DtString type() const override;
47 
50  virtual DtEntityType munitionType() const;
51  virtual void setMunitionType(const DtEntityType& objType);
53 
56  virtual DtString munitionName() const;
57  virtual void setMunitionName(const DtString& name);
59 
62  virtual DtVector launchOffset() const;
63  virtual void setLaunchOffset(const DtVector& offset);
65 
68  virtual DtTaitBryan launchOrientation() const;
69  virtual void setLaunchOrientation(const DtTaitBryan& orient);
71 
74  virtual DtReal initialSpeed() const;
75  virtual void setInitialSpeed(const DtReal speed);
77 
80  virtual DtReal minTimeBetweenLaunch() const;
81  virtual void setMinTimeBetweenLaunch(DtReal time);
83 
86  virtual DtReal cruiseMissileRangeRingRange() const;
87  virtual void setCruiseMissileRangeRingRange(DtReal time);
89 
92  virtual const DtString& rangeName() const;
93  virtual void setRangeName(const DtString& rangeName);
95 
98  virtual int munitionBin() const;
99  virtual void setMunitionBin(int minRange);
101 
104  virtual int rangeId() const;
105  virtual void setRangeId(int rangeId);
106  virtual bool rangeIdIsSpecified() const;
108 
109  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
110 
113  virtual const DtTargetingControlTable& targetingControlTable() const;
114  virtual DtTargetingControlTable& targetingControlTable();
116 
119  virtual void postGetSelf() override;
120 
122  static DtComponentDescriptor* creator();
123 
124 private:
127 
128 protected:
129 
133 
139 
146 
154 
161 
169 
175 
181 
186 
192 
200 
205 
207 };
DtRwReal myInitialSpeed
Parameter Name: initial-speed Parameter Description: Initial speed when launched, in the direction of...
Definition: cruiseMissileLaunchControllerDescriptor.h:168
DtCruiseMissileLaunchControllerDescriptor; descriptor for the DtCruiseMissileLaunchController compone...
Definition: cruiseMissileLaunchControllerDescriptor.h:26
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwTaitBryan myLaunchOrientation
Parameter Name: launch-orientation Parameter Description: Initial orientation (relative to the launch...
Definition: cruiseMissileLaunchControllerDescriptor.h:160
virtual void postGetSelf()
Called after either version of getSelf (mtl or environment). Default is no-op.
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:49
Description: Readable, Writable DtTaitBryan.
Definition: rwTaitBryan.h:20
Definition: readerWriterRegistry.h:39
DtRwInt myMunitionBin
Parameter Name: munition-bin Parameter Description: The number of the resource bin to look for muniti...
Definition: cruiseMissileLaunchControllerDescriptor.h:204
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtRwString myRangeName
Parameter Name: range-name Parameter Description: Deprecated. The name of the range ring...
Definition: cruiseMissileLaunchControllerDescriptor.h:185
Contains the DtRwTaitBryan class declaration.
DtRwInt myRangeId
Parameter Name: range-id Parameter Description: The identifying value for this range ring...
Definition: cruiseMissileLaunchControllerDescriptor.h:191
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwReal myMinTimeBetweenLaunch
Parameter Name: min-time-between-launch Parameter Description: Minimum time between cruise missile la...
Definition: cruiseMissileLaunchControllerDescriptor.h:174
DtRwOffsetVector myLaunchOffset
Parameter Name: launch-offset Offset from orgin of launch vehicle where the missile will be created...
Definition: cruiseMissileLaunchControllerDescriptor.h:153
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtTargetingControlTable myTargetingControlTable
Parameter Name: targeting-control-table Parameter Description: The table that will specify ammunition...
Definition: cruiseMissileLaunchControllerDescriptor.h:199
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
File: rwEntType.h.
Definition: rwEntityType.h:26
DtRwString myMunitionName
Parameter Name: munition-name Parameter Description: Name of munition used to check for quantity in ...
Definition: cruiseMissileLaunchControllerDescriptor.h:145
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Specialized vector that can be used for the knowledge of an &quot;offset&quot; rather than location vector...
Definition: rwVector.h:112
static DtComponentDescriptor * creator()
DtRwReal myCruiseMissileRangeRingRange
Parameter Name: cruise-missile-range-ring-range Parameter Description: Size of the range ring to disp...
Definition: cruiseMissileLaunchControllerDescriptor.h:180
voidpf uLong offset
Definition: ioapi.h:42
Definition: targetingControlTable.h:19
File: rwVector.h.
DtRwEntityType myMunitionType
Parameter Name: munition-type Parameter Description: Object type used to create the missile when it ...
Definition: cruiseMissileLaunchControllerDescriptor.h:138

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)