VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmodel
mountAzimAct.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
#include "
vrfobjcore/actCmpnt.h
"
15
16
class
DtString
;
17
class
DtSimManager
;
18
class
DtConstrainedAnalogInputPort
;
19
class
DtAnalogOutputPort
;
20
class
DtIntegerOutputPort
;
21
class
DtAzimuthMountComponentDescriptor
;
22
class
DtSimObjectBaseObjectStateRepository;
23
27
#include "
vrfmodel/vrfmodelDefines.h
"
28
class
DT_DLL_vrfmodel
DtMountingAzimuthActuator
:
public
DtActuatorComponent
29
{
30
31
public
:
32
35
DtMountingAzimuthActuator
(
const
DtString
& name,
36
DtVrfObject
* owner,
37
DtSimManager
* simManager,
38
DtComponentDescriptor
* desc = 0,
39
DtReaderWriterRegistry
* parentRegistry = 0);
40
42
virtual
~
DtMountingAzimuthActuator
();
43
45
virtual
bool
postAddComponentsInit
();
46
49
virtual
DtString
type
()
const
;
50
52
virtual
void
tick
();
53
54
virtual
void
setMaxSlewRate(DtReal maxSlewRate);
55
virtual
DtReal maxSlewRate()
const
;
56
57
virtual
void
setNominalAzimuth(DtReal nominalAzimuth);
58
virtual
DtReal nominalAzimuth()
const
;
59
60
virtual
void
setAzimuthSweepRange(DtReal azimuthSweepRange);
61
virtual
DtReal azimuthSweepRange()
const
;
62
66
static
DtSimComponent
* creator(
const
DtString
& name,
67
DtVrfObject
* owner,
68
DtSimManager
* simManager,
69
DtComponentDescriptor
* desc = 0,
70
DtReaderWriterRegistry
* parentRegistry = 0);
71
75
static
double
computeDeltaOutsideAzimuthRange(
double
nominalAzimuth,
76
double
azimuthRange,
77
double
angleUnderTest);
78
79
protected
:
80
82
virtual
bool
createPortGroups
();
83
85
virtual
bool
createPorts
();
86
87
protected
:
88
90
DtMountingAzimuthActuator
();
91
93
DtMountingAzimuthActuator
(
const
DtMountingAzimuthActuator
& orig);
94
96
const
DtMountingAzimuthActuator
&
operator=
(
const
97
DtMountingAzimuthActuator
& orig);
98
99
100
protected
:
101
102
DtConstrainedAnalogInputPort
*
myAzimuthPort
;
103
106
109
DtOutputPortGroup
*
myAzimuthInfoPortGroup
;
110
116
DtAnalogOutputPort
*
myNominalAzimuthPort
;
117
123
DtAnalogOutputPort
*
myAzimuthRangePort
;
124
130
DtAnalogOutputPort
*
myMaxAzimuthRatePort
;
131
137
DtIntegerOutputPort
*
myAzimuthPartTypePort
;
138
140
141
DtAzimuthMountComponentDescriptor
*
myAzimuthCompDesc
;
142
143
DtReal
myMaxSlewRate
;
144
DtReal
myNominalAzimuth
;
145
DtReal
myAzimuthSweep
;
146
147
DtArticulatedPartStateRepository
*
myRotatingBody
;
148
};
149
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)