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
vrfmodel
underFireDeterminationSensor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
class
DtSimMessage
;
14
class
DtSimRadio
;
15
16
17
#include "
vrfobjcore/actuatorComponent.h
"
18
#include "
vrfobjcore/fireContext.h
"
19
#include "
vrfobjparam/underFireDeterminationComponentDescriptor.h
"
20
32
#include "
vrfmodel/vrfmodelDefines.h
"
33
class
DT_DLL_vrfmodel
DtUnderFireDeterminationSensor
:
public
DtSimComponent
34
{
35
36
public
:
37
40
DtUnderFireDeterminationSensor
(
const
DtString
& name,
41
DtVrfObject
* owner,
42
DtSimManager
* simManager,
43
DtComponentDescriptor
* desc = NULL,
44
DtReaderWriterRegistry
* parentRegistry = NULL);
45
48
virtual
~
DtUnderFireDeterminationSensor
();
49
54
virtual
bool
init
();
55
63
static
bool
processFireCallback(
const
DtFireContext
& fireContext,
void
* usr);
64
68
virtual
bool
determineUnderFire(
const
DtFireContext
& fireContext);
69
72
virtual
const
char
*
type
()
const
;
73
75
virtual
void
tick
();
76
79
virtual
bool
tickWhileDestroyed
()
const
;
80
84
static
DtSimComponent
* creator(
const
DtString
& name,
85
DtVrfObject
* owner,
86
DtSimManager
* simManager,
87
DtComponentDescriptor
* desc = 0,
88
DtReaderWriterRegistry
* parentRegistry = 0);
89
90
protected
:
91
93
virtual
bool
registerForFireNotifications();
94
96
virtual
bool
unregisterForFireNotifications();
97
101
virtual
bool
isRegisteredForFireNotifications();
102
virtual
void
setIsRegisteredForFireNotifications(
bool
yesOrNo);
104
106
virtual
void
setUnderFire(
const
DtFireContext
& fireContext);
107
109
virtual
void
clearUnderFire();
110
111
private
:
113
DtUnderFireDeterminationSensor
();
114
116
DtUnderFireDeterminationSensor
(
const
DtUnderFireDeterminationSensor
& orig);
117
119
const
DtUnderFireDeterminationSensor
&
operator=
(
const
DtUnderFireDeterminationSensor
& orig);
120
121
protected
:
122
123
DtUnderFireDeterminationComponentDescriptor
*
myUnderFireComponentDescriptor
;
124
125
private
:
126
bool
myIsRegisteredForFireNotifications
;
127
};
128
129
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
)