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

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityIDgetMunitionID ()
 
const EntityIDgetMunitionID () const
 
void setMunitionID (const EntityID &pX)
 
EventIDgetEventID ()
 
const EventIDgetEventID () const
 
void setEventID (const EventID &pX)
 
Vector3FloatgetVelocity ()
 
const Vector3FloatgetVelocity () const
 
void setVelocity (const Vector3Float &pX)
 
Vector3DoublegetLocationInWorldCoordinates ()
 
const Vector3DoublegetLocationInWorldCoordinates () const
 
void setLocationInWorldCoordinates (const Vector3Double &pX)
 
BurstDescriptorgetBurstDescriptor ()
 
const BurstDescriptorgetBurstDescriptor () const
 
void setBurstDescriptor (const BurstDescriptor &pX)
 
Vector3FloatgetLocationInEntityCoordinates ()
 
const Vector3FloatgetLocationInEntityCoordinates () const
 
void setLocationInEntityCoordinates (const Vector3Float &pX)
 
unsigned char getDetonationResult () const
 
void setDetonationResult (unsigned char pX)
 
unsigned char getNumberOfArticulationParameters () const
 
short getPad () const
 
void setPad (short pX)
 
std::vector< ArticulationParameter > & getArticulationParameters ()
 
const std::vector< ArticulationParameter > & getArticulationParameters () const
 
void setArticulationParameters (const std::vector< ArticulationParameter > &pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const DetonationPdu &rhs) const
 
virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityIDgetExplodingEntityID ()
 
const EntityIDgetExplodingEntityID () const
 
void setExplodingEntityID (const EntityID &pX)
 
EventIdentifiergetEventID ()
 
const EventIdentifiergetEventID () const
 
void setEventID (const EventIdentifier &pX)
 
Vector3FloatgetVelocity ()
 
const Vector3FloatgetVelocity () const
 
void setVelocity (const Vector3Float &pX)
 
Vector3DoublegetLocationInWorldCoordinates ()
 
const Vector3DoublegetLocationInWorldCoordinates () const
 
void setLocationInWorldCoordinates (const Vector3Double &pX)
 
MunitionDescriptorgetDescriptor ()
 
const MunitionDescriptorgetDescriptor () const
 
void setDescriptor (const MunitionDescriptor &pX)
 
Vector3FloatgetLocationOfEntityCoordinates ()
 
const Vector3FloatgetLocationOfEntityCoordinates () const
 
void setLocationOfEntityCoordinates (const Vector3Float &pX)
 
unsigned char getDetonationResult () const
 
void setDetonationResult (unsigned char pX)
 
unsigned char getNumberOfVariableParameters () const
 
unsigned short getPad () const
 
void setPad (unsigned short pX)
 
std::vector< VariableParameter > & getVariableParameters ()
 
const std::vector< VariableParameter > & getVariableParameters () const
 
void setVariableParameters (const std::vector< VariableParameter > &pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const DetonationPdu &rhs) const
 
- Public Member Functions inherited from DIS::WarfareFamilyPdu
EntityIDgetFiringEntityID ()
 
const EntityIDgetFiringEntityID () const
 
void setFiringEntityID (const EntityID &pX)
 
EntityIDgetTargetEntityID ()
 
const EntityIDgetTargetEntityID () const
 
void setTargetEntityID (const EntityID &pX)
 
bool operator== (const WarfareFamilyPdu &rhs) const
 
EntityIDgetFiringEntityID ()
 
const EntityIDgetFiringEntityID () const
 
void setFiringEntityID (const EntityID &pX)
 
EntityIDgetTargetEntityID ()
 
const EntityIDgetTargetEntityID () const
 
void setTargetEntityID (const EntityID &pX)
 
bool operator== (const WarfareFamilyPdu &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 _munitionID
 ID of muntion that was fired.
 
EventID _eventID
 ID firing event.
 
Vector3Float _velocity
 ID firing event. More...
 
Vector3Double _locationInWorldCoordinates
 where the detonation is, in world coordinates More...
 
BurstDescriptor _burstDescriptor
 Describes munition used.
 
Vector3Float _locationInEntityCoordinates
 location of the detonation or impact in the target entity's coordinate system. More...
 
unsigned char _detonationResult
 result of the explosion More...
 
unsigned char _numberOfArticulationParameters
 How many articulation parameters we have.
 
short _pad
 padding
 
std::vector< ArticulationParameter_articulationParameters
 
EntityID _explodingEntityID
 ID of the expendable entity, Section 7.3.3.
 
EventIdentifier _eventID
 ID of event, Section 7.3.3.
 
MunitionDescriptor _descriptor
 Describes the detonation represented, Section 7.3.3.
 
Vector3Float _locationOfEntityCoordinates
 Velocity of the ammunition, Section 7.3.3.
 
unsigned char _numberOfVariableParameters
 How many articulation parameters we have, Section 7.3.3.
 
unsigned short _pad
 padding
 
std::vector< VariableParameter_variableParameters
 specify the parameter values for each Variable Parameter record, Section 7.3.3
 
- Protected Attributes inherited from DIS::WarfareFamilyPdu
EntityID _firingEntityID
 ID of the entity that shot.
 
EntityID _targetEntityID
 ID of the entity that is being shot at.
 
- 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

◆ _detonationResult

unsigned char DIS::DetonationPdu::_detonationResult
protected

result of the explosion

result of the detonation, Section 7.3.3

◆ _locationInEntityCoordinates

Vector3Float DIS::DetonationPdu::_locationInEntityCoordinates
protected

location of the detonation or impact in the target entity's coordinate system.

This information should be used for damage assessment.

◆ _locationInWorldCoordinates

Vector3Double DIS::DetonationPdu::_locationInWorldCoordinates
protected

where the detonation is, in world coordinates

location of the munition detonation, the expendable detonation, Section 7.3.3

◆ _velocity

Vector3Float DIS::DetonationPdu::_velocity
protected

ID firing event.

velocity of the munition immediately before detonation/impact, Section 7.3.3


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