open-dis-cpp
Public Member Functions | Protected Attributes | List of all members
DIS::MinefieldStatePdu Class Reference
Inheritance diagram for DIS::MinefieldStatePdu:
Inheritance graph
[legend]
Collaboration diagram for DIS::MinefieldStatePdu:
Collaboration graph
[legend]

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityIDgetMinefieldID ()
 
const EntityIDgetMinefieldID () const
 
void setMinefieldID (const EntityID &pX)
 
unsigned short getMinefieldSequence () const
 
void setMinefieldSequence (unsigned short pX)
 
unsigned char getForceID () const
 
void setForceID (unsigned char pX)
 
unsigned char getNumberOfPerimeterPoints () const
 
EntityTypegetMinefieldType ()
 
const EntityTypegetMinefieldType () const
 
void setMinefieldType (const EntityType &pX)
 
unsigned short getNumberOfMineTypes () const
 
Vector3DoublegetMinefieldLocation ()
 
const Vector3DoublegetMinefieldLocation () const
 
void setMinefieldLocation (const Vector3Double &pX)
 
OrientationgetMinefieldOrientation ()
 
const OrientationgetMinefieldOrientation () const
 
void setMinefieldOrientation (const Orientation &pX)
 
unsigned short getAppearance () const
 
void setAppearance (unsigned short pX)
 
unsigned short getProtocolMode () const
 
void setProtocolMode (unsigned short pX)
 
std::vector< Point > & getPerimeterPoints ()
 
const std::vector< Point > & getPerimeterPoints () const
 
void setPerimeterPoints (const std::vector< Point > &pX)
 
std::vector< EntityType > & getMineType ()
 
const std::vector< EntityType > & getMineType () const
 
void setMineType (const std::vector< EntityType > &pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const MinefieldStatePdu &rhs) const
 
virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
MinefieldIdentifiergetMinefieldID ()
 
const MinefieldIdentifiergetMinefieldID () const
 
void setMinefieldID (const MinefieldIdentifier &pX)
 
unsigned short getMinefieldSequence () const
 
void setMinefieldSequence (unsigned short pX)
 
unsigned char getForceID () const
 
void setForceID (unsigned char pX)
 
unsigned char getNumberOfPerimeterPoints () const
 
EntityTypegetMinefieldType ()
 
const EntityTypegetMinefieldType () const
 
void setMinefieldType (const EntityType &pX)
 
unsigned short getNumberOfMineTypes () const
 
Vector3DoublegetMinefieldLocation ()
 
const Vector3DoublegetMinefieldLocation () const
 
void setMinefieldLocation (const Vector3Double &pX)
 
EulerAnglesgetMinefieldOrientation ()
 
const EulerAnglesgetMinefieldOrientation () const
 
void setMinefieldOrientation (const EulerAngles &pX)
 
unsigned short getAppearance () const
 
void setAppearance (unsigned short pX)
 
unsigned short getProtocolMode () const
 
void setProtocolMode (unsigned short pX)
 
std::vector< Vector2Float > & getPerimeterPoints ()
 
const std::vector< Vector2Float > & getPerimeterPoints () const
 
void setPerimeterPoints (const std::vector< Vector2Float > &pX)
 
std::vector< EntityType > & getMineType ()
 
const std::vector< EntityType > & getMineType () const
 
void setMineType (const std::vector< EntityType > &pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const MinefieldStatePdu &rhs) const
 
- Public Member Functions inherited from DIS::MinefieldFamilyPdu
bool operator== (const MinefieldFamilyPdu &rhs) const
 
bool operator== (const MinefieldFamilyPdu &rhs) const
 
- Public Member Functions inherited from DIS::Pdu
unsigned char getProtocolVersion () const
 
void setProtocolVersion (unsigned char pX)
 
unsigned char getExerciseID () const
 
void setExerciseID (unsigned char pX)
 
unsigned char getPduType () const
 
void setPduType (unsigned char pX)
 
unsigned char getProtocolFamily () const
 
void setProtocolFamily (unsigned char pX)
 
unsigned int getTimestamp () const
 
void setTimestamp (unsigned int pX)
 
unsigned short getLength () const
 
void setLength (unsigned short pX)
 
short getPadding () const
 
void setPadding (short pX)
 
bool operator== (const Pdu &rhs) const
 
unsigned char getPduStatus () const
 
void setPduStatus (unsigned char pX)
 
unsigned char getPadding () const
 
void setPadding (unsigned char pX)
 
bool operator== (const Pdu &rhs) const
 
- Public Member Functions inherited from DIS::PduSuperclass
unsigned char getProtocolVersion () const
 
void setProtocolVersion (unsigned char pX)
 
unsigned char getExerciseID () const
 
void setExerciseID (unsigned char pX)
 
unsigned char getPduType () const
 
void setPduType (unsigned char pX)
 
unsigned char getProtocolFamily () const
 
void setProtocolFamily (unsigned char pX)
 
unsigned int getTimestamp () const
 
void setTimestamp (unsigned int pX)
 
unsigned short getLength () const
 
void setLength (unsigned short pX)
 
bool operator== (const PduSuperclass &rhs) const
 

Protected Attributes

EntityID _minefieldID
 Minefield ID.
 
unsigned short _minefieldSequence
 Minefield sequence.
 
unsigned char _forceID
 force ID
 
unsigned char _numberOfPerimeterPoints
 Number of permieter points.
 
EntityType _minefieldType
 type of minefield
 
unsigned short _numberOfMineTypes
 how many mine types
 
Vector3Double _minefieldLocation
 location of minefield in world coords More...
 
Orientation _minefieldOrientation
 orientation of minefield
 
unsigned short _appearance
 appearance bitflags
 
unsigned short _protocolMode
 protocolMode More...
 
std::vector< Point_perimeterPoints
 perimeter points for the minefield
 
std::vector< EntityType_mineType
 Type of mines.
 
MinefieldIdentifier _minefieldID
 Minefield ID.
 
EulerAngles _minefieldOrientation
 orientation of minefield
 
std::vector< Vector2Float_perimeterPoints
 perimeter points for the minefield
 
- Protected Attributes inherited from DIS::Pdu
unsigned char _protocolVersion
 The version of the protocol. More...
 
unsigned char _exerciseID
 Exercise ID.
 
unsigned char _pduType
 Type of pdu, unique for each PDU class.
 
unsigned char _protocolFamily
 value that refers to the protocol family, eg SimulationManagement, et
 
unsigned int _timestamp
 Timestamp value.
 
unsigned short _length
 Length, in bytes, of the PDU.
 
short _padding
 zero-filled array of padding
 
unsigned char _pduStatus
 PDU Status Record. More...
 
unsigned char _padding
 zero-filled array of padding
 
- Protected Attributes inherited from DIS::PduSuperclass
unsigned char _protocolVersion
 The version of the protocol. More...
 
unsigned char _exerciseID
 Exercise ID.
 
unsigned char _pduType
 Type of pdu, unique for each PDU class.
 
unsigned char _protocolFamily
 value that refers to the protocol family, eg SimulationManagement, et
 
unsigned int _timestamp
 Timestamp value.
 
unsigned short _length
 Length, in bytes, of the PDU.
 

Member Data Documentation

◆ _minefieldLocation

Vector3Double DIS::MinefieldStatePdu::_minefieldLocation
protected

location of minefield in world coords

location of center of minefield in world coords

◆ _protocolMode

unsigned short DIS::MinefieldStatePdu::_protocolMode
protected

protocolMode

protocolMode.

First two bits are the protocol mode, 14 bits reserved.


The documentation for this class was generated from the following files: