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

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
unsigned int getRecordID () const
 
void setRecordID (unsigned int pX)
 
unsigned int getRecordSetSerialNumber () const
 
void setRecordSetSerialNumber (unsigned int pX)
 
unsigned short getRecordLength () const
 
void setRecordLength (unsigned short pX)
 
unsigned short getRecordCount () const
 
void setRecordCount (unsigned short pX)
 
unsigned short getRecordValues () const
 
void setRecordValues (unsigned short pX)
 
unsigned char getPad4 () const
 
void setPad4 (unsigned char pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const RecordSpecificationElement &rhs) const
 

Protected Attributes

unsigned int _recordID
 the data structure used to convey the parameter values of the record for each record. More...
 
unsigned int _recordSetSerialNumber
 the serial number of the first record in the block of records
 
unsigned short _recordLength
 the length, in bits, of the record. More...
 
unsigned short _recordCount
 the number of records included in the record set
 
unsigned short _recordValues
 the concatenated records of the format specified by the Record ID field. More...
 
unsigned char _pad4
 Padding of 0 to 31 unused bits as required for 32-bit alignment of the Record Set field. More...
 

Member Data Documentation

◆ _pad4

unsigned char DIS::RecordSpecificationElement::_pad4
protected

Padding of 0 to 31 unused bits as required for 32-bit alignment of the Record Set field.

^^^This is wrong–variable sized padding. MUST be patched post-code generation

◆ _recordID

unsigned int DIS::RecordSpecificationElement::_recordID
protected

the data structure used to convey the parameter values of the record for each record.

32 bit enumeration.

◆ _recordLength

unsigned short DIS::RecordSpecificationElement::_recordLength
protected

the length, in bits, of the record.

Note, bits, not bytes.

◆ _recordValues

unsigned short DIS::RecordSpecificationElement::_recordValues
protected

the concatenated records of the format specified by the Record ID field.

The length of this field is the Record Length multiplied by the Record Count, in units of bits. ^^^This is wrong–variable sized data records, bit values. THis MUST be patched after generation.


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