VR-Forces 4.3 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
rotaryWingMoveToControllerComponent.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
15
#include "
vrfmodel/rotaryWingTaskController.h
"
16
17
class
DtString
;
18
class
DtSimManager
;
19
class
DtSimMessage
;
20
21
26
#include "
vrfmodel/vrfmodelDefines.h
"
27
class
DT_DLL_vrfmodel
DtRotaryWingMoveToControllerComponent
:
public
DtRotaryWingTaskController
28
{
29
public
:
30
33
DtRotaryWingMoveToControllerComponent
(
const
DtString
& name,
34
DtVrfObject
* owner,
35
DtSimManager
* simManager,
36
DtComponentDescriptor
* desc = 0,
37
DtReaderWriterRegistry
* parentRegistry = 0);
38
40
virtual
~
DtRotaryWingMoveToControllerComponent
();
41
44
virtual
void
tick
();
45
48
virtual
DtString
type
()
const
;
49
50
54
static
void
moveToCallback(
DtSimMessage
* msg,
void
* usr);
55
static
void
moveToAltitudeCallback(
DtSimMessage
* msg,
void
* usr);
56
60
virtual
void
processMoveToTask(
DtSimMessage
* msg);
61
65
virtual
void
processMoveToAltitudeTask(
DtSimMessage
* msg);
66
70
static
DtSimComponent
* creator(
const
DtString
& name,
71
DtVrfObject
* owner,
72
DtSimManager
* simManager,
73
DtComponentDescriptor
* desc = 0,
74
DtReaderWriterRegistry
* parentRegistry = 0);
75
76
protected
:
78
virtual
void
registerTaskMsgCallbacks
();
79
82
DtRotaryWingMoveToControllerComponent
();
83
85
DtRotaryWingMoveToControllerComponent
(
86
const
DtRotaryWingMoveToControllerComponent
& orig);
87
89
const
DtRotaryWingMoveToControllerComponent
&
operator=
(
const
90
DtRotaryWingMoveToControllerComponent
& orig);
91
95
virtual
bool
setupControlPoint();
96
102
virtual
bool
createWorkingControlPoint(
const
DtVector
location);
103
105
virtual
void
stop();
106
113
114
virtual
void
pilotProperties();
115
117
virtual
void
getDesiredPosition(
DtVector
& desiredPosition);
118
119
protected
:
120
123
DtVrfObject
*
myControlPoint
;
124
126
DtVrfObject
*
myWorkingControlPoint
;
127
};
128
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)