VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
patrolPtTask.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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)