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
bhaveSim
pathTaskAgent.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
#pragma once
7
8
#include <
bhaveSim/bhaveSimDefines.h
>
9
#include "
vrfTaskAgent.h
"
10
#include <kyruntime.h>
11
#include <
vrfobjcore/vrfObject.h
>
12
13
namespace
BHAVE
14
{
16
class
DT_DLL_bhaveSim
DtPathTaskAgent
:
public
DtVrfTaskAgent
17
{
18
public
:
19
20
DtPathTaskAgent
(
21
DtVrfEntityBot
* bot,
22
const
char
*
task
,
23
const
char
* arg1,
24
const
char
* arg2,
25
const
char
* arg3,
26
const
char
* arg4,
27
const
char
* command);
28
29
virtual
~
DtPathTaskAgent
();
30
32
virtual
void
Clear();
33
35
virtual
bool
Think();
36
38
virtual
bool
HasFinished();
39
41
virtual
void
onTeleport();
42
43
virtual
void
setNextDestination();
44
46
virtual
void
encodeTask(
DtKynapsePSR
*);
47
49
virtual
void
decodeTask(
DtKynapsePSR
*);
50
51
virtual
DtVrfObject
* routeObject()
const
;
52
virtual
bool
reversedRoute()
const
;
53
virtual
int
currentPointIndex()
const
;
54
56
57
static
void
routeRemovedCallback(
DtVrfObject
* routeObject,
void
* usr);
58
virtual
void
processRouteRemoved(
DtVrfObject
* routeObject);
60
61
protected
:
62
63
Kaim::GotoAgent*
myGotoAgent
;
64
KyResult
myStatus
;
65
bool
myFinishedStatus
;
66
int
myCurrentValue
;
67
bool
myReverseRoute
;
68
bool
myLoop
;
69
DtVrfObject
*
myRouteObject
;
70
bool
myFirstDestinationTick
;
71
bool
myStartAtClosestPoint
;
72
};
73
74
}
//namespace BHAVE
75
76
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
)