VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmodel
fixWngFolwCtl.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
#pragma once
12
13
14
#include "
vrfmodel/fixWngMvToCtl.h
"
15
16
#include <vlutil/vlString.h>
17
#include <matrix/vlVector.h>
18
19
class
DtSimManager
;
20
class
DtSimMessage
;
21
22
31
#include "
vrfmodel/vrfmodelDefines.h
"
32
class
DT_DLL_vrfmodel
DtFixedWingFollowEntityController
:
public
DtFixedWingMoveToController
33
{
34
35
public
:
36
39
DtFixedWingFollowEntityController
(
const
DtString
& name,
40
DtVrfObject
* owner,
41
DtSimManager
* simManager,
42
DtComponentDescriptor
* desc = 0,
43
DtReaderWriterRegistry
* parentRegistry = 0);
45
virtual
~
DtFixedWingFollowEntityController
();
46
49
virtual
DtString
type
()
const
;
50
54
virtual
void
tick
();
55
57
virtual
void
doMoving
();
58
virtual
void
doFlying
();
59
virtual
void
doTaxiing
();
60
64
static
void
followEntityCallback(
DtSimMessage
* msg,
void
* usrData);
65
virtual
void
processFollowEntityTask(
DtSimMessage
* msg);
66
67
virtual
const
DtString
& entityToFollow()
const
;
68
virtual
void
setEntityToFollow(
const
DtString
& entity);
69
70
virtual
const
DtVector
& offsetVector()
const
;
71
virtual
void
setOffsetVector(
const
DtVector
& offsets);
72
76
static
DtSimComponent
*
creator
(
const
DtString
& name,
77
DtVrfObject
* owner,
78
DtSimManager
* simManager,
79
DtComponentDescriptor
* desc = 0,
80
DtReaderWriterRegistry
* parentRegistry = 0);
81
82
protected
:
85
DtFixedWingFollowEntityController
();
86
88
DtFixedWingFollowEntityController
(
const
DtFixedWingFollowEntityController
&
89
orig);
90
92
const
DtFixedWingFollowEntityController
&
operator=
(
const
93
DtFixedWingFollowEntityController
& orig);
94
96
virtual
void
registerTaskMsgCallbacks
();
97
98
virtual
bool
setupControlPoint
();
99
100
virtual
double
findDesiredSpeed
();
101
102
protected
:
103
105
DtVrfObject
*
myEntityPointer
;
106
108
DtVrfObject
*
myWorkingControlPoint
;
109
};
110
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
)