VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmodel
rotWngWaitCtl.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
vrfmodel/rotWingTaskCtl.h
"
14
#include "
vrfutil/vlClock.h
"
15
16
class
DtString
;
17
class
DtSimManager
;
18
class
DtTaskMessage
;
19
class
DtSimMessage
;
20
class
DtWaitingPSR
;
21
30
#include "
vrfmodel/vrfmodelDefines.h
"
31
class
DT_DLL_vrfmodel
DtRotaryWingWaitController
:
public
DtRotaryWingTaskController
32
{
33
34
public
:
35
38
DtRotaryWingWaitController
(
const
DtString
& name,
39
DtVrfObject
* owner,
40
DtSimManager
* simManager,
41
DtComponentDescriptor
* desc = 0,
42
DtReaderWriterRegistry
* parentRegistry = 0);
43
45
virtual
~
DtRotaryWingWaitController
();
46
49
virtual
DtString
type
()
const
;
50
52
virtual
bool
init
();
53
62
virtual
void
tick
();
63
65
virtual
void
registerTaskMsgCallbacks
();
66
67
static
void
waitCallback(
DtSimMessage
* msg,
void
* usr,
DtSimTaskStatePtr
taskStatePtr);
68
69
virtual
DtSimTaskStatePtr
currentTaskState
()
const
;
70
71
protected
:
72
virtual
void
processWait(
const
DtTaskMessage
& msg,
DtSimTaskStatePtr
taskStatePtr);
73
77
82
virtual
bool
processWaitTask(
DtSimTask
*
task
,
DtSimTaskStatePtr
taskStatePtr);
83
89
virtual
bool
processWaitDurationTask(
DtSimTask
* task,
DtSimTaskStatePtr
taskStatePtr);
90
95
virtual
bool
processWaitElapsedTask(
DtSimTask
* task,
DtSimTaskStatePtr
taskStatePtr);
96
99
DtRotaryWingWaitController
();
100
102
DtRotaryWingWaitController
(
const
DtRotaryWingWaitController
& orig);
103
105
const
DtRotaryWingWaitController
&
operator=
(
106
const
DtRotaryWingWaitController
& orig);
107
114
virtual
void
pilotProperties();
115
117
virtual
bool
createWaitingPSR();
118
119
public
:
123
static
DtSimComponent
* creator(
const
DtString
& name,
124
DtVrfObject
* owner,
125
DtSimManager
* simManager,
126
DtComponentDescriptor
* desc = 0,
127
DtReaderWriterRegistry
* parentRegistry = 0);
128
129
protected
:
130
131
DtWaitingPSR
*
myWaitingProcessState
;
132
};
133
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
)