#include <Fire_PDU.h>
|
| virtual void | Decode (KDataStream &stream, bool ignoreHeader=false) throw ( KException ) |
| | Description: Convert From Network Data. More...
|
| |
| virtual KDataStream | Encode () const |
| | Description: Convert To Network Data. More...
|
| |
| virtual void | Encode (KDataStream &stream) const |
| |
| | Fire_PDU () |
| |
| | Fire_PDU (KDataStream &stream) throw ( KException ) |
| |
| | Fire_PDU (const Header &H, KDataStream &stream) throw ( KException ) |
| |
| | Fire_PDU (const Warfare_Header &WarfareHeader, KUINT32 FireMissionIndex, const KDIS::DATA_TYPE::WorldCoordinates &Location, KDIS::DATA_TYPE::DescPtr Desc, const KDIS::DATA_TYPE::Vector &Velocity, KFLOAT32 Range) |
| |
| | Fire_PDU (const KDIS::DATA_TYPE::EntityIdentifier &FiringEntID, const KDIS::DATA_TYPE::EntityIdentifier &TargetEntID, const KDIS::DATA_TYPE::EntityIdentifier &MunitionID, const KDIS::DATA_TYPE::EntityIdentifier &EventID, KUINT32 FireMissionIndex, const KDIS::DATA_TYPE::WorldCoordinates &Location, KDIS::DATA_TYPE::DescPtr Desc, const KDIS::DATA_TYPE::Vector &Velocity, KFLOAT32 Range) |
| |
| virtual KString | GetAsString () const |
| | Description: Returns a string representation of the PDU. More...
|
| |
| const KDIS::DATA_TYPE::DescPtr | GetDescriptor () const |
| |
| KDIS::DATA_TYPE::DescPtr | GetDescriptor () |
| |
| KUINT32 | GetFireMissionIndex () const |
| |
const
KDIS::DATA_TYPE::WorldCoordinates & | GetLocation () const |
| |
| KDIS::DATA_TYPE::WorldCoordinates & | GetLocation () |
| |
| KDIS::DATA_TYPE::ENUMS::FireType | GetPDUStatusFireType () const |
| |
| KFLOAT32 | GetRange () const |
| |
| const KDIS::DATA_TYPE::Vector & | GetVelocity () const |
| |
| KDIS::DATA_TYPE::Vector & | GetVelocity () |
| |
| KBOOL | operator!= (const Fire_PDU &Value) const |
| |
| KBOOL | operator== (const Fire_PDU &Value) const |
| |
| void | SetDescriptor (KDIS::DATA_TYPE::DescPtr D) |
| |
| void | SetFireMissionIndex (KUINT32 FMI) |
| |
| void | SetLocation (const KDIS::DATA_TYPE::WorldCoordinates &L) |
| |
| void | SetPDUStatusFireType (KDIS::DATA_TYPE::ENUMS::FireType FT) |
| | Description: Indicates the descriptor type used. FTI. More...
|
| |
| void | SetRange (KFLOAT32 R) |
| |
| void | SetVelocity (const KDIS::DATA_TYPE::Vector &V) |
| | Description: Velocity of fire munition. More...
|
| |
| virtual | ~Fire_PDU () |
| |
Description: Indicates the descriptor type used. FTI.
| void SetFireMissionIndex |
( |
KUINT32 |
FMI | ) |
|
Description: Identifies the fire mission. If unknown value will be symbolic value: NO_FIRE_MISSION
| KUINT32 GetFireMissionIndex |
( |
| ) |
const |
Description: Location of fire event in world coordinates.
Description: Descriptor, describes type of munition. Pre DIS 7 this will always be a MunitionDescriptor. In DIS 7 a Fire PDU can send a Munition Descriptor or an Expendable Descriptor. Setting this in DIS 7 will automatically set the FTI (PDUStatusFireType) field and will cause the protocol version to change to 7 if the type is Expendable. I leave it as default if the type is Munition. Note: By default this value will be a MunitionDescriptor, it is not null by default. Example usage in DIS 7: SetDescriptor( DescPtr( new ExplosionDescriptor() ) );
Description: Velocity of fire munition.
Description: Range. Range that firing entity has calculated target to be.
| virtual KString GetAsString |
( |
| ) |
const |
|
virtual |
Description: Returns a string representation of the PDU.
Reimplemented from Warfare_Header.
Description: Convert From Network Data.
Reimplemented from Warfare_Header.
Description: Convert To Network Data.
Reimplemented from Warfare_Header.
The documentation for this class was generated from the following file: