VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
breachTask.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2001 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfutil/rwString.h
"
12
#include "
vrfutil/rwVector.h
"
13
#include <vlutil/vlNetTypes.h>
14
#include <vlpi/NetStructs.h>
15
#include <vl/hostStructs.h>
16
#include "
vrftasks/simTask.h
"
20
23
struct
DtNetBreachTask
24
{
25
DtNet64Vector
myBreachStLocation
;
26
DtNet64Vector
myBreachEndLocation
;
27
DtNetU8
myBreachTargetNameLength
;
28
DtNetEntityIdentifier
myBreachTargetId
;
29
};
30
31
#include "
vrftasks/vrftasksDefines.h
"
32
class
DT_DLL_vrftasks
DtBreachTask
:
public
DtSimTask
33
{
34
35
public
:
36
38
DtBreachTask
();
39
42
DtBreachTask
(
const
DtString
& writeName,
43
DtReaderWriterRegistry
* parentRegistry = 0);
44
46
DtBreachTask
(
const
DtString
& writeName,
const
47
DtBreachTask
& orig,
48
DtReaderWriterRegistry
* parentRegistry = 0);
49
51
const
DtBreachTask
&
operator=
(
const
DtBreachTask
& orig);
52
53
virtual
~
DtBreachTask
();
54
56
virtual
const
DtSimTaskMessageType
&
type
()
const
;
57
59
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
60
parentRegistry = 0)
const
;
61
63
virtual
DtString
stringRep
()
const
;
64
66
virtual
const
DtString
& breachTargetName()
const
;
67
virtual
void
setBreachTargetName(
const
DtString
& objName);
68
69
virtual
const
DtEntityIdentifier & breachTargetId()
const
;
70
virtual
void
setBreachTargetId(
const
DtEntityIdentifier & objId);
71
72
virtual
const
DtVector
& breachStPt()
const
;
73
virtual
void
setBreachStPt(
const
DtVector
& start);
74
75
virtual
const
DtVector
& breachEndPt()
const
;
76
virtual
void
setBreachEndPt(
const
DtVector
& end);
77
83
86
virtual
int
netRepSize
()
const
;
87
89
virtual
bool
setFromNet
(
const
char
* contentBuffer,
90
unsigned
contentSize);
91
94
virtual
bool
setToNet
();
95
96
static
DtSimTask
* creator();
97
98
protected
:
99
100
DtRwObjectName
myBreachTargetName
;
101
DtEntityIdentifier
myBreachTargetId
;
102
DtRwVector
myBreachStPoint
;
103
DtRwVector
myBreachEndPoint
;
104
105
};
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
)