VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
bhaveMsgs
kynapseDesc.h
Go to the documentation of this file.
1
2
/*******************************************************************************
3
** Copyright (c) 2009 MAK Technologies, Inc.
4
** All rights reserved.
5
*******************************************************************************/
6
/*******************************************************************************
7
* Copyright 2009 Autodesk, Inc. All rights reserved.
8
* Use of this software is subject to the terms of the Autodesk license
9
* agreement provided at the time of installation or download, or which otherwise
10
* accompanies this software in either electronic or hard copy form.
11
*******************************************************************************/
12
13
14
#ifndef KYNAPSE_DESCRIPTOR_H
15
#define KYNAPSE_DESCRIPTOR_H
16
17
#include <
vrfobjparam/compDesc.h
>
18
#include <
vrfutil/rwString.h
>
19
#include "
bhaveMsgs/bhaveMsgsDefines.h
"
20
#include "
bhaveMsgs/pathSoilFactor.h
"
21
22
class
DtReaderWriterRegistry
;
23
24
namespace
BHAVE
25
{
30
const
char
KynapseDescriptorType
[] =
"kynapse-descriptor"
;
31
32
class
DT_DLL_bhaveMsgs
KynapseDescriptor
:
public
DtComponentDescriptor
33
{
34
public
:
36
KynapseDescriptor
(
const
DtString
& name,
37
DtReaderWriterRegistry
* parentRegistry = 0);
38
40
KynapseDescriptor
(
const
KynapseDescriptor
& orig,
41
DtReaderWriterRegistry
* parentRegistry = 0);
42
44
KynapseDescriptor
& operator=(
const
45
KynapseDescriptor
& orig);
46
48
virtual
DtComponentDescriptor
* clone(
DtReaderWriterRegistry
*
49
parentRegistry = 0)
const
;
50
52
virtual
~
KynapseDescriptor
();
53
55
57
virtual
DtString
type()
const
;
58
60
static
DtComponentDescriptor
* creator();
61
62
63
virtual
void
setPublishDebugRoutes(
bool
val);
64
virtual
bool
publishDebugRoutes()
const
;
65
70
//{@
71
virtual
void
setInitialMovementMode(
const
DtString
& val);
72
virtual
const
DtString
initalMovementMode()
const
;
74
75
78
virtual
void
setNearDistance(DtReal nearDistance);
79
virtual
DtReal nearDistance()
const
;
81
84
virtual
void
setApproachSpeed(DtReal approachSpeed);
85
virtual
DtReal approachSpeed()
const
;
87
90
virtual
void
setAtDistance(DtReal atDistance);
91
virtual
DtReal atDistance()
const
;
93
96
virtual
void
setBotClass(
DtRwString
botclass);
97
virtual
DtRwString
botClass()
const
;
98
99
virtual
DtPathSoilFactorList
& pathSoilFactorList();
100
virtual
const
DtPathSoilFactorList
& pathSoilFactorList()
const
;
101
102
void
getSelf(DtlObjPtr args,
const
DtFilename& searchPath);
103
104
protected
:
108
DtRwBoolean
myPublishDebugRoutes
;
109
113
DtRwString
myInitialMovementMode
;
114
120
DtRwReal
myNearDistance
;
121
127
DtRwReal
myAtDistance
;
128
135
DtRwReal
myApproachSpeed
;
136
141
DtRwString
myBotClass
;
142
143
DtPathSoilFactorList
myPathSoilFactorList
;
144
};
145
146
#endif
147
148
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)