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
humanWeaponStateActuator.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
#include "
vrfobjcore/actuatorComponent.h
"
15
16
class
DtIntegerInputPort
;
17
class
DtHumanStateRepository
;
18
28
#include "
vrfmodel/vrfmodelDefines.h
"
29
class
DT_DLL_vrfmodel
DtHumanWeaponStateActuator
:
public
DtActuatorComponent
30
{
31
32
public
:
33
36
DtHumanWeaponStateActuator
(
const
DtString
& name,
37
DtVrfObject
* owner,
38
DtSimManager
* simManager,
39
DtComponentDescriptor
* desc = 0,
40
DtReaderWriterRegistry
* parentRegistry = 0);
41
43
virtual
~
DtHumanWeaponStateActuator
();
44
47
virtual
const
char
*
type
()
const
;
48
53
virtual
void
tick
();
54
58
static
DtSimComponent
* creator(
const
DtString
& name,
59
DtVrfObject
* owner,
60
DtSimManager
* simManager,
61
DtComponentDescriptor
* desc = 0,
62
DtReaderWriterRegistry
* parentRegistry = 0);
63
64
protected
:
65
67
virtual
bool
createPorts
();
68
72
virtual
bool
postureSuitableForFiring(DtLifeformState posture);
73
74
75
protected
:
76
78
DtHumanWeaponStateActuator
();
79
81
DtHumanWeaponStateActuator
(
82
const
DtHumanWeaponStateActuator
& orig);
83
85
const
DtHumanWeaponStateActuator
&
operator=
(
86
const
DtHumanWeaponStateActuator
& orig);
87
88
protected
:
89
92
98
DtIntegerInputPort
*
myLifeFormWeaponStatePort
;
99
101
102
DtHumanStateRepository
*
myHumanSR
;
103
};
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
)