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

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
unsigned int getRecordType () const
 
void setRecordType (unsigned int pX)
 
unsigned short getRecordLength () const
 
void setRecordLength (unsigned short pX)
 
unsigned short getPadding () const
 
void setPadding (unsigned short pX)
 
Vector3FloatgetDamageLocation ()
 
const Vector3FloatgetDamageLocation () const
 
void setDamageLocation (const Vector3Float &pX)
 
float getDamageDiameter () const
 
void setDamageDiameter (float pX)
 
float getTemperature () const
 
void setTemperature (float pX)
 
unsigned char getComponentIdentification () const
 
void setComponentIdentification (unsigned char pX)
 
unsigned char getComponentDamageStatus () const
 
void setComponentDamageStatus (unsigned char pX)
 
unsigned char getComponentVisualDamageStatus () const
 
void setComponentVisualDamageStatus (unsigned char pX)
 
unsigned char getComponentVisualSmokeColor () const
 
void setComponentVisualSmokeColor (unsigned char pX)
 
EventIdentifiergetFireEventID ()
 
const EventIdentifiergetFireEventID () const
 
void setFireEventID (const EventIdentifier &pX)
 
unsigned short getPadding2 () const
 
void setPadding2 (unsigned short pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const DirectedEnergyDamage &rhs) const
 

Protected Attributes

unsigned int _recordType
 DE Record Type. More...
 
unsigned short _recordLength
 DE Record Length (bytes). More...
 
unsigned short _padding
 padding. More...
 
Vector3Float _damageLocation
 location of damage, relative to center of entity
 
float _damageDiameter
 Size of damaged area, in meters. More...
 
float _temperature
 average temp of the damaged area, in degrees celsius. More...
 
unsigned char _componentIdentification
 enumeration
 
unsigned char _componentDamageStatus
 enumeration
 
unsigned char _componentVisualDamageStatus
 enumeration
 
unsigned char _componentVisualSmokeColor
 enumeration
 
EventIdentifier _fireEventID
 For any component damage resulting this field shall be set to the fire event ID from that PDU. More...
 
unsigned short _padding2
 padding
 

Member Data Documentation

◆ _damageDiameter

float DIS::DirectedEnergyDamage::_damageDiameter
protected

Size of damaged area, in meters.

◆ _fireEventID

EventIdentifier DIS::DirectedEnergyDamage::_fireEventID
protected

For any component damage resulting this field shall be set to the fire event ID from that PDU.

◆ _padding

unsigned short DIS::DirectedEnergyDamage::_padding
protected

padding.

◆ _recordLength

unsigned short DIS::DirectedEnergyDamage::_recordLength
protected

DE Record Length (bytes).

◆ _recordType

unsigned int DIS::DirectedEnergyDamage::_recordType
protected

DE Record Type.

◆ _temperature

float DIS::DirectedEnergyDamage::_temperature
protected

average temp of the damaged area, in degrees celsius.

If firing entitty does not model this, use a value of -273.15


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