VR-Forces 4.7 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
detonationControllerDescriptor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2018 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
#include "
vrfobjparam/vrfobjparamDefines.h
"
15
#include "
vrfobjparam/componentDescriptor.h
"
16
17
#include <
readerWriter/rwReal.h
>
18
#include <
readerWriter/rwBoolean.h
>
19
#include "
vrfutil/rwObjectTypeList.h
"
20
#include "
vrfobjparam/targetingControlTable.h
"
21
22
//Vrlink includes
23
#include <vlpi/disEnums.h>
24
28
29
class
DT_DLL_vrfobjparam
DtDetonationControllerDescriptor
:
public
DtComponentDescriptor
30
{
31
public
:
33
DtDetonationControllerDescriptor
(
const
DtString
& name,
34
DtReaderWriterRegistry
* parentRegistry = 0);
35
37
DtDetonationControllerDescriptor
(
const
DtDetonationControllerDescriptor
&
38
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
39
41
DtDetonationControllerDescriptor
&
operator=
(
const
42
DtDetonationControllerDescriptor
& orig);
43
45
virtual
~
DtDetonationControllerDescriptor
();
46
49
virtual
DtString
type
()
const
;
50
51
virtual
DtComponentDescriptor
*
clone
(
DtReaderWriterRegistry
* parentRegistry
52
= 0)
const
;
53
54
56
virtual
const
DtString
& detonatorFuse()
const
;
57
virtual
void
setDetonatorFuse(
const
DtString
& fuse);
58
61
virtual
DtReal detonationProximity()
const
;
62
virtual
void
setDetonationProximity(DtReal proximity);
64
67
virtual
DtReal malfunctionPercentage()
const
;
68
virtual
void
setMalfunctionPercentage(DtReal percent);
70
73
virtual
bool
amArmed()
const
;
74
virtual
void
setAmArmed(
bool
armed);
76
79
virtual
const
DtRwObjectTypeList
& objTypesToDetect()
const
;
80
virtual
void
setObjTypesToDetect(
const
DtRwObjectTypeList
& list);
82
85
virtual
const
DtTargetingControlTable
& targetingControlTable()
const
;
86
virtual
DtTargetingControlTable
& targetingControlTable();
88
90
static
DtComponentDescriptor
*
creator
();
91
92
protected
:
94
DtDetonationControllerDescriptor
();
95
96
protected
:
97
101
105
DtRwString
myFuseTypeString
;
106
111
DtRwReal
myDetonationProximity
;
112
116
DtRwReal
myMalfunctionPercentage
;
117
121
DtRwBoolean
myAmArmed
;
122
126
DtRwObjectTypeList
myObjTypesToDetect
;
127
132
DtTargetingControlTable
myTargetingControlTable
;
133
135
};
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)