VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
setStayInLane.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
12
#include "
vrftasks/setDataReq.h
"
13
#include "
vrfutil/rwBoolean.h
"
14
#include <vlpi/NetStructs.h>
15
#include "
vrftasks/vrftasksDefines.h
"
16
17
20
struct
DtNetSetStayInLaneRequest
21
{
22
DtNetBoolean
myStayInLane
;
23
};
24
31
class
DT_DLL_vrftasks
DtSetStayInLaneRequest
:
public
DtSetDataRequest
32
{
33
34
public
:
35
37
DtSetStayInLaneRequest
();
38
41
DtSetStayInLaneRequest
(
const
DtString
& writeName,
42
DtReaderWriterRegistry
* parentRegistry = 0);
43
45
DtSetStayInLaneRequest
(
const
DtString
& writeName,
const
DtSetStayInLaneRequest
&
46
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
47
49
const
DtSetStayInLaneRequest
&
operator=
(
const
DtSetStayInLaneRequest
& orig);
50
51
virtual
~
DtSetStayInLaneRequest
();
52
54
virtual
const
DtSetMessageType
&
type
()
const
;
55
57
virtual
DtSetDataRequest
*
clone
(
const
DtString
& name,
58
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
59
61
virtual
DtString
stringRep
()
const
;
62
65
virtual
bool
stayInLane()
const
;
66
virtual
void
setStayInLane(
bool
value);
68
71
virtual
int
netRepSize
()
const
;
72
74
virtual
bool
setFromNet
(
const
char
* contentBuffer,
75
unsigned
contentSize);
76
79
virtual
bool
setToNet
();
80
81
static
DtSetDataRequest
* creator();
82
83
protected
:
84
85
DtRwBoolean
myStayInLane
;
86
87
};
88
89
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)