VR-Forces 4.6.1 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
vrfmsgs
ifSpawnBreach.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2001 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/********************************************************************
6
** $RCSfile: ifSpawnBreach.h,v $ $Revision: 1.7 $ $State: Exp $
7
** Created: 6/28/01, MEM Updated:1/2/02
8
*********************************************************************/
9
12
13
#ifndef DtIfSpawnBreach_H_
14
#define DtIfSpawnBreach_H_
15
16
#include <matrix/vlVector.h>
17
#include <
vrfExtProtocol/simInterfaceContent.h
>
18
#include <vl/hostStructs.h>
19
#include <
vrfExtProtocol/objectType.h
>
20
21
24
struct
DtNetIfSpawnBreach
25
{
26
DtNetEntityType
myEntityType
;
27
DtNet64Vector
myBreachStartPoint
;
28
DtNet64Vector
myBreachEndPoint
;
29
DtNet64Vector
myBreachPosition
;
30
DtNetEntityIdentifier
myBreachedObjectId
;
31
DtNetU8
mySuperType
;
32
};
33
40
#include "
vrfmsgs/vrfmsgsDefines.h
"
41
class
DT_DLL_vrfmsgs
DtIfSpawnBreach
:
public
DtSimInterfaceContent
42
{
43
public
:
44
46
DtIfSpawnBreach
();
47
49
virtual
~
DtIfSpawnBreach
();
50
52
DtIfSpawnBreach
(
const
DtIfSpawnBreach
& orig);
53
55
DtIfSpawnBreach
&
operator=
(
const
DtIfSpawnBreach
& orig);
56
58
virtual
int
type
()
const
;
59
60
virtual
DtSimInterfaceContent
*
clone
()
const
;
61
64
virtual
const
DtVector
& breachStartPoint()
const
;
65
virtual
void
setBreachStartPoint(
const
DtVector
& stPoint);
66
67
virtual
const
DtVector
& breachEndPoint()
const
;
68
virtual
void
setBreachEndPoint(
const
DtVector
& endPoint);
69
70
virtual
const
DtVector
& breachPosition()
const
;
71
virtual
void
setBreachPosition(
const
DtVector
& point);
72
75
virtual
const
DtObjectType
& breachType()
const
;
76
virtual
void
setBreachType(
const
DtObjectType
& type);
77
78
virtual
const
DtEntityIdentifier& breachedObjectId()
const
;
79
virtual
void
setBreachedObjectId(
const
DtEntityIdentifier&
id
);
80
81
//evil net representation stuff
82
virtual
int
netRepSize
()
const
;
83
84
virtual
bool
setFromNet
(
const
char
* contentBuffer,
85
unsigned
contentSize);
86
87
virtual
bool
setToNet
();
88
89
virtual
void
printDataToString
(
DtString
& str);
90
91
static
DtSimInterfaceContent
* creator();
92
93
94
protected
:
95
96
DtObjectType
myBreachType
;
97
DtVector
myBreachPosition
;
98
DtVector
myBreachEndPoint
;
99
DtVector
myBreachStartPoint
;
100
DtEntityIdentifier
myBreachedObjectId
;
101
102
};
103
104
#endif
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)