open-dis-cpp
|
Public Member Functions | |
virtual void | marshal (DataStream &dataStream) const |
virtual void | unmarshal (DataStream &dataStream) |
EntityID & | getIssuingEntityID () |
const EntityID & | getIssuingEntityID () const |
void | setIssuingEntityID (const EntityID &pX) |
EntityID & | getCollidingEntityID () |
const EntityID & | getCollidingEntityID () const |
void | setCollidingEntityID (const EntityID &pX) |
EventID & | getEventID () |
const EventID & | getEventID () const |
void | setEventID (const EventID &pX) |
unsigned char | getCollisionType () const |
void | setCollisionType (unsigned char pX) |
char | getPad () const |
void | setPad (char pX) |
Vector3Float & | getVelocity () |
const Vector3Float & | getVelocity () const |
void | setVelocity (const Vector3Float &pX) |
float | getMass () const |
void | setMass (float pX) |
Vector3Float & | getLocation () |
const Vector3Float & | getLocation () const |
void | setLocation (const Vector3Float &pX) |
virtual int | getMarshalledSize () const |
bool | operator== (const CollisionPdu &rhs) const |
virtual void | marshal (DataStream &dataStream) const |
virtual void | unmarshal (DataStream &dataStream) |
EntityID & | getIssuingEntityID () |
const EntityID & | getIssuingEntityID () const |
void | setIssuingEntityID (const EntityID &pX) |
EntityID & | getCollidingEntityID () |
const EntityID & | getCollidingEntityID () const |
void | setCollidingEntityID (const EntityID &pX) |
EventIdentifier & | getEventID () |
const EventIdentifier & | getEventID () const |
void | setEventID (const EventIdentifier &pX) |
unsigned char | getCollisionType () const |
void | setCollisionType (unsigned char pX) |
char | getPad () const |
void | setPad (char pX) |
Vector3Float & | getVelocity () |
const Vector3Float & | getVelocity () const |
void | setVelocity (const Vector3Float &pX) |
float | getMass () const |
void | setMass (float pX) |
Vector3Float & | getLocation () |
const Vector3Float & | getLocation () const |
void | setLocation (const Vector3Float &pX) |
virtual int | getMarshalledSize () const |
bool | operator== (const CollisionPdu &rhs) const |
![]() | |
bool | operator== (const EntityInformationFamilyPdu &rhs) const |
bool | operator== (const EntityInformationFamilyPdu &rhs) const |
![]() | |
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 |
![]() | |
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 | _issuingEntityID |
ID of the entity that issued the collision PDU. More... | |
EntityID | _collidingEntityID |
ID of entity that has collided with the issuing entity ID. More... | |
EventID | _eventID |
ID of event. | |
unsigned char | _collisionType |
ID of event. More... | |
char | _pad |
some padding | |
Vector3Float | _velocity |
velocity at collision More... | |
float | _mass |
mass of issuing entity More... | |
Vector3Float | _location |
Location with respect to entity the issuing entity collided with. More... | |
EventIdentifier | _eventID |
This field shall contain an identification generated by the issuing simulation application to associate related collision events. More... | |
![]() | |
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 | |
![]() | |
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. | |
|
protected |
ID of entity that has collided with the issuing entity ID.
This field shall identify the entity that has collided with the issuing entity (see 5.3.3.4).
This field shall be represented by an Entity Identifier record (see 6.2.28).
|
protected |
ID of event.
This field shall identify the type of collision.
The Collision Type field shall be represented by an 8-bit record of enumerations
|
protected |
This field shall contain an identification generated by the issuing simulation application to associate related collision events.
This field shall be represented by an Event Identifier record (see 6.2.34).
|
protected |
ID of the entity that issued the collision PDU.
This field shall identify the entity that is issuing the PDU, and shall be represented by an Entity Identifier record (see 6.2.28).
|
protected |
Location with respect to entity the issuing entity collided with.
This field shall specify the location of the collision with respect to the entity with which the issuing entity collided.
The Location field shall be represented by an Entity Coordinate Vector record [see 6.2.95 item a)].
|
protected |
mass of issuing entity
This field shall contain the mass of the issuing entity, and shall be represented by a 32-bit floating point number representing kilograms.
|
protected |
velocity at collision
This field shall contain the velocity (at the time the collision is detected) of the issuing entity.
The velocity shall be represented in world coordinates. This field shall be represented by the Linear Velocity Vector record [see 6.2.95 item c)].