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
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/setDataRequest.h
"
15
#include "
vrfutil/rwString.h
"
16
#include "
vrfutil/rwReal.h
"
17
#include "vlpi/netStructs.h"
18
#include "
vrftasks/radioMessageTypes.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 Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)