VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
suppressionActuatorDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 
9 
10 #pragma once
11 
13 #include <readerWriter/rwReal.h>
16 
17 
22 {
23 public:
26  DtReaderWriterRegistry* parentRegistry = NULL);
27 
31  DtReaderWriterRegistry* parentRegistry = NULL);
32 
36 
39 
42  virtual DtString type() const;
43 
45  DtReaderWriterRegistry* parentRegistry = NULL) const;
46 
48  virtual bool init();
49 
52 
55  virtual double insultToSuppress()const;
56  virtual void setInsultToSuppress(const double i);
58 
61  virtual double recoveryTime()const;
62  virtual void setRecoveryTime(const double t);
64 
67  virtual bool hostileFireOnly()const;
68  virtual void setHostileFireOnly(const bool );
70 
73  virtual bool passingRoundsSuppress()const;
74  virtual void setPassingRoundsSuppress(const bool );
76 
81  virtual double maxDetonationRange()const;
82  virtual void setMaxDetonationRange(const double );
84 
86  virtual const DtDmgMunitionTable* damageModel() const;
87 
88  bool munitionInExceptionList(const DtEntityType& munitionType);
89 
90 protected:
93 
94 protected:
98 
106 
113 
121 
129 
136 
142 
147 
149  };
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtRwObjectTypeList myMunitionTypesExceptionList
Parameter Name: munition-types-exception-list Parameter Description: List of munitions types that sho...
Definition: suppressionActuatorDescriptor.h:146
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
virtual bool init()
Base class init does nothing, but will be called by createComponentDescriptor(), allowing derived cla...
DtRwReal myRecoveryTime
Parameter Name: suppression-recovery-time Parameter Description: The time required to recover from su...
Definition: suppressionActuatorDescriptor.h:112
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtSuppressionActuatorDescriptor; descriptor for the DtDamageAdjudicationActuator component.
Definition: suppressionActuatorDescriptor.h:21
Definition: readerWriterRegistry.h:39
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
DtRwReal myMaxDetonationRange
Parameter Name: max-detonation-distance-for-passing-rounds Parameter Description: The maximum range o...
Definition: suppressionActuatorDescriptor.h:135
DtRwBoolean myHostileFireOnly
Parameter Name: hostile-fire-only Parameter Description: If true, then detonations only cause suppres...
Definition: suppressionActuatorDescriptor.h:120
DtRwBoolean myPassingRoundsSuppress
Parameter Name: passing-rounds-suppress Parameter Description: If true, then rounds passing by the en...
Definition: suppressionActuatorDescriptor.h:128
DtRwReal myInsultToSuppress
Parameter Name: suppression-insult-level Parameter Description: The quantity of accumulated insult re...
Definition: suppressionActuatorDescriptor.h:105
class DtRwObjectTypeList:
Definition: rwObjectTypeList.h:30
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
static DtComponentDescriptor * creator()
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtDmgMunitionTable is the parameter that specifies the damage model for an entity. An entity may choose not to have a damage model, so this class uses the setValueSpecified() capability of DtReaderWriter to support being an optional argument.
Definition: dmgMunitionTable.h:25
const DtDmgMunitionTable * myDamageModel
Parameter Name: damage-model Parameter Description: Table of munitions and their insult values for su...
Definition: suppressionActuatorDescriptor.h:141

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)