VR-Forces 4.3.1 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
bhaveMsgs
kynapseDescriptor.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/componentDescriptor.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
virtual
void
getSelf(DtlObjPtr args,
const
SearchPaths
& searchPaths);
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 Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)