VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfmodel
rotaryWingPatrolBetweenController.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/rotaryWingMoveToControllerComponent.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
const
char
*
type
()
const
;
55
56
static
void
patrolBetweenCallback(
DtSimMessage
* msg,
void
* usr,
DtSimTaskStatePtr
taskStatePtr);
57
58
virtual
DtSimTaskStatePtr
currentTaskState
()
const
;
59
61
virtual
const
DtUUID
& firstWaypoint()
const
;
62
virtual
void
setFirstWaypoint(
const
DtUUID
& waypoint);
63
65
virtual
const
DtUUID
& secondWaypoint()
const
;
66
virtual
void
setSecondWaypoint(
const
DtUUID
& 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 Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)