3 #include <dis6/EntityID.h> 4 #include <dis6/EntityID.h> 5 #include <dis6/EntityType.h> 6 #include <dis6/Point.h> 7 #include <dis6/TwoByteChunk.h> 9 #include <dis6/MinefieldFamilyPdu.h> 10 #include <dis6/utils/DataStream.h> 11 #include <dis6/opendis6_export.h> 60 virtual void marshal(
DataStream& dataStream)
const;
61 virtual void unmarshal(
DataStream& dataStream);
64 const EntityID& getMinefieldID()
const;
65 void setMinefieldID(
const EntityID &pX);
68 const EntityID& getRequestingEntityID()
const;
69 void setRequestingEntityID(
const EntityID &pX);
71 unsigned char getRequestID()
const;
72 void setRequestID(
unsigned char pX);
74 unsigned char getNumberOfPerimeterPoints()
const;
76 unsigned char getPad2()
const;
77 void setPad2(
unsigned char pX);
79 unsigned char getNumberOfSensorTypes()
const;
81 unsigned int getDataFilter()
const;
82 void setDataFilter(
unsigned int pX);
85 const EntityType& getRequestedMineType()
const;
86 void setRequestedMineType(
const EntityType &pX);
88 std::vector<Point>& getRequestedPerimeterPoints();
89 const std::vector<Point>& getRequestedPerimeterPoints()
const;
90 void setRequestedPerimeterPoints(
const std::vector<Point>& pX);
92 std::vector<TwoByteChunk>& getSensorTypes();
93 const std::vector<TwoByteChunk>& getSensorTypes()
const;
94 void setSensorTypes(
const std::vector<TwoByteChunk>& pX);
97 virtual int getMarshalledSize()
const;
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
a class to support managing a network buffer.
Definition: DataStream.h:28
unsigned char _numberOfPerimeterPoints
Number of perimeter points for the minefield.
Definition: MinefieldQueryPdu.h:35
EntityID _requestingEntityID
EID of entity making the request.
Definition: MinefieldQueryPdu.h:29
EntityID _minefieldID
Minefield ID.
Definition: MinefieldQueryPdu.h:26
unsigned int _dataFilter
data filter, 32 boolean fields
Definition: MinefieldQueryPdu.h:44
std::vector< TwoByteChunk > _sensorTypes
Sensor types, each 16 bits long.
Definition: MinefieldQueryPdu.h:53
Definition: EntityID.h:15
std::vector< Point > _requestedPerimeterPoints
perimeter points of request
Definition: MinefieldQueryPdu.h:50
Definition: EntityType.h:15
Definition: MinefieldFamilyPdu.h:16
unsigned char _numberOfSensorTypes
Number of sensor types.
Definition: MinefieldQueryPdu.h:41
unsigned char _requestID
request ID
Definition: MinefieldQueryPdu.h:32
EntityType _requestedMineType
Entity type of mine being requested.
Definition: MinefieldQueryPdu.h:47
unsigned char _pad2
Padding.
Definition: MinefieldQueryPdu.h:38
Definition: MinefieldQueryPdu.h:22