open-dis-cpp
Public Member Functions | Protected Attributes | List of all members
DIS::ArticulatedParts Class Reference

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
unsigned char getRecordType () const
 
void setRecordType (unsigned char pX)
 
unsigned char getChangeIndicator () const
 
void setChangeIndicator (unsigned char pX)
 
unsigned short getPartAttachedTo () const
 
void setPartAttachedTo (unsigned short pX)
 
unsigned int getParameterType () const
 
void setParameterType (unsigned int pX)
 
float getParameterValue () const
 
void setParameterValue (float pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const ArticulatedParts &rhs) const
 

Protected Attributes

unsigned char _recordType
 the identification of the Variable Parameter record. More...
 
unsigned char _changeIndicator
 indicate the change of any parameter for any articulated part. More...
 
unsigned short _partAttachedTo
 the identification of the articulated part to which this articulation parameter is attached. More...
 
unsigned int _parameterType
 the type of parameter represented, 32 bit enumeration
 
float _parameterValue
 This field shall specify the parameter value and shall be specified by a 32-bit floating point number. More...
 
unsigned int _padding
 32 bits of unused padding
 

Member Data Documentation

◆ _changeIndicator

unsigned char DIS::ArticulatedParts::_changeIndicator
protected

indicate the change of any parameter for any articulated part.

Starts at zero, incremented for each change

◆ _parameterValue

float DIS::ArticulatedParts::_parameterValue
protected

This field shall specify the parameter value and shall be specified by a 32-bit floating point number.

◆ _partAttachedTo

unsigned short DIS::ArticulatedParts::_partAttachedTo
protected

the identification of the articulated part to which this articulation parameter is attached.

This field shall be specified by a 16-bit unsigned integer. This field shall contain the value zero if the articulated part is attached directly to the entity.

◆ _recordType

unsigned char DIS::ArticulatedParts::_recordType
protected

the identification of the Variable Parameter record.

Enumeration from EBV


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