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 
38  virtual ~DtSuppressionActuatorDescriptor() override;
39 
42  virtual DtString type() const override;
43 
44  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = NULL) const override;
45 
47  virtual bool init() override;
48 
51 
54  virtual double insultToSuppress()const;
55  virtual void setInsultToSuppress(const double i);
57 
60  virtual double recoveryTime()const;
61  virtual void setRecoveryTime(const double t);
63 
66  virtual bool hostileFireOnly()const;
67  virtual void setHostileFireOnly(const bool );
69 
72  virtual bool passingRoundsSuppress()const;
73  virtual void setPassingRoundsSuppress(const bool );
75 
80  virtual double maxDetonationRange()const;
81  virtual void setMaxDetonationRange(const double );
83 
85  virtual const DtDmgMunitionTable* damageModel() const;
86 
87  bool munitionInExceptionList(const DtEntityType& munitionType);
88 
89 protected:
92 
93 protected:
97 
105 
112 
120 
128 
135 
141 
146 
148  };
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
#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...
class DtRwEntityTypeList:
Definition: rwEntityTypeList.h:23
DtRwReal myRecoveryTime
Parameter Name: suppression-recovery-time Parameter Description: The time required to recover from su...
Definition: suppressionActuatorDescriptor.h:111
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 DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
DtRwEntityTypeList myMunitionTypesExceptionList
Parameter Name: munition-types-exception-list Parameter Description: List of munitions types that sho...
Definition: suppressionActuatorDescriptor.h:145
DtRwReal myMaxDetonationRange
Parameter Name: max-detonation-distance-for-passing-rounds Parameter Description: The maximum range o...
Definition: suppressionActuatorDescriptor.h:134
DtRwBoolean myHostileFireOnly
Parameter Name: hostile-fire-only Parameter Description: If true, then detonations only cause suppres...
Definition: suppressionActuatorDescriptor.h:119
DtRwBoolean myPassingRoundsSuppress
Parameter Name: passing-rounds-suppress Parameter Description: If true, then rounds passing by the en...
Definition: suppressionActuatorDescriptor.h:127
DtRwReal myInsultToSuppress
Parameter Name: suppression-insult-level Parameter Description: The quantity of accumulated insult re...
Definition: suppressionActuatorDescriptor.h:104
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
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:140

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)