VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmodel
rotWngPtlBtwn.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
15
#include "
vrfmodel/rotWngMvToCtl.h
"
16
17
#include <vlutil/vlString.h>
18
19
class
DtSimManager
;
20
class
DtSimMessage
;
21
22
30
#include "
vrfmodel/vrfmodelDefines.h
"
31
class
DT_DLL_vrfmodel
DtRotaryWingPatrolBetweenController
:
32
public
DtRotaryWingMoveToControllerComponent
33
{
34
35
public
:
36
39
DtRotaryWingPatrolBetweenController
(
const
DtString
& name,
40
DtVrfObject
* owner,
41
DtSimManager
* simManager,
42
DtComponentDescriptor
* desc = 0,
43
DtReaderWriterRegistry
* parentRegistry = 0);
44
46
virtual
~
DtRotaryWingPatrolBetweenController
();
47
50
virtual
void
tick
();
51
54
virtual
DtString
type
()
const
;
55
56
static
void
patrolBetweenCallback(
DtSimMessage
* msg,
void
* usr,
DtSimTaskStatePtr
taskStatePtr);
57
58
virtual
DtSimTaskStatePtr
currentTaskState
()
const
;
59
61
virtual
const
DtString
& firstWaypoint()
const
;
62
virtual
void
setFirstWaypoint(
const
DtString
& waypoint);
63
65
virtual
const
DtString
& secondWaypoint()
const
;
66
virtual
void
setSecondWaypoint(
const
DtString
& waypoint);
67
71
static
DtSimComponent
*
creator
(
const
DtString
& name,
72
DtVrfObject
* owner,
73
DtSimManager
* simManager,
74
DtComponentDescriptor
* desc = 0,
75
DtReaderWriterRegistry
* parentRegistry = 0);
76
77
protected
:
78
virtual
void
processPatrolBetween(
const
DtTaskMessage
& msg,
DtSimTaskStatePtr
taskStatePtr);
79
82
DtRotaryWingPatrolBetweenController
();
83
85
DtRotaryWingPatrolBetweenController
(
86
const
DtRotaryWingPatrolBetweenController
& orig);
87
89
const
DtRotaryWingPatrolBetweenController
&
operator=
(
const
90
DtRotaryWingPatrolBetweenController
& orig);
91
93
virtual
void
registerTaskMsgCallbacks
();
94
99
virtual
void
reverse();
100
101
public
:
102
103
static
DtReal
theDefaultRadius
;
104
105
};
106
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
)