VR-Forces 4.3 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
disaggregatedPatrolBetweenController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
12
#pragma once
13
14
#include "
vrfobjcore/singleTaskControllerComponent.h
"
15
#include <vlutil/vlString.h>
16
17
class
DtSimMessage
;
18
class
DtAggregatePatrolBetweenPSR
;
19
35
#include "
vrfmodel/vrfmodelDefines.h
"
36
class
DT_DLL_vrfmodel
DtDisaggregatedPatrolBetweenController
:
public
DtSingleTaskControllerComponent
37
{
38
public
:
39
42
DtDisaggregatedPatrolBetweenController
(
const
DtString
& name,
43
DtVrfObject
* owner,
44
DtSimManager
* simManager,
45
DtComponentDescriptor
* desc = 0,
46
DtReaderWriterRegistry
* parentRegistry = 0);
47
48
virtual
~
DtDisaggregatedPatrolBetweenController
();
49
51
virtual
bool
init
();
52
55
virtual
DtString
type
()
const
;
56
59
virtual
void
registerTaskMsgCallbacks
();
60
61
static
void
patrolBetweenCallback(
DtSimMessage
* msg,
void
* usr,
DtSimTaskStatePtr
taskStatePtr);
62
65
virtual
void
tick
();
66
68
virtual
DtSimTaskStatePtr
currentTaskState
()
const
;
69
73
static
void
taskCompleteReportCallback(
DtSimMessage
* msg,
void
* usr);
74
78
static
DtSimComponent
* creator(
const
DtString
& name,
79
DtVrfObject
* owner,
80
DtSimManager
* simManager,
81
DtComponentDescriptor
* desc = 0,
82
DtReaderWriterRegistry
* parentRegistry = 0);
83
84
protected
:
85
virtual
void
processPatrolBetween(
const
DtTaskMessage
& msg,
DtSimTaskStatePtr
taskStatePtr);
86
90
virtual
void
onTaskComplete(
DtSimMessage
* msg);
91
99
virtual
bool
moveTo(
const
DtString
& controlPointName);
100
106
virtual
bool
createPSR();
107
108
private
:
109
111
DtDisaggregatedPatrolBetweenController
(
const
DtDisaggregatedPatrolBetweenController
& orig);
112
114
DtDisaggregatedPatrolBetweenController
&
operator=
(
const
DtDisaggregatedPatrolBetweenController
& orig);
115
116
protected
:
117
120
DtAggregatePatrolBetweenPSR
*
myProcessState
;
121
123
bool
myFirstTick
;
124
};
125
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)