VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmodel
humanAimWeaponController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
#pragma once
11
12
#include "
vrfobjcore/cntrlCmpnt.h
"
13
#include "
vrfmodel/vrfmodelDefines.h
"
14
15
class
DtHumanMovementControlOutputPortGroup
;
16
class
DtAnalogInputPort
;
17
24
class
DT_DLL_vrfmodel
DtHumanAimWeaponController
:
public
DtControllerComponent
25
{
26
27
public
:
28
31
DtHumanAimWeaponController
(
const
DtString
& name,
32
DtVrfObject
* owner,
33
DtSimManager
* simManager,
34
DtComponentDescriptor
* desc = 0,
35
DtReaderWriterRegistry
* parentRegistry = 0);
36
38
virtual
~
DtHumanAimWeaponController
();
39
40
virtual
bool
init
();
41
44
virtual
DtString
type
()
const
;
45
46
virtual
void
tick
();
47
51
static
DtSimComponent
* creator(
const
DtString
& name,
52
DtVrfObject
* owner,
53
DtSimManager
* simManager,
54
DtComponentDescriptor
* desc = 0,
55
DtReaderWriterRegistry
* parentRegistry = 0);
56
57
protected
:
58
60
virtual
bool
createPortGroups
();
61
63
virtual
bool
createPorts
();
64
65
virtual
bool
createAimDirectionPort();
66
67
private
:
68
70
DtHumanAimWeaponController
();
71
73
DtHumanAimWeaponController
(
const
74
DtHumanAimWeaponController
& orig);
75
77
const
DtHumanAimWeaponController
&
operator=
(
78
const
DtHumanAimWeaponController
& orig);
79
80
81
protected
:
82
84
85
92
DtAnalogInputPort
*
myAimDirectionPort
;
93
95
DtHumanMovementControlOutputPortGroup
*
myHumanMovementControlOutputPortGroup
;
96
98
};
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
)