open-dis-cpp
Public Member Functions | Protected Attributes | List of all members
DIS::EntityStateUpdatePdu Class Reference
Inheritance diagram for DIS::EntityStateUpdatePdu:
Inheritance graph
[legend]
Collaboration diagram for DIS::EntityStateUpdatePdu:
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)
 
char getPadding1 () const
 
void setPadding1 (char pX)
 
unsigned char getNumberOfArticulationParameters () const
 
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)
 
std::vector< ArticulationParameter > & getArticulationParameters ()
 
const std::vector< ArticulationParameter > & getArticulationParameters () const
 
void setArticulationParameters (const std::vector< ArticulationParameter > &pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const EntityStateUpdatePdu &rhs) const
 
virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityIDgetEntityID ()
 
const EntityIDgetEntityID () const
 
void setEntityID (const EntityID &pX)
 
char getPadding1 () const
 
void setPadding1 (char pX)
 
unsigned char getNumberOfVariableParameters () const
 
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)
 
std::vector< VariableParameter > & getVariableParameters ()
 
const std::vector< VariableParameter > & getVariableParameters () const
 
void setVariableParameters (const std::vector< VariableParameter > &pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const EntityStateUpdatePdu &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
 This field shall identify the entity issuing the PDU. More...
 
char _padding1
 Padding.
 
unsigned char _numberOfArticulationParameters
 How many articulation parameters are in the variable length list.
 
Vector3Float _entityLinearVelocity
 Describes the speed of the entity in the world. More...
 
Vector3Double _entityLocation
 describes the location of the entity in the world More...
 
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...
 
std::vector< ArticulationParameter_articulationParameters
 
unsigned char _numberOfVariableParameters
 This field shall specify the number of variable parameters present. More...
 
EulerAngles _entityOrientation
 This field shall specify an entity’s orientation and shall be represented by an Euler Angles record (see 6.2.33). More...
 
unsigned int _entityAppearance
 This field shall specify the dynamic changes to the entity’s appearance attributes. More...
 
std::vector< VariableParameter_variableParameters
 This field shall specify the parameter values for each Variable Parameter record that is included (see 6.2.93 and Annex I). 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]

int DIS::EntityStateUpdatePdu::_entityAppearance
protected

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

◆ _entityAppearance [2/2]

unsigned int DIS::EntityStateUpdatePdu::_entityAppearance
protected

This field shall specify the dynamic changes to the entity’s appearance attributes.

This field shall be represented by an Entity Appearance record (see 6.2.26).

◆ _entityID

EntityID DIS::EntityStateUpdatePdu::_entityID
protected

This field shall identify the entity issuing the PDU.

This field shall identify the entity issuing the PDU, and shall be represented by an Entity Identifier record (see 6.2.28).

◆ _entityLinearVelocity

Vector3Float DIS::EntityStateUpdatePdu::_entityLinearVelocity
protected

Describes the speed of the entity in the world.

This field shall specify an entity’s linear velocity.

The coordinate system for an entity’s linear velocity depends on the dead reckoning algorithm used. This field shall be represented by a Linear Velocity Vector record [see 6.2.95 item c)]).

◆ _entityLocation

Vector3Double DIS::EntityStateUpdatePdu::_entityLocation
protected

describes the location of the entity in the world

This field shall specify an entity’s physical location in the simulated world and shall be represented by a World Coordinates record (see 6.2.97).

◆ _entityOrientation

EulerAngles DIS::EntityStateUpdatePdu::_entityOrientation
protected

This field shall specify an entity’s orientation and shall be represented by an Euler Angles record (see 6.2.33).

◆ _numberOfVariableParameters

unsigned char DIS::EntityStateUpdatePdu::_numberOfVariableParameters
protected

This field shall specify the number of variable parameters present.

This field shall be represented by an 8-bit unsigned integer (see Annex I).

◆ _variableParameters

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

This field shall specify the parameter values for each Variable Parameter record that is included (see 6.2.93 and Annex I).


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