VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
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 <
readerWriter/rwString.h
>
16
#include <
readerWriter/rwReal.h
>
17
#include "vlpi/netStructs.h"
18
#include "
vrftasks/radioMessageTypes.h
"
19
#include "
vrfutil/rwUUID.h
"
20
24
#include "
vrftasks/vrftasksDefines.h
"
25
class
DT_DLL_vrftasks
DtSetConvoyFollowTarget
:
public
DtSetDataRequest
26
{
27
28
public
:
29
31
DtSetConvoyFollowTarget
();
32
35
DtSetConvoyFollowTarget
(
const
DtString
& writeName,
36
DtReaderWriterRegistry
* parentRegistry = 0);
37
39
DtSetConvoyFollowTarget
(
const
DtString
& writeName,
const
DtSetConvoyFollowTarget
&
40
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
41
43
const
DtSetConvoyFollowTarget
&
operator=
(
const
DtSetConvoyFollowTarget
& orig);
44
45
virtual
~
DtSetConvoyFollowTarget
();
46
48
virtual
const
DtSetMessageType
&
type
()
const
;
49
51
virtual
DtSetDataRequest
*
clone
(
const
DtString
& name,
52
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
53
55
virtual
DtString
stringRep
()
const
;
56
58
59
60
virtual
const
DtUUID
& followTarget()
const
;
61
63
virtual
void
setFollowTarget(
const
DtUUID
&);
65
67
68
virtual
const
double
distanceToFollow()
const
;
69
virtual
void
setDistanceToFollow(
const
double
dist);
70
//}@
71
72
virtual
const
bool
useCatchUpSpeed()
const
;
73
virtual
void
setUseCatchUpSpeed(
const
bool
useCatchUpSpeed);
74
77
virtual
int
netRepSize
()
const
;
78
80
virtual
bool
setFromNet
(
const
char
* contentBuffer,
81
unsigned
contentSize);
82
85
virtual
bool
setToNet
();
86
87
static
DtSetDataRequest
* creator();
88
89
protected
:
90
91
DtRwUUID
myFollowTarget
;
92
DtRwReal
myFollowDistance
;
93
DtRwBoolean
myUseCatchUpSpeed
;
94
};
95
96
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)