VR-Forces 4.7 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
surfaceEntityPatrolBetweenController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2002 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
#include "
vrfmodel/surfaceEntityMoveToController.h
"
15
16
#include <vlutil/vlString.h>
17
18
class
DtSimManager
;
19
class
DtSimMessage
;
20
33
34
#include "
vrfmodel/vrfmodelDefines.h
"
35
class
DT_DLL_vrfmodel
DtSurfaceEntityPatrolBetweenController
:
36
public
DtSurfaceEntityMoveToController
37
{
38
public
:
39
42
DtSurfaceEntityPatrolBetweenController
(
const
DtString
& name,
43
DtVrfObject
* owner,
44
DtSimManager
* simManager,
45
DtComponentDescriptor
* desc = 0,
46
DtReaderWriterRegistry
* parentRegistry = 0);
47
49
virtual
~
DtSurfaceEntityPatrolBetweenController
();
50
54
static
DtSimComponent
*
creator
(
const
DtString
& name,
55
DtVrfObject
* owner,
56
DtSimManager
* simManager,
57
DtComponentDescriptor
* desc = 0,
58
DtReaderWriterRegistry
* parentRegistry = 0);
59
62
virtual
const
char
*
type
()
const
;
63
72
static
void
patrolBetweenCallback(
DtSimMessage
* msg,
void
* usrData);
73
86
virtual
void
processPatrolBetweenTask(
DtSimMessage
* msg);
87
89
virtual
void
tick
();
90
94
virtual
const
DtUUID
& firstWaypoint()
const
;
95
virtual
void
setFirstWaypoint(
const
DtUUID
& waypoint);
97
102
virtual
const
DtUUID
& secondWaypoint()
const
;
103
virtual
void
setSecondWaypoint(
const
DtUUID
& waypoint);
105
116
virtual
bool
atGoal
();
117
127
virtual
bool
passedGoal
();
128
135
virtual
void
controlMovement
();
136
137
protected
:
141
virtual
void
registerTaskMsgCallbacks
();
142
144
DtSurfaceEntityPatrolBetweenController
();
145
147
DtSurfaceEntityPatrolBetweenController
148
(
const
DtSurfaceEntityPatrolBetweenController
& orig);
149
151
const
DtSurfaceEntityPatrolBetweenController
&
operator
=
152
(
const
DtSurfaceEntityPatrolBetweenController
& orig);
153
};
154
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)