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
rotaryWingLandingController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
12
13
#pragma once
14
15
16
#include "
vrfmodel/rotaryWingTaskController.h
"
17
18
class
DtString
;
19
class
DtSimManager
;
20
class
DtSimMessage
;
21
33
#include "
vrfmodel/vrfmodelDefines.h
"
34
class
DT_DLL_vrfmodel
DtRotaryWingLandingController
:
public
DtRotaryWingTaskController
35
{
36
public
:
37
40
DtRotaryWingLandingController
(
const
DtString
& name,
41
DtVrfObject
* owner,
42
DtSimManager
* simManager,
43
DtComponentDescriptor
* desc = 0,
44
DtReaderWriterRegistry
* parentRegistry = 0);
45
47
virtual
~
DtRotaryWingLandingController
();
48
51
virtual
void
tick
();
52
55
virtual
const
char
*
type
()
const
;
56
57
virtual
void
clearTask
();
58
62
static
DtSimComponent
* creator(
const
DtString
& name,
63
DtVrfObject
* owner,
64
DtSimManager
* simManager,
65
DtComponentDescriptor
* desc = 0,
66
DtReaderWriterRegistry
* parentRegistry = 0);
67
68
protected
:
70
virtual
void
registerTaskMsgCallbacks
();
71
73
static
void
landingTaskCallback(
DtSimMessage
* msg,
void
* usr);
74
76
virtual
void
processLandingTask(
DtSimMessage
* msg);
77
79
static
void
taskCompleteReportCallback(
DtSimMessage
* msg,
void
* usr);
80
82
virtual
void
processTaskCompleteReport(
DtSimMessage
* msg);
83
86
virtual
bool
startMovingToLandingPosition();
87
91
virtual
bool
sendMoveSubtask(
const
DtUUID
& destination);
92
94
virtual
void
doLanding();
95
99
virtual
bool
landingPosition(
DtVector
& localPosition);
100
107
virtual
void
pilotProperties();
108
109
static
void
objectAboutToBeRemovedCallback(
DtVrfObject
*
object
,
void
* usr);
110
virtual
void
processObjectAboutToBeRemoved(
DtVrfObject
*
object
);
111
112
private
:
114
DtRotaryWingLandingController
();
116
DtRotaryWingLandingController
(
117
const
DtRotaryWingLandingController
& orig);
119
const
DtRotaryWingLandingController
&
operator=
(
const
120
DtRotaryWingLandingController
& orig);
121
122
protected
:
123
const
DtVrfObject
*
myLandingPoint
;
124
};
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
)