3 #include <dis6/EntityID.h> 4 #include <dis6/EntityID.h> 5 #include <dis6/EventID.h> 6 #include <dis6/Vector3Float.h> 7 #include <dis6/Vector3Float.h> 8 #include <dis6/EntityInformationFamilyPdu.h> 9 #include <dis6/utils/DataStream.h> 10 #include <dis6/opendis6_export.h> 53 virtual void marshal(
DataStream& dataStream)
const;
54 virtual void unmarshal(
DataStream& dataStream);
57 const EntityID& getIssuingEntityID()
const;
58 void setIssuingEntityID(
const EntityID &pX);
61 const EntityID& getCollidingEntityID()
const;
62 void setCollidingEntityID(
const EntityID &pX);
65 const EventID& getEventID()
const;
66 void setEventID(
const EventID &pX);
68 unsigned char getCollisionType()
const;
69 void setCollisionType(
unsigned char pX);
78 float getMass()
const;
79 void setMass(
float pX);
86 virtual int getMarshalledSize()
const;
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
char _pad
some padding
Definition: CollisionPdu.h:37
EntityID _issuingEntityID
ID of the entity that issued the collision PDU.
Definition: CollisionPdu.h:25
a class to support managing a network buffer.
Definition: DataStream.h:28
Definition: CollisionPdu.h:21
float _mass
mass of issuing entity
Definition: CollisionPdu.h:43
Definition: Vector3Float.h:15
Definition: EntityID.h:15
Vector3Float _velocity
velocity at collision
Definition: CollisionPdu.h:40
EntityID _collidingEntityID
ID of entity that has collided with the issuing entity ID.
Definition: CollisionPdu.h:28
unsigned char _collisionType
ID of event.
Definition: CollisionPdu.h:34
EventID _eventID
ID of event.
Definition: CollisionPdu.h:31
Vector3Float _location
Location with respect to entity the issuing entity collided with.
Definition: CollisionPdu.h:46