VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
setConvoyFollowTarget.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
14
#include "
vrftasks/setDataReq.h
"
15
#include "
vrfutil/rwString.h
"
16
#include "
vrfutil/rwReal.h
"
17
#include "vlpi/NetStructs.h"
18
#include "
vrftasks/radioMsgTypes.h
"
19
23
#include "
vrftasks/vrftasksDefines.h
"
24
class
DT_DLL_vrftasks
DtSetConvoyFollowTarget
:
public
DtSetDataRequest
25
{
26
27
public
:
28
30
DtSetConvoyFollowTarget
();
31
34
DtSetConvoyFollowTarget
(
const
DtString
& writeName,
35
DtReaderWriterRegistry
* parentRegistry = 0);
36
38
DtSetConvoyFollowTarget
(
const
DtString
& writeName,
const
DtSetConvoyFollowTarget
&
39
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
40
42
const
DtSetConvoyFollowTarget
&
operator=
(
const
DtSetConvoyFollowTarget
& orig);
43
44
virtual
~
DtSetConvoyFollowTarget
();
45
47
virtual
const
DtSetMessageType
&
type
()
const
;
48
50
virtual
DtSetDataRequest
*
clone
(
const
DtString
& name,
51
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
52
54
virtual
DtString
stringRep
()
const
;
55
57
58
virtual
const
DtString
& convoyTargetName()
const
;
59
virtual
void
setConvoyTargetName(
const
DtString
& name);
61
63
64
virtual
const
double
distanceToFollow()
const
;
65
virtual
void
setDistanceToFollow(
const
double
dist);
66
//}@
67
68
virtual
const
bool
useCatchUpSpeed()
const
;
69
virtual
void
setUseCatchUpSpeed(
const
bool
useCatchUpSpeed);
70
73
virtual
int
netRepSize
()
const
;
74
76
virtual
bool
setFromNet
(
const
char
* contentBuffer,
77
unsigned
contentSize);
78
81
virtual
bool
setToNet
();
82
83
static
DtSetDataRequest
* creator();
84
85
protected
:
86
87
DtRwObjectName
myFollowTargetName
;
88
DtRwReal
myFollowDistance
;
89
DtRwBoolean
myUseCatchUpSpeed
;
90
};
91
92
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
)