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

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityIDgetEntityID ()
 
const EntityIDgetEntityID () const
 
void setEntityID (const EntityID &pX)
 
unsigned char getForceId () const
 
void setForceId (unsigned char pX)
 
char getNumberOfArticulationParameters () const
 
EntityTypegetEntityType ()
 
const EntityTypegetEntityType () const
 
void setEntityType (const EntityType &pX)
 
EntityTypegetAlternativeEntityType ()
 
const EntityTypegetAlternativeEntityType () const
 
void setAlternativeEntityType (const EntityType &pX)
 
Vector3FloatgetEntityLinearVelocity ()
 
const Vector3FloatgetEntityLinearVelocity () const
 
void setEntityLinearVelocity (const Vector3Float &pX)
 
Vector3DoublegetEntityLocation ()
 
const Vector3DoublegetEntityLocation () const
 
void setEntityLocation (const Vector3Double &pX)
 
OrientationgetEntityOrientation ()
 
const OrientationgetEntityOrientation () const
 
void setEntityOrientation (const Orientation &pX)
 
int getEntityAppearance () const
 
void setEntityAppearance (int pX)
 
DeadReckoningParametergetDeadReckoningParameters ()
 
const DeadReckoningParametergetDeadReckoningParameters () const
 
void setDeadReckoningParameters (const DeadReckoningParameter &pX)
 
MarkinggetMarking ()
 
const MarkinggetMarking () const
 
void setMarking (const Marking &pX)
 
int getCapabilities () const
 
void setCapabilities (int pX)
 
std::vector< ArticulationParameter > & getArticulationParameters ()
 
const std::vector< ArticulationParameter > & getArticulationParameters () const
 
void setArticulationParameters (const std::vector< ArticulationParameter > &pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const EntityStatePdu &rhs) const
 
virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityIDgetEntityID ()
 
const EntityIDgetEntityID () const
 
void setEntityID (const EntityID &pX)
 
unsigned char getForceId () const
 
void setForceId (unsigned char pX)
 
unsigned char getNumberOfVariableParameters () const
 
EntityTypegetEntityType ()
 
const EntityTypegetEntityType () const
 
void setEntityType (const EntityType &pX)
 
EntityTypegetAlternativeEntityType ()
 
const EntityTypegetAlternativeEntityType () const
 
void setAlternativeEntityType (const EntityType &pX)
 
Vector3FloatgetEntityLinearVelocity ()
 
const Vector3FloatgetEntityLinearVelocity () const
 
void setEntityLinearVelocity (const Vector3Float &pX)
 
Vector3DoublegetEntityLocation ()
 
const Vector3DoublegetEntityLocation () const
 
void setEntityLocation (const Vector3Double &pX)
 
EulerAnglesgetEntityOrientation ()
 
const EulerAnglesgetEntityOrientation () const
 
void setEntityOrientation (const EulerAngles &pX)
 
unsigned int getEntityAppearance () const
 
void setEntityAppearance (unsigned int pX)
 
DeadReckoningParametersgetDeadReckoningParameters ()
 
const DeadReckoningParametersgetDeadReckoningParameters () const
 
void setDeadReckoningParameters (const DeadReckoningParameters &pX)
 
EntityMarkinggetMarking ()
 
const EntityMarkinggetMarking () const
 
void setMarking (const EntityMarking &pX)
 
unsigned int getCapabilities () const
 
void setCapabilities (unsigned int pX)
 
std::vector< VariableParameter > & getVariableParameters ()
 
const std::vector< VariableParameter > & getVariableParameters () const
 
void setVariableParameters (const std::vector< VariableParameter > &pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const EntityStatePdu &rhs) const
 
- Public Member Functions inherited from DIS::EntityInformationFamilyPdu
bool operator== (const EntityInformationFamilyPdu &rhs) const
 
bool operator== (const EntityInformationFamilyPdu &rhs) const
 
- Public Member Functions inherited from DIS::Pdu
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
 
- Public Member Functions inherited from DIS::PduSuperclass
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 _entityID
 Unique ID for an entity that is tied to this state information.
 
unsigned char _forceId
 What force this entity is affiliated with, eg red, blue, neutral, etc.
 
char _numberOfArticulationParameters
 How many articulation parameters are in the variable length list.
 
EntityType _entityType
 Describes the type of entity in the world.
 
EntityType _alternativeEntityType
 
Vector3Float _entityLinearVelocity
 Describes the speed of the entity in the world.
 
Vector3Double _entityLocation
 describes the location of the entity in the world
 
Orientation _entityOrientation
 describes the orientation of the entity, in euler angles
 
int _entityAppearance
 a series of bit flags that are used to help draw the entity, such as smoking, on fire, etc. More...
 
DeadReckoningParameter _deadReckoningParameters
 parameters used for dead reckoning
 
Marking _marking
 characters that can be used for debugging, or to draw unique strings on the side of entities in the world
 
int _capabilities
 a series of bit flags
 
std::vector< ArticulationParameter_articulationParameters
 variable length list of articulation parameters
 
unsigned char _numberOfVariableParameters
 How many variable parameters are in the variable length list. More...
 
EulerAngles _entityOrientation
 describes the orientation of the entity, in euler angles
 
unsigned int _entityAppearance
 a series of bit flags that are used to help draw the entity, such as smoking, on fire, etc. More...
 
DeadReckoningParameters _deadReckoningParameters
 parameters used for dead reckoning
 
EntityMarking _marking
 characters that can be used for debugging, or to draw unique strings on the side of entities in the world
 
unsigned int _capabilities
 a series of bit flags
 
std::vector< VariableParameter_variableParameters
 variable length list of variable parameters. More...
 
- Protected Attributes inherited from DIS::Pdu
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
 
- Protected Attributes inherited from DIS::PduSuperclass
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.
 

Member Data Documentation

◆ _entityAppearance [1/2]

unsigned int DIS::EntityStatePdu::_entityAppearance
protected

a series of bit flags that are used to help draw the entity, such as smoking, on fire, etc.

◆ _entityAppearance [2/2]

int DIS::EntityStatePdu::_entityAppearance
protected

a series of bit flags that are used to help draw the entity, such as smoking, on fire, etc.

◆ _numberOfVariableParameters

unsigned char DIS::EntityStatePdu::_numberOfVariableParameters
protected

How many variable parameters are in the variable length list.

In earlier versions of DIS these were known as articulation parameters

◆ _variableParameters

std::vector<VariableParameter> DIS::EntityStatePdu::_variableParameters
protected

variable length list of variable parameters.

In earlier DIS versions this was articulation parameters.


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