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

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityTypegetExplodingObject ()
 
const EntityTypegetExplodingObject () const
 
void setExplodingObject (const EntityType &pX)
 
unsigned short getExplosiveMaterial () const
 
void setExplosiveMaterial (unsigned short pX)
 
unsigned short getPadding () const
 
void setPadding (unsigned short pX)
 
float getExplosiveForce () const
 
void setExplosiveForce (float pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const ExplosionDescriptor &rhs) const
 

Protected Attributes

EntityType _explodingObject
 Type of the object that exploded. More...
 
unsigned short _explosiveMaterial
 Material that exploded. More...
 
unsigned short _padding
 padding
 
float _explosiveForce
 Force of explosion, in equivalent KG of TNT.
 

Member Data Documentation

◆ _explodingObject

EntityType DIS::ExplosionDescriptor::_explodingObject
protected

Type of the object that exploded.

See 6.2.30

◆ _explosiveMaterial

unsigned short DIS::ExplosionDescriptor::_explosiveMaterial
protected

Material that exploded.

Can be grain dust, tnt, gasoline, etc.


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