VR-Forces 4.10 Class Documentation
 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) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: launchExpendableResourceCtlrDesc.h,v $ $Revision: 1.1 $ $State: Exp $
7 ** Created: 4/28/11 MEM
8 *******************************************************************************/
9 
12 
15 
16 #pragma once
17 
19 
20 #include <readerWriter/rwReal.h>
21 #include <readerWriter/rwBoolean.h>
22 #include "readerWriter/rwVector.h"
23 #include "vrfutil/rwTaitBryan.h"
24 #include <readerWriter/rwInt.h>
27 
28 //Vrlink includes
29 #include <vlpi/disEnums.h>
30 
39 
42 {
43 public:
46  DtReaderWriterRegistry * parentRegistry = 0);
47 
50  orig, DtReaderWriterRegistry * parentRegistry = 0);
51 
55 
58 
61  virtual DtString type() const;
62 
63  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
64  = 0) const;
65 
68  virtual DtReal projectileStartSpeed() const;
69  virtual void setProjectileStartSpeed(DtReal startSpeed);
71 
74  virtual DtVector launcherOffset() const;
75  virtual void setLauncherOffset(const DtVector& offset);
77 
80  virtual DtTaitBryan launchOrientation() const;
81  virtual void setLaunchOrientation(const DtTaitBryan& orient);
83 
86  virtual bool autoLaunchEnabled() const;
87  virtual void setAutoLaunchEnabled(bool enable);
89 
92  virtual const double autoLaunchRange() const;
93  virtual void setAutoLaunchRange(const double range);
95 
98  virtual const double autoLaunchResetTime() const;
99  virtual void setAutoLaunchResetTime(const double time);
101 
104  virtual const DtString& autoLaunchResource() const;
105  virtual void setAutoLaunchResource(const DtString & Name);
107 
110  virtual const int autoLaunchResourceAmount() const;
111  virtual void setAutoLaunchResourceAmount(const int amount);
113 
116  virtual const double autoLaunchResourceInterval() const;
117  virtual void setAutoLaunchResourceInterval(const double interval);
119 
122  virtual const DtAmmoSelectTable& counterMeasuresSelectTable() const;
123  virtual void setCounterMeasuresSelectTable(const DtAmmoSelectTable& table);
125 
128  virtual void setCounterMeasuresSelectTableFilename(const DtString& filename);
129  virtual const DtString& counterMeasuresSelectTableFilename();
131 
133  static DtComponentDescriptor * creator();
134 
135 protected:
138 
139 protected:
140 
144 
152 
158 
164 
170 
176 
182 
187 
193 
200 
212 
219 
221 };
222 
DtRwTaitBryan myLaunchOrientation
Parameter Name: launch-orientation Parameter Description: //! Initial orientation (relative to the la...
Definition: launchExpendableResourceControllerDescriptor.h:218
DtRwReal myAutoLaunchResourceInterval
Parameter Name: auto-launch-resource-interval Parameter Description: The default time between each re...
Definition: launchExpendableResourceControllerDescriptor.h:181
#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:157
DtRwOffsetVector myLauncherOffset
Parameter Name: launcher-offset Offset from orgin of launch vehicle where the resource object will be...
Definition: launchExpendableResourceControllerDescriptor.h:211
DtLaunchExpendableResourceControllerDescriptor; descriptor for the DtLaunchExpendableResourceControll...
Definition: launchExpendableResourceControllerDescriptor.h:41
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
DtRwReal myAutoLaunchResetTime
Parameter Name: auto-launch-reset-time Parameter Description: Time between autolaunch tasks Parameter...
Definition: launchExpendableResourceControllerDescriptor.h:163
File: rwTaitBryan.h.
Definition: rwTaitBryan.h:24
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtRwString myAutoLaunchResource
Parameter Name: auto-launch-default-resource Parameter Description: Name of resource to use in the au...
Definition: launchExpendableResourceControllerDescriptor.h:169
DtRwReal myProjectileStartSpeed
Parameter Name: projectile-start-speed Parameter Description: Used in calculating the projectile velo...
Definition: launchExpendableResourceControllerDescriptor.h:199
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:151
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtAmmoSelectTable is a readable/writable list of DtAmmoSelectEntrys.
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:192
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
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
File: rwVector.h.
DtReaderWriterFile myCMSelectTableFile
Parameter Name: counter-measures-select-table-file Parameter Description: Filename used for the count...
Definition: launchExpendableResourceControllerDescriptor.h:186
DtRwInt myAutoLaunchResourceAmount
Parameter Name: auto-launch-number-of-resources Parameter Description: The default number of resource...
Definition: launchExpendableResourceControllerDescriptor.h:175

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)