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
patrolTwoPointsTask.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
15
#pragma once
16
17
#include "
vrftasks/simTask.h
"
18
#include "
vrfutil/rwString.h
"
19
#include <vlutil/vlNetTypes.h>
20
21
25
struct
DtNetPatrolTwoPointsTask
26
{
27
DtNetU8
myFirstControlPtNameLength
;
28
DtNetU8
mySecondControlPtNameLength
;
29
};
30
52
#include "
vrftasks/vrftasksDefines.h
"
53
class
DT_DLL_vrftasks
DtPatrolTwoPointsTask
:
public
DtSimTask
54
{
55
56
public
:
57
59
DtPatrolTwoPointsTask
();
60
63
DtPatrolTwoPointsTask
(
const
DtString
& writeName,
64
DtReaderWriterRegistry
* parentRegistry = 0);
65
67
DtPatrolTwoPointsTask
(
const
DtString
& writeName,
const
68
DtPatrolTwoPointsTask
& orig,
DtReaderWriterRegistry
* parentRegistry = 0);
69
71
const
DtPatrolTwoPointsTask
&
operator=
(
const
DtPatrolTwoPointsTask
& orig);
72
73
virtual
~
DtPatrolTwoPointsTask
();
74
75
virtual
const
DtSimTaskMessageType
&
type
()
const
;
76
78
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
79
parentRegistry = 0)
const
;
80
82
virtual
DtString
stringRep
()
const
;
83
84
virtual
const
DtString
& firstControlPtName()
const
;
85
virtual
void
setFirstControlPtName(
const
DtString
& cpName);
86
87
virtual
const
DtString
& secondControlPtName()
const
;
88
virtual
void
setSecondControlPtName(
const
DtString
& cpName);
89
92
virtual
int
netRepSize
()
const
;
93
95
virtual
bool
setFromNet
(
const
char
* contentBuffer,
96
unsigned
contentSize);
97
100
virtual
bool
setToNet
();
101
102
static
DtSimTask
* creator();
103
104
protected
:
105
106
DtRwObjectName
myFirstControlPtName
;
107
DtRwObjectName
mySecondControlPtName
;
108
109
};
110
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
)