VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfobjparam
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
12
#include "
vrfobjparam/actuatorComponentDescriptor.h
"
13
#include "
vrfutil/rwReal.h
"
14
#include "
vrfobjparam/dmgMunitionTable.h
"
15
16
19
#include "
vrfobjparam/vrfobjparamDefines.h
"
20
class
DT_DLL_vrfobjparam
DtSuppressionActuatorDescriptor
:
public
DtActuatorComponentDescriptor
21
{
22
public
:
24
DtSuppressionActuatorDescriptor
(
const
DtSymbolString
& name,
25
DtReaderWriterRegistry
* parentRegistry = NULL);
26
28
DtSuppressionActuatorDescriptor
(
29
const
DtSuppressionActuatorDescriptor
& orig,
30
DtReaderWriterRegistry
* parentRegistry = NULL);
31
33
DtSuppressionActuatorDescriptor
&
operator=
(
34
const
DtSuppressionActuatorDescriptor
& orig);
35
37
virtual
~
DtSuppressionActuatorDescriptor
();
38
41
virtual
DtString
type
()
const
;
42
43
virtual
DtComponentDescriptor
*
clone
(
44
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
45
47
virtual
bool
init
();
48
50
static
DtComponentDescriptor
*
creator
();
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
protected
:
89
DtSuppressionActuatorDescriptor
();
90
91
protected
:
95
102
DtRwReal
myInsultToSuppress
;
103
109
DtRwReal
myRecoveryTime
;
110
117
DtRwBoolean
myHostileFireOnly
;
118
125
DtRwBoolean
myPassingRoundsSuppress
;
126
132
DtRwReal
myMaxDetonationRange
;
133
138
const
DtDmgMunitionTable
*
myDamageModel
;
139
141
};
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)