VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
launchExpendableResourceControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
16 
17 #include <readerWriter/rwReal.h>
18 #include <readerWriter/rwBoolean.h>
19 #include "readerWriter/rwVector.h"
20 #include "vrfutil/rwTaitBryan.h"
21 #include <readerWriter/rwInt.h>
23 #include "vrfutil/rwResource.h"
27 
28 //Vrlink includes
29 #include <vlpi/disEnums.h>
30 
39 
41 {
42 public:
46  DtReaderWriterRegistry * parentRegistry = 0);
47 
50  orig, DtReaderWriterRegistry * parentRegistry = 0);
51 
55 
58 
61  virtual DtString type() const override;
62 
63  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
64 
67  virtual DtReal projectileStartSpeed() const;
68  virtual void setProjectileStartSpeed(DtReal startSpeed);
70 
73  virtual DtVector launcherOffset() const;
74  virtual void setLauncherOffset(const DtVector& offset);
76 
79  virtual DtTaitBryan launchOrientation() const;
80  virtual void setLaunchOrientation(const DtTaitBryan& orient);
82 
85  virtual bool autoLaunchEnabled() const;
86  virtual void setAutoLaunchEnabled(bool enable);
88 
91  virtual const double autoLaunchRange() const;
92  virtual void setAutoLaunchRange(const double range);
94 
97  virtual const double autoLaunchResetTime() const;
98  virtual void setAutoLaunchResetTime(const double time);
100 
103  virtual const DtEntityType& autoLaunchResource() const;
104  virtual void setAutoLaunchResource(const DtEntityType& Name);
106 
109  virtual const int autoLaunchResourceAmount() const;
110  virtual void setAutoLaunchResourceAmount(const int amount);
112 
115  virtual const double autoLaunchResourceInterval() const;
116  virtual void setAutoLaunchResourceInterval(const double interval);
118 
121  virtual const DtAmmoSelectTable& counterMeasuresSelectTable() const;
122  virtual void setCounterMeasuresSelectTable(const DtAmmoSelectTable& table);
124 
127  virtual void setCounterMeasuresSelectTableFilename(const DtString& filename);
128  virtual const DtString& counterMeasuresSelectTableFilename();
130 
133  virtual const LaunchableResources& launchableResources() const;
134  virtual void setLaunchableResources(const LaunchableResources& resourceList);
136 
138  static DtComponentDescriptor * creator();
139 
140 protected:
143 
144 protected:
145 
149 
157 
163 
169 
175 
181 
187 
192 
198 
205 
217 
224 
229 };
230 
DtRwTaitBryan myLaunchOrientation
Parameter Name: launch-orientation Parameter Description: //! Initial orientation (relative to the la...
Definition: launchExpendableResourceControllerDescriptor.h:223
DtRwReal myAutoLaunchResourceInterval
Parameter Name: auto-launch-resource-interval Parameter Description: The default time between each re...
Definition: launchExpendableResourceControllerDescriptor.h:186
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myAutoLaunchRange
Parameter Name: auto-launch-range Parameter Description: Range within which the auto launcher will be...
Definition: launchExpendableResourceControllerDescriptor.h:162
DtRwOffsetVector myLauncherOffset
Parameter Name: launcher-offset Offset from origin of launch vehicle where the resource object will b...
Definition: launchExpendableResourceControllerDescriptor.h:216
DtLaunchExpendableResourceControllerDescriptor; descriptor for the DtLaunchExpendableResourceControll...
Definition: launchExpendableResourceControllerDescriptor.h:40
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtRwReal myAutoLaunchResetTime
Parameter Name: auto-launch-reset-time Parameter Description: Time between auto launch tasks Paramete...
Definition: launchExpendableResourceControllerDescriptor.h:168
Description: Readable, Writable DtTaitBryan.
Definition: rwTaitBryan.h:20
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtRwReal myProjectileStartSpeed
Parameter Name: projectile-start-speed Parameter Description: Used in calculating the projectile velo...
Definition: launchExpendableResourceControllerDescriptor.h:204
Contains the DtRwTaitBryan class declaration.
DtRwResource myAutoLaunchResource
Parameter Name: auto-launch-default-resource Parameter Description: Name of resource to use in the au...
Definition: launchExpendableResourceControllerDescriptor.h:174
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwBoolean myAutoLaunchEnabled
Parameter Name: auto-launch-enabled Parameter Description: When enabled the controller will check for...
Definition: launchExpendableResourceControllerDescriptor.h:156
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
LaunchableResources myLaunchableResources
Parameter Name: launchable-resources Parameter Description: The resources that can be launched by thi...
Definition: launchExpendableResourceControllerDescriptor.h:227
DtAmmoSelectTable is a readable/writable list of DtAmmoSelectEntrys. It&#39;s sorted by the entity type i...
Definition: ammoSelectTable.h:27
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtAmmoSelectTable myCMSelectTable
Parameter Name: counter-measures-select-table Parameter Description: Table that provides a list of co...
Definition: launchExpendableResourceControllerDescriptor.h:197
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
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()
voidpf uLong offset
Definition: ioapi.h:42
Using a DtReaderWriterFile allows a DtReaderWriter object to be read in from an MTL stream contained ...
Definition: readerWriterFile.h:35
This class will read in an old resource by name and convert it to the type, or, just read it as type...
Definition: rwResource.h:12
File: rwVector.h.
DtReaderWriterFile myCMSelectTableFile
Parameter Name: counter-measures-select-table-file Parameter Description: Filename used for the count...
Definition: launchExpendableResourceControllerDescriptor.h:191
DtRwInt myAutoLaunchResourceAmount
Parameter Name: auto-launch-number-of-resources Parameter Description: The default number of resource...
Definition: launchExpendableResourceControllerDescriptor.h:180

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)