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

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityIDgetAggregateID ()
 
const EntityIDgetAggregateID () const
 
void setAggregateID (const EntityID &pX)
 
unsigned char getForceID () const
 
void setForceID (unsigned char pX)
 
unsigned char getAggregateState () const
 
void setAggregateState (unsigned char pX)
 
EntityTypegetAggregateType ()
 
const EntityTypegetAggregateType () const
 
void setAggregateType (const EntityType &pX)
 
unsigned int getFormation () const
 
void setFormation (unsigned int pX)
 
AggregateMarkinggetAggregateMarking ()
 
const AggregateMarkinggetAggregateMarking () const
 
void setAggregateMarking (const AggregateMarking &pX)
 
Vector3FloatgetDimensions ()
 
const Vector3FloatgetDimensions () const
 
void setDimensions (const Vector3Float &pX)
 
OrientationgetOrientation ()
 
const OrientationgetOrientation () const
 
void setOrientation (const Orientation &pX)
 
Vector3DoublegetCenterOfMass ()
 
const Vector3DoublegetCenterOfMass () const
 
void setCenterOfMass (const Vector3Double &pX)
 
Vector3FloatgetVelocity ()
 
const Vector3FloatgetVelocity () const
 
void setVelocity (const Vector3Float &pX)
 
unsigned short getNumberOfDisAggregates () const
 
unsigned short getNumberOfDisEntities () const
 
unsigned short getNumberOfSilentAggregateTypes () const
 
unsigned short getNumberOfSilentEntityTypes () const
 
std::vector< AggregateID > & getAggregateIDList ()
 
const std::vector< AggregateID > & getAggregateIDList () const
 
void setAggregateIDList (const std::vector< AggregateID > &pX)
 
std::vector< EntityID > & getEntityIDList ()
 
const std::vector< EntityID > & getEntityIDList () const
 
void setEntityIDList (const std::vector< EntityID > &pX)
 
unsigned char getPad2 () const
 
void setPad2 (unsigned char pX)
 
std::vector< EntityType > & getSilentAggregateSystemList ()
 
const std::vector< EntityType > & getSilentAggregateSystemList () const
 
void setSilentAggregateSystemList (const std::vector< EntityType > &pX)
 
std::vector< EntityType > & getSilentEntitySystemList ()
 
const std::vector< EntityType > & getSilentEntitySystemList () const
 
void setSilentEntitySystemList (const std::vector< EntityType > &pX)
 
unsigned int getNumberOfVariableDatumRecords () const
 
std::vector< VariableDatum > & getVariableDatumList ()
 
const std::vector< VariableDatum > & getVariableDatumList () const
 
void setVariableDatumList (const std::vector< VariableDatum > &pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const AggregateStatePdu &rhs) const
 
- Public Member Functions inherited from DIS::EntityManagementFamilyPdu
bool operator== (const EntityManagementFamilyPdu &rhs) const
 
bool operator== (const EntityManagementFamilyPdu &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 _aggregateID
 ID of aggregated entities.
 
unsigned char _forceID
 force ID
 
unsigned char _aggregateState
 state of aggregate
 
EntityType _aggregateType
 entity type of the aggregated entities
 
unsigned int _formation
 formation of aggregated entities
 
AggregateMarking _aggregateMarking
 marking for aggregate; first char is charset type, rest is char data
 
Vector3Float _dimensions
 dimensions of bounding box for the aggregated entities, origin at the center of mass
 
Orientation _orientation
 orientation of the bounding box
 
Vector3Double _centerOfMass
 center of mass of the aggregation
 
Vector3Float _velocity
 velocity of aggregation
 
unsigned short _numberOfDisAggregates
 number of aggregates
 
unsigned short _numberOfDisEntities
 number of entities
 
unsigned short _numberOfSilentAggregateTypes
 number of silent aggregate types
 
unsigned short _numberOfSilentEntityTypes
 number of silent entity types
 
std::vector< AggregateID_aggregateIDList
 aggregates list
 
std::vector< EntityID_entityIDList
 entity ID list
 
unsigned char _pad2
 ^^^padding to put the start of the next list on a 32 bit boundary. More...
 
std::vector< EntityType_silentAggregateSystemList
 silent entity types
 
std::vector< EntityType_silentEntitySystemList
 silent entity types
 
unsigned int _numberOfVariableDatumRecords
 number of variable datum records
 
std::vector< VariableDatum_variableDatumList
 variableDatums
 
- 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

◆ _pad2

unsigned char DIS::AggregateStatePdu::_pad2
protected

^^^padding to put the start of the next list on a 32 bit boundary.

This needs to be fixed


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