VR-Forces 4.10 Class Documentation
 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"
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;
47 
50  virtual DtObjectType munitionType() const;
51  virtual void setMunitionType(const DtObjectType& 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 rangeId() const;
99  virtual void setRangeId(int rangeId);
100  virtual bool rangeIdIsSpecified() const;
102 
103  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
104  = 0) const;
105 
108  virtual const DtTargetingControlTable& targetingControlTable() const;
109  virtual DtTargetingControlTable& targetingControlTable();
111 
114  virtual void postGetSelf();
115 
117  static DtComponentDescriptor* creator();
118 
119 private:
122 
123 protected:
124 
128 
134 
141 
149 
156 
164 
170 
176 
181 
187 
195 
197 };
DtRwReal myInitialSpeed
Parameter Name: initial-speed Parameter Description: Initial speed when launched, in the direction of...
Definition: cruiseMissileLaunchControllerDescriptor.h:163
DtCruiseMissileLaunchControllerDescriptor; descriptor for the DtCruiseMissileLaunchController compone...
Definition: cruiseMissileLaunchControllerDescriptor.h:26
class DtRwObjectType:
Definition: rwObjectType.h:18
#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:155
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:42
File: rwTaitBryan.h.
Definition: rwTaitBryan.h:24
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
Definition: objectType.h:27
DtRwString myRangeName
Parameter Name: range-name Parameter Description: Deprecated.
Definition: cruiseMissileLaunchControllerDescriptor.h:180
DtRwInt myRangeId
Parameter Name: range-id Parameter Description: The identifying value for this range ring...
Definition: cruiseMissileLaunchControllerDescriptor.h:186
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:169
DtRwOffsetVector myLaunchOffset
Parameter Name: launch-offset Offset from orgin of launch vehicle where the missile will be created...
Definition: cruiseMissileLaunchControllerDescriptor.h:148
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:194
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwString myMunitionName
Parameter Name: munition-name Parameter Description: Name of munition used to check for quantity in ...
Definition: cruiseMissileLaunchControllerDescriptor.h:140
virtual DtString type() const
Returns the type of component this descriptor describes.
Specialized vector that can be used for the knowledge of an &quot;offset&quot; rather than location vector...
Definition: rwVector.h:109
static DtComponentDescriptor * creator()
DtRwReal myCruiseMissileRangeRingRange
Parameter Name: cruise-missile-range-ring-range Parameter Description: Size of the range ring to disp...
Definition: cruiseMissileLaunchControllerDescriptor.h:175
voidpf uLong offset
Definition: ioapi.h:42
DtRwObjectType myMunitionType
Parameter Name: munition-type Parameter Description: Object type used to create the missile when it ...
Definition: cruiseMissileLaunchControllerDescriptor.h:133
Definition: targetingControlTable.h:20
File: rwVector.h.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)