VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
DetonateMessage Class Reference
+ Inheritance diagram for DetonateMessage:
+ Collaboration diagram for DetonateMessage:

Classes

struct  ArtPart
struct  Parameter

Public Types

enum  FuzeType {
  FuzeType_OTHER = 0, FuzeType_CONTACT = 1000, FuzeType_CONTACTINSTANT = 1100, FuzeType_CONTACTDELAYED = 1200,
  FuzeType_TIMED = 2000, FuzeType_PROXIMITY = 3000, FuzeType_COMMAND = 4000, FuzeType_ALTITUDE = 5000,
  FuzeType_DEPTH = 6000, FuzeType_ACOUSTIC = 7000
}
enum  ResultType {
  ResultType_OTHER, ResultType_ENTITYIMPACT, ResultType_ENTITYPROXIMATE, ResultType_GROUNDIMPACT,
  ResultType_GROUNDPROXIMATE, ResultType_DETONATION, ResultType_NONE, ResultType_HE_SMALL,
  ResultType_HE_MEDIUM, ResultType_HE_LARGE, ResultType_ARMORPEIRCING, ResultType_DIRTBLAST_SMALL,
  ResultType_DIRTBLAST_MEDIUM, ResultType_DIRTBLAST_LARGE, ResultType_WATERBLAST_SMALL, ResultType_WATERBLAST_MEDIUM,
  ResultType_WATERBLAST_LARGE, ResultType_CLEARINGLINECHARGE, ResultType_ENVIRONMENTALOBJECTIMPACT, ResultType_ENVIRONMENTALOBJECTPROXIMATE,
  ResultType_WATERIMPACT, ResultType_AIRBURST
}
enum  WarheadType {
  WarheadType_OTHER = 0, WarheadType_HIGHEXPLOSIVE = 1000, WarheadType_HIGHEXPLOSIVEPLATIC = 1100, WarheadType_HIGHEXPLOSIVEINCENDIARY = 1200,
  WarheadType_HIGHEXPLOSIVEFRAGMENTATION = 1300, WarheadType_HIGHEXPLOSIVEANTITANK = 1400, WarheadType_HIGHEXPLOSIVEBOMBLETS = 1500, WarheadType_HIGHEXPLOSIVESHAPEDCHARGE = 1600,
  WarheadType_SMOKE = 2000, WarheadType_ILLUMINATION = 3000, WarheadType_PRACTICE = 4000, WarheadType_KINETIC = 5000,
  WarheadType_UNUSED = 6000, WarheadType_NUCLEAR = 7000, WarheadType_CHEMICALGENERAL = 8000, WarheadType_CHEMICALBLISTER = 8100,
  WarheadType_CHEMICALBLOOD = 8200, WarheadType_CHEMICALNERVE = 8300, WarheadType_BIOLOGICALGENERAL = 9000
}
enum  ParameterTypes {
  ParameterTypes_POSITION = 1, ParameterTypes_POSITIONRATE = 2, ParameterTypes_EXTENSION = 3, ParameterTypes_EXTENSIONRATE = 4,
  ParameterTypes_X = 5, ParameterTypes_XRATE = 6, ParameterTypes_Y = 7, ParameterTypes_YRATE = 8,
  ParameterTypes_Z = 9, ParameterTypes_ZRATE = 10, ParameterTypes_AZIMUTH = 11, ParameterTypes_AZIMUTHRATE = 12,
  ParameterTypes_ELEVATION = 13, ParameterTypes_ELEVATIONRATE = 14, ParameterTypes_ROTATION = 15, ParameterTypes_ROTATIONRATE = 16
}

Public Member Functions

 DetonateMessage ()
virtual ~DetonateMessage ()
virtual std::string getFiringId ()
virtual void setFiringId (std::string val)
virtual std::string getTargetId ()
virtual void setTargetId (std::string val)
virtual std::string getMunitionId ()
virtual void setMunitionId (std::string val)
virtual DtVector getWorldPosition ()
virtual void setWorldPosition (DtVector val)
virtual DtVector32 getVelocity ()
virtual void setVelocity (DtVector32 val)
virtual int getEventId ()
virtual void setEventId (int val)
virtual DtEntityType getMunitionType ()
virtual void setMunitionType (DtEntityType val)
virtual FuzeType getFuzeType ()
virtual void setFuzeType (FuzeType val)
virtual WarheadType getWarheadType ()
virtual void setWarheadType (WarheadType val)
virtual int getQuantity ()
virtual void setQuantity (int val)
virtual int getRate ()
virtual void setRate (int val)
virtual DtVector32 getEntityLocation ()
virtual void setEntityLocation (DtVector32 val)
virtual ResultType getResult ()
virtual void setResult (ResultType val)
virtual std::vector< ArtPartgetArticulatedParts ()
virtual void setArticulatedParts (std::vector< ArtPart > val)
virtual int messageSize ()
 this function needs to be in each derived class for decoding
- Public Member Functions inherited from DtMessage
 DtMessage ()
 constructor
virtual ~DtMessage ()
 destructor
virtual std::string name () const
 Get the name of the message type.
virtual unsigned char * encode ()
 Encode the message as an array of bytes and return the bytes.

Static Public Member Functions

static DtMessagedecode (unsigned char *buffer, int length)
static std::string theMessageName ()

Protected Member Functions

virtual void serialize (DtStreamWriter &writer)
virtual void deserialize (DtStreamReader &reader)

Protected Attributes

std::string myFiringId
std::string myTargetId
std::string myMunitionId
DtVector myWorldPosition
DtVector32 myVelocity
int myEventId
DtEntityType myMunitionType
FuzeType myFuzeType
WarheadType myWarheadType
int myQuantity
int myRate
DtVector32 myEntityLocation
ResultType myResult
std::vector< ArtPartmyArticulatedParts
- Protected Attributes inherited from DtMessage
std::string myName

Static Protected Attributes

static std::string theFullName

Detailed Description

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!This is an auto-generated file. Any changes will be destroyed!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Member Enumeration Documentation

Enumerator:
FuzeType_OTHER 
FuzeType_CONTACT 
FuzeType_CONTACTINSTANT 
FuzeType_CONTACTDELAYED 
FuzeType_TIMED 
FuzeType_PROXIMITY 
FuzeType_COMMAND 
FuzeType_ALTITUDE 
FuzeType_DEPTH 
FuzeType_ACOUSTIC 
Enumerator:
ParameterTypes_POSITION 
ParameterTypes_POSITIONRATE 
ParameterTypes_EXTENSION 
ParameterTypes_EXTENSIONRATE 
ParameterTypes_X 
ParameterTypes_XRATE 
ParameterTypes_Y 
ParameterTypes_YRATE 
ParameterTypes_Z 
ParameterTypes_ZRATE 
ParameterTypes_AZIMUTH 
ParameterTypes_AZIMUTHRATE 
ParameterTypes_ELEVATION 
ParameterTypes_ELEVATIONRATE 
ParameterTypes_ROTATION 
ParameterTypes_ROTATIONRATE 
Enumerator:
ResultType_OTHER 
ResultType_ENTITYIMPACT 
ResultType_ENTITYPROXIMATE 
ResultType_GROUNDIMPACT 
ResultType_GROUNDPROXIMATE 
ResultType_DETONATION 
ResultType_NONE 
ResultType_HE_SMALL 
ResultType_HE_MEDIUM 
ResultType_HE_LARGE 
ResultType_ARMORPEIRCING 
ResultType_DIRTBLAST_SMALL 
ResultType_DIRTBLAST_MEDIUM 
ResultType_DIRTBLAST_LARGE 
ResultType_WATERBLAST_SMALL 
ResultType_WATERBLAST_MEDIUM 
ResultType_WATERBLAST_LARGE 
ResultType_CLEARINGLINECHARGE 
ResultType_ENVIRONMENTALOBJECTIMPACT 
ResultType_ENVIRONMENTALOBJECTPROXIMATE 
ResultType_WATERIMPACT 
ResultType_AIRBURST 
Enumerator:
WarheadType_OTHER 
WarheadType_HIGHEXPLOSIVE 
WarheadType_HIGHEXPLOSIVEPLATIC 
WarheadType_HIGHEXPLOSIVEINCENDIARY 
WarheadType_HIGHEXPLOSIVEFRAGMENTATION 
WarheadType_HIGHEXPLOSIVEANTITANK 
WarheadType_HIGHEXPLOSIVEBOMBLETS 
WarheadType_HIGHEXPLOSIVESHAPEDCHARGE 
WarheadType_SMOKE 
WarheadType_ILLUMINATION 
WarheadType_PRACTICE 
WarheadType_KINETIC 
WarheadType_UNUSED 
WarheadType_NUCLEAR 
WarheadType_CHEMICALGENERAL 
WarheadType_CHEMICALBLISTER 
WarheadType_CHEMICALBLOOD 
WarheadType_CHEMICALNERVE 
WarheadType_BIOLOGICALGENERAL 

Constructor & Destructor Documentation

DetonateMessage::DetonateMessage ( )
virtual DetonateMessage::~DetonateMessage ( )
virtual

Member Function Documentation

static DtMessage* DetonateMessage::decode ( unsigned char *  buffer,
int  length 
)
static
virtual void DetonateMessage::deserialize ( DtStreamReader reader)
protectedvirtual

Reimplemented from DtMessage.

virtual std::vector<ArtPart> DetonateMessage::getArticulatedParts ( )
virtual
virtual DtVector32 DetonateMessage::getEntityLocation ( )
virtual
virtual int DetonateMessage::getEventId ( )
virtual
virtual std::string DetonateMessage::getFiringId ( )
virtual
virtual FuzeType DetonateMessage::getFuzeType ( )
virtual
virtual std::string DetonateMessage::getMunitionId ( )
virtual
virtual DtEntityType DetonateMessage::getMunitionType ( )
virtual
virtual int DetonateMessage::getQuantity ( )
virtual
virtual int DetonateMessage::getRate ( )
virtual
virtual ResultType DetonateMessage::getResult ( )
virtual
virtual std::string DetonateMessage::getTargetId ( )
virtual
virtual DtVector32 DetonateMessage::getVelocity ( )
virtual
virtual WarheadType DetonateMessage::getWarheadType ( )
virtual
virtual DtVector DetonateMessage::getWorldPosition ( )
virtual
virtual int DetonateMessage::messageSize ( )
virtual

this function needs to be in each derived class for decoding

Get the size of the message data in bytes

Reimplemented from DtMessage.

virtual void DetonateMessage::serialize ( DtStreamWriter writer)
protectedvirtual

Reimplemented from DtMessage.

virtual void DetonateMessage::setArticulatedParts ( std::vector< ArtPart val)
virtual
virtual void DetonateMessage::setEntityLocation ( DtVector32  val)
virtual
virtual void DetonateMessage::setEventId ( int  val)
virtual
virtual void DetonateMessage::setFiringId ( std::string  val)
virtual
virtual void DetonateMessage::setFuzeType ( FuzeType  val)
virtual
virtual void DetonateMessage::setMunitionId ( std::string  val)
virtual
virtual void DetonateMessage::setMunitionType ( DtEntityType  val)
virtual
virtual void DetonateMessage::setQuantity ( int  val)
virtual
virtual void DetonateMessage::setRate ( int  val)
virtual
virtual void DetonateMessage::setResult ( ResultType  val)
virtual
virtual void DetonateMessage::setTargetId ( std::string  val)
virtual
virtual void DetonateMessage::setVelocity ( DtVector32  val)
virtual
virtual void DetonateMessage::setWarheadType ( WarheadType  val)
virtual
virtual void DetonateMessage::setWorldPosition ( DtVector  val)
virtual
static std::string DetonateMessage::theMessageName ( )
static

Member Data Documentation

std::vector<ArtPart> DetonateMessage::myArticulatedParts
protected
DtVector32 DetonateMessage::myEntityLocation
protected
int DetonateMessage::myEventId
protected
std::string DetonateMessage::myFiringId
protected
FuzeType DetonateMessage::myFuzeType
protected
std::string DetonateMessage::myMunitionId
protected
DtEntityType DetonateMessage::myMunitionType
protected
int DetonateMessage::myQuantity
protected
int DetonateMessage::myRate
protected
ResultType DetonateMessage::myResult
protected
std::string DetonateMessage::myTargetId
protected
DtVector32 DetonateMessage::myVelocity
protected
WarheadType DetonateMessage::myWarheadType
protected
DtVector DetonateMessage::myWorldPosition
protected
std::string DetonateMessage::theFullName
staticprotected

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

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)