VR-Forces 4.6.1 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
warheadDetonationActuatorDescriptor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: warheadDetActDesc.h,v $ $Revision: 1.7 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#ifndef DtWarheadDetonationActuatorDescriptor_H_
16
#define DtWarheadDetonationActuatorDescriptor_H_
17
18
#include "
vrfobjparam/actuatorComponentDescriptor.h
"
19
#include "
vrfutil/simClock.h
"
20
#include "
vrfutil/rwBoolean.h
"
21
24
#include "
vrfobjparam/vrfobjparamDefines.h
"
25
class
DT_DLL_vrfobjparam
DtWarheadDetonationActuatorDescriptor
:
public
DtActuatorComponentDescriptor
26
{
27
public
:
29
DtWarheadDetonationActuatorDescriptor
(
const
DtString
& name,
30
DtReaderWriterRegistry
* parentRegistry = 0);
31
33
DtWarheadDetonationActuatorDescriptor
(
34
const
DtWarheadDetonationActuatorDescriptor
&
35
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
36
38
DtWarheadDetonationActuatorDescriptor
&
operator=
(
const
39
DtWarheadDetonationActuatorDescriptor
& orig);
40
42
virtual
~
DtWarheadDetonationActuatorDescriptor
();
43
46
virtual
DtString
type
()
const
;
47
48
virtual
DtComponentDescriptor
*
clone
(
DtReaderWriterRegistry
* parentRegistry
49
= 0)
const
;
50
53
virtual
bool
groundImpactDetonate()
const
;
54
virtual
void
setGroundImpactDetonate(
bool
d);
56
59
virtual
bool
waterImpactDetonate()
const
;
60
virtual
void
setWaterImpactDetonate(
bool
d);
62
65
virtual
bool
entityImpactDetonate()
const
;
66
virtual
void
setEntityImpactDetonate(
bool
d);
68
71
virtual
bool
detonateOnMiss()
const
;
72
virtual
void
setDetonateOnMiss(
bool
d);
74
77
virtual
double
missDetonationDistance()
const
;
78
virtual
void
setMissDetonationDistance(
double
d);
80
83
virtual
bool
removeEntityUponDetonation()
const
;
84
virtual
void
setRemoveEntityUponDetonation(
bool
b);
86
88
89
virtual
bool
allowDirectHit()
const
;
90
virtual
void
setAllowDirectHit(
bool
b);
92
94
static
DtComponentDescriptor
*
creator
();
95
96
private
:
98
DtWarheadDetonationActuatorDescriptor
();
99
100
protected
:
101
105
110
DtRwBoolean
myGroundImpactDetonate
;
111
116
DtRwBoolean
myWaterImpactDetonate
;
117
122
DtRwBoolean
myEntityImpactDetonate
;
123
128
DtRwBoolean
myDetonateOnMiss
;
129
135
DtRwReal
myMissDetonationDistance
;
136
140
DtRwBoolean
myRemoveOnDetonation
;
141
148
DtRwBoolean
myAllowDirectHit
;
149
151
};
152
153
#endif
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)