VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmodel
rotaryWingFlightCommandController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfmodel/rotWingTaskCtl.h
"
12
#include "
vrfmodel/vrfmodelDefines.h
"
13
14
class
DtString
;
15
class
DtSimManager
;
16
class
DtSimMessage
;
17
class
DtRotaryWingFlightCommandControllerPSR
;
18
34
class
DT_DLL_vrfmodel
DtRotaryWingFlightCommandController
:
public
DtRotaryWingTaskController
35
{
36
public
:
37
40
DtRotaryWingFlightCommandController
(
const
DtString
& name,
41
DtVrfObject
* owner,
42
DtSimManager
* simManager,
43
DtComponentDescriptor
* desc = 0,
44
DtReaderWriterRegistry
* parentRegistry = 0);
45
47
virtual
~
DtRotaryWingFlightCommandController
();
48
49
virtual
bool
init
();
50
51
virtual
void
tick
();
52
55
virtual
DtString
type
()
const
;
56
57
virtual
bool
beginProcessingTask
(
const
DtTaskMessage
&
task
,
58
DtSimTaskStatePtr
taskState);
59
62
virtual
bool
showCurrentTaskInGui
()
const
;
63
66
67
static
void
taskNotiyCallback(
const
DtSimTask
& task,
const
DtSimComponent
¬ifier,
void
* usr);
68
virtual
void
processTaskNotify(
const
DtSimTask
& task,
const
DtSimComponent
¬ifier);
70
74
static
DtSimComponent
* creator(
const
DtString
& name,
75
DtVrfObject
* owner,
76
DtSimManager
* simManager,
77
DtComponentDescriptor
* desc = 0,
78
DtReaderWriterRegistry
* parentRegistry = 0);
79
80
protected
:
82
virtual
void
registerTaskMsgCallbacks
();
83
86
DtRotaryWingFlightCommandController
();
87
89
DtRotaryWingFlightCommandController
(
90
const
DtRotaryWingFlightCommandController
& orig);
91
93
const
DtRotaryWingFlightCommandController
&
operator=
(
const
94
DtRotaryWingFlightCommandController
& orig);
95
97
virtual
void
pilotProperties();
98
99
virtual
void
clearTask
();
100
101
virtual
DtRotaryWingFlightCommandControllerPSR
* createPSR();
102
105
virtual
void
processSkipTask(
DtSimMessage
*);
106
static
void
skipTaskCallback(
DtSimMessage
* msg,
void
* usr);
107
108
protected
:
109
DtRotaryWingFlightCommandControllerPSR
*
myProcessState
;
110
111
bool
mySkippingTask
;
112
};
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
)