3 #include <dis6/EntityID.h> 4 #include <dis6/EntityType.h> 5 #include <dis6/Vector3Double.h> 6 #include <dis6/Orientation.h> 7 #include <dis6/Point.h> 8 #include <dis6/EntityType.h> 10 #include <dis6/MinefieldFamilyPdu.h> 11 #include <dis6/utils/DataStream.h> 12 #include <dis6/opendis6_export.h> 67 virtual void marshal(
DataStream& dataStream)
const;
68 virtual void unmarshal(
DataStream& dataStream);
71 const EntityID& getMinefieldID()
const;
72 void setMinefieldID(
const EntityID &pX);
74 unsigned short getMinefieldSequence()
const;
75 void setMinefieldSequence(
unsigned short pX);
77 unsigned char getForceID()
const;
78 void setForceID(
unsigned char pX);
80 unsigned char getNumberOfPerimeterPoints()
const;
86 unsigned short getNumberOfMineTypes()
const;
94 void setMinefieldOrientation(
const Orientation &pX);
96 unsigned short getAppearance()
const;
97 void setAppearance(
unsigned short pX);
99 unsigned short getProtocolMode()
const;
100 void setProtocolMode(
unsigned short pX);
102 std::vector<Point>& getPerimeterPoints();
103 const std::vector<Point>& getPerimeterPoints()
const;
104 void setPerimeterPoints(
const std::vector<Point>& pX);
106 std::vector<EntityType>& getMineType();
107 const std::vector<EntityType>& getMineType()
const;
108 void setMineType(
const std::vector<EntityType>& pX);
111 virtual int getMarshalledSize()
const;
EntityType _minefieldType
type of minefield
Definition: MinefieldStatePdu.h:39
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
unsigned char _forceID
force ID
Definition: MinefieldStatePdu.h:33
a class to support managing a network buffer.
Definition: DataStream.h:28
Orientation _minefieldOrientation
orientation of minefield
Definition: MinefieldStatePdu.h:48
std::vector< EntityType > _mineType
Type of mines.
Definition: MinefieldStatePdu.h:60
Vector3Double _minefieldLocation
location of minefield in world coords
Definition: MinefieldStatePdu.h:45
unsigned short _appearance
appearance bitflags
Definition: MinefieldStatePdu.h:51
Definition: EntityID.h:15
unsigned short _numberOfMineTypes
how many mine types
Definition: MinefieldStatePdu.h:42
Definition: Vector3Double.h:15
Definition: Orientation.h:15
Definition: EntityType.h:15
EntityID _minefieldID
Minefield ID.
Definition: MinefieldStatePdu.h:27
Definition: MinefieldFamilyPdu.h:16
Definition: MinefieldStatePdu.h:23
std::vector< Point > _perimeterPoints
perimeter points for the minefield
Definition: MinefieldStatePdu.h:57
unsigned short _minefieldSequence
Minefield sequence.
Definition: MinefieldStatePdu.h:30
unsigned char _numberOfPerimeterPoints
Number of permieter points.
Definition: MinefieldStatePdu.h:36
unsigned short _protocolMode
protocolMode
Definition: MinefieldStatePdu.h:54