open-dis-cpp
Public Member Functions | Protected Attributes | List of all members
DIS::AttachedParts 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 getDetachedIndicator () const
 
void setDetachedIndicator (unsigned char pX)
 
unsigned short getPartAttachedTo () const
 
void setPartAttachedTo (unsigned short pX)
 
unsigned int getParameterType () const
 
void setParameterType (unsigned int pX)
 
unsigned long long getAttachedPartType () const
 
void setAttachedPartType (unsigned long long pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const AttachedParts &rhs) const
 

Protected Attributes

unsigned char _recordType
 the identification of the Variable Parameter record. More...
 
unsigned char _detachedIndicator
 0 = attached, 1 = detached. More...
 
unsigned short _partAttachedTo
 the identification of the articulated part to which this articulation parameter is attached. More...
 
unsigned int _parameterType
 The location or station to which the part is attached.
 
unsigned long long _attachedPartType
 The definition of the 64 bits shall be determined based on the type of parameter specified in the Parameter Type field.
 

Member Data Documentation

◆ _detachedIndicator

unsigned char DIS::AttachedParts::_detachedIndicator
protected

0 = attached, 1 = detached.

See I.2.3.1 for state transition diagram

◆ _partAttachedTo

unsigned short DIS::AttachedParts::_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::AttachedParts::_recordType
protected

the identification of the Variable Parameter record.

Enumeration from EBV


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