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 rangeId() const;
99  virtual void setRangeId(int rangeId);
100  virtual bool rangeIdIsSpecified() const;
102 
103  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
104 
107  virtual const DtTargetingControlTable& targetingControlTable() const;
108  virtual DtTargetingControlTable& targetingControlTable();
110 
113  virtual void postGetSelf() override;
114 
116  static DtComponentDescriptor* creator();
117 
118 private:
121 
122 protected:
123 
127 
133 
140 
148 
155 
163 
169 
175 
180 
186 
194 
196 };
DtRwReal myInitialSpeed
Parameter Name: initial-speed Parameter Description: Initial speed when launched, in the direction of...
Definition: cruiseMissileLaunchControllerDescriptor.h:162
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:154
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
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtRwString myRangeName
Parameter Name: range-name Parameter Description: Deprecated. The name of the range ring...
Definition: cruiseMissileLaunchControllerDescriptor.h:179
Contains the DtRwTaitBryan class declaration.
DtRwInt myRangeId
Parameter Name: range-id Parameter Description: The identifying value for this range ring...
Definition: cruiseMissileLaunchControllerDescriptor.h:185
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:168
DtRwOffsetVector myLaunchOffset
Parameter Name: launch-offset Offset from orgin of launch vehicle where the missile will be created...
Definition: cruiseMissileLaunchControllerDescriptor.h:147
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:193
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:139
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:174
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:132

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)