VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfmodel
disaggregatedMoveToController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
12
13
#pragma once
14
15
#include "
vrfobjcore/singleTaskControllerComponent.h
"
16
17
class
DtSimMessage
;
18
class
DtMoveToTask
;
19
33
#include "
vrfmodel/vrfmodelDefines.h
"
34
class
DT_DLL_vrfmodel
DtDisaggregatedMoveToController
:
public
DtSingleTaskControllerComponent
35
{
36
public
:
37
40
DtDisaggregatedMoveToController
(
const
DtString
& name,
41
DtVrfObject
* owner,
42
DtSimManager
* simManager,
43
DtComponentDescriptor
* desc = 0,
44
DtReaderWriterRegistry
* parentRegistry = 0);
45
46
virtual
~
DtDisaggregatedMoveToController
();
47
48
virtual
void
tick
();
49
52
virtual
const
char
*
type
()
const
;
53
56
virtual
void
registerTaskMsgCallbacks
();
57
59
virtual
void
clearTask
();
60
64
static
void
moveToTaskCallback(
DtSimMessage
* msg,
void
* usr);
65
67
static
void
taskCompleteReportCallback(
DtSimMessage
* msg,
void
* usr);
68
71
static
void
waypointMovedCallback(
DtVrfObject
* obj,
void
* usr);
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
:
83
85
virtual
void
onWaypointMoved(
DtVrfObject
* obj);
86
90
virtual
void
onMoveToTask(
DtSimMessage
* msg);
91
95
virtual
void
onTaskComplete(
DtSimMessage
* msg);
96
98
virtual
void
startMoveToBehavior(
const
DtMoveToTask
& moveToTask);
99
100
private
:
101
103
DtDisaggregatedMoveToController
(
const
DtDisaggregatedMoveToController
& orig);
104
106
DtDisaggregatedMoveToController
&
operator=
(
const
DtDisaggregatedMoveToController
& orig);
107
108
bool
myFirstTick
;
109
};
110
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)