VR-Forces 4.1 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
70
75
virtual
void
processWaitTask(
DtSimMessage
* msg);
76
82
virtual
void
processWaitDurationTask(
DtSimMessage
* msg);
83
88
virtual
void
processWaitElapsedTask(
DtSimMessage
* msg);
89
90
protected
:
93
DtRotaryWingWaitController
();
94
96
DtRotaryWingWaitController
(
const
DtRotaryWingWaitController
& orig);
97
99
const
DtRotaryWingWaitController
&
operator=
(
100
const
DtRotaryWingWaitController
& orig);
101
108
virtual
void
pilotProperties();
109
111
virtual
bool
createWaitingPSR();
112
113
public
:
114
115
static
void
waitCallback(
DtSimMessage
* msg,
void
* usr);
116
117
static
void
waitDurationCallback(
DtSimMessage
* msg,
void
* usr);
118
119
static
void
waitElapsedCallback(
DtSimMessage
* msg,
void
* usr);
120
124
static
DtSimComponent
* creator(
const
DtString
& name,
125
DtVrfObject
* owner,
126
DtSimManager
* simManager,
127
DtComponentDescriptor
* desc = 0,
128
DtReaderWriterRegistry
* parentRegistry = 0);
129
130
protected
:
131
132
DtWaitingPSR
*
myWaitingProcessState
;
133
};
134
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)