VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfmodel
turretActuatorComponent.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
vrfobjcore/actuatorComponent.h
"
14
15
class
DtString
;
16
class
DtSimManager
;
17
18
class
DtConstrainedAnalogInputPort
;
19
class
DtTurretComponentDescriptor
;
20
class
DtVrfTurretedBalGunPSR
;
21
48
#include "
vrfmodel/vrfmodelDefines.h
"
49
class
DT_DLL_vrfmodel
DtTurretActuatorComponent
:
public
DtActuatorComponent
50
{
51
52
public
:
53
56
DtTurretActuatorComponent
(
const
DtString
& name,
57
DtVrfObject
* owner,
58
DtSimManager
* simManager,
59
DtComponentDescriptor
* desc = 0,
60
DtReaderWriterRegistry
* parentRegistry = 0);
61
63
virtual
~
DtTurretActuatorComponent
();
64
66
virtual
bool
postAddComponentsInit
();
67
70
virtual
const
char
*
type
()
const
;
71
73
virtual
void
tick
();
74
76
78
virtual
DtArtPartType turretArtPart()
const
;
79
80
virtual
void
setMaxSlewRate(DtReal maxSlewRate);
81
virtual
DtReal maxSlewRate()
const
;
82
85
virtual
void
initProcessSR();
86
90
static
DtSimComponent
* creator(
const
DtString
& name,
91
DtVrfObject
* owner,
92
DtSimManager
* simManager,
93
DtComponentDescriptor
* desc = 0,
94
DtReaderWriterRegistry
* parentRegistry = 0);
95
96
protected
:
97
99
virtual
bool
createPorts
();
100
108
virtual
void
lookupAndCacheProcessSR();
109
110
protected
:
111
113
DtTurretActuatorComponent
();
114
116
DtTurretActuatorComponent
(
const
DtTurretActuatorComponent
& orig);
117
119
const
DtTurretActuatorComponent
&
operator=
(
const
120
DtTurretActuatorComponent
& orig);
121
122
123
protected
:
124
127
134
DtConstrainedAnalogInputPort
*
mySlewPort
;
135
137
138
const
DtTurretComponentDescriptor
*
myTurretComponentDescriptor
;
139
145
DtVrfTurretedBalGunPSR
*
myProcessState
;
146
150
bool
myRotation360
;
151
154
DtReal
myLeftSlewLimit
;
155
DtReal
myRightSlewLimit
;
156
};
157
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)