VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmodel
humanWeaponStateAct.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/actCmpnt.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
DtString
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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)