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) 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 
134  virtual const DtRwStringList& launchableResources() const;
135  virtual void setLaunchableResources(const DtRwStringList& resourceList);
137 
139  static DtComponentDescriptor * creator();
140 
141 protected:
144 
145 protected:
146 
150 
158 
164 
170 
176 
182 
188 
193 
199 
206 
218 
225 
229 
231 };
232 
DtRwTaitBryan myLaunchOrientation
Parameter Name: launch-orientation Parameter Description: //! Initial orientation (relative to the la...
Definition: launchExpendableResourceControllerDescriptor.h:224
DtRwReal myAutoLaunchResourceInterval
Parameter Name: auto-launch-resource-interval Parameter Description: The default time between each re...
Definition: launchExpendableResourceControllerDescriptor.h:187
#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:163
DtRwOffsetVector myLauncherOffset
Parameter Name: launcher-offset Offset from origin of launch vehicle where the resource object will b...
Definition: launchExpendableResourceControllerDescriptor.h:217
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:49
DtRwReal myAutoLaunchResetTime
Parameter Name: auto-launch-reset-time Parameter Description: Time between auto launch tasks Paramete...
Definition: launchExpendableResourceControllerDescriptor.h:169
Description: Readable, Writable DtTaitBryan.
Definition: rwTaitBryan.h:20
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:175
DtRwReal myProjectileStartSpeed
Parameter Name: projectile-start-speed Parameter Description: Used in calculating the projectile velo...
Definition: launchExpendableResourceControllerDescriptor.h:205
Contains the DtRwTaitBryan class declaration.
DtRwStringList myLaunchableResources
Parameter Name: launchable-resources Parameter Description: The resources that can be launched by thi...
Definition: launchExpendableResourceControllerDescriptor.h:228
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:157
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
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:198
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:109
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()
Definition: rwStringList.h:20
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:192
DtRwInt myAutoLaunchResourceAmount
Parameter Name: auto-launch-number-of-resources Parameter Description: The default number of resource...
Definition: launchExpendableResourceControllerDescriptor.h:181

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)