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
humanDamageActuatorDescriptor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2018 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
7
8
#pragma once
9
11
#include <
vrfobjparam/damageAdjudicationComponentDescriptor.h
>
12
#include <
readerWriter/rwInt.h
>
13
#include <
readerWriter/rwReal.h
>
14
#include <
vrfutil/rwStringList.h
>
15
16
class
DtReaderWriterRegistry
;
17
18
#include "
vrfobjparam/vrfobjparamDefines.h
"
19
class
DT_DLL_vrfobjparam
DtHumanDamageActuatorDescriptor
:
public
DtDamageAdjudicationComponentDescriptor
20
{
21
public
:
23
DtHumanDamageActuatorDescriptor
(
const
DtString
& name,
24
DtReaderWriterRegistry
* parentRegistry = 0);
25
27
DtHumanDamageActuatorDescriptor
(
const
DtHumanDamageActuatorDescriptor
& orig,
28
DtReaderWriterRegistry
* parentRegistry = 0);
29
31
DtHumanDamageActuatorDescriptor
&
operator=
(
const
32
DtHumanDamageActuatorDescriptor
& orig);
33
35
virtual
DtComponentDescriptor
*
clone
(
DtReaderWriterRegistry
*
36
parentRegistry = 0)
const
;
37
38
virtual
~
DtHumanDamageActuatorDescriptor
();
39
42
virtual
DtString
type
()
const
;
43
46
virtual
double
timeToRecover()
const
;
47
virtual
void
setTimeToRecover(
double
recoverTime);
49
52
virtual
const
DtRwStringList
& cumulativePowerTypes()
const
;
53
virtual
void
setCumulativePowerTypes(
const
DtRwStringList
& list);
55
57
static
DtComponentDescriptor
*
creator
();
58
59
protected
:
60
67
DtRwReal
myRecoveryTime
;
68
74
DtRwStringList
myCumulativePowerTypes
;
75
};
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
)