![]() |
VR-Link API Documentation for HLA Evolved
|
Instances of DtRecordSet are used to contain the record sets used by the PDU classes which inherit from the record set PDU base class. More...
Collaboration diagram for DtRecordSet:Public Member Functions | |
| DtRecordSet () | |
| Constructors. More... | |
| DtRecordSet (const DtRecordSet &orig) | |
| virtual | ~DtRecordSet () |
| Destructor. More... | |
| DtRecordSet & | operator= (const DtRecordSet &orig) |
| Assignment operators. More... | |
| DtRecordSet & | operator= (const DtNetRecordSet &orig) |
| virtual bool | setDatumID (DtDatumParam value) |
| Set/Get the datum ID. More... | |
| virtual DtDatumParam | datumID () const |
| virtual void | setSerialNumber (DtU32 value) |
| Set/Get the serial number. More... | |
| virtual DtU32 | serialNumber () const |
| virtual bool | setRecordBitLength (DtU16 bitLength) |
| Set/Get the record length in bits. More... | |
| virtual DtU16 | recordBitLength () const |
| virtual bool | setRecordByteLength (int byteLength) |
| Set/Get the record length in bytes. More... | |
| virtual int | recordByteLength () const |
| virtual bool | setRecordCount (DtU32 bytes) |
| Set/Get the number of of records in this set. More... | |
| virtual DtU32 | recordCount () const |
| virtual bool | setDataBytes (DtU32 recordIndex, const void *data) |
| Set/Get multiple data bytes. More... | |
| virtual bool | getDataBytes (DtU32 recordIndex, void *buff) const |
| virtual bool | setDataByte (DtU32 recordIndex, DtU8 value, int byteIndex=0) |
| Set/Get a data byte. More... | |
| virtual bool | getDataByte (DtU32 recordIndex, DtU8 &value, int byteIndex=0) const |
| virtual bool | setDataInt16 (DtU32 recordIndex, DtInt16 &value) |
| Set/Get data in signed 16-bit integer format. More... | |
| virtual bool | getDataInt16 (DtU32 recordIndex, DtInt16 &value) const |
| virtual bool | setDataU16 (DtU32 recordIndex, DtU16 &value) |
| Set/Get data in unsigned 16-bit integer format. More... | |
| virtual bool | getDataU16 (DtU32 recordIndex, DtU16 &value) const |
| virtual bool | setDataInt32 (DtU32 recordIndex, DtInt32 &value) |
| Set/Get data in signed 32-bit integer format. More... | |
| virtual bool | getDataInt32 (DtU32 recordIndex, DtInt32 &value) const |
| virtual bool | setDataU32 (DtU32 recordIndex, DtU32 &value) |
| Set/Get data in unsigned 32-bit integer format. More... | |
| virtual bool | getDataU32 (DtU32 recordIndex, DtU32 &value) const |
| virtual bool | setDataFloat32 (DtU32 recordIndex, DtFloat32 &value) |
| Set/Get data in 32-bit floating point format. More... | |
| virtual bool | getDataFloat32 (DtU32 recordIndex, DtFloat32 &value) const |
| virtual bool | setDataFloat64 (DtU32 recordIndex, DtFloat64 &value) |
| Set/Get data in 64-bit floating point format. More... | |
| virtual bool | getDataFloat64 (DtU32 recordIndex, DtFloat64 &value) const |
| virtual int | recordSetLength () const |
| Get the total number of bytes required for the network representation of the record set. More... | |
| virtual void | print () const |
| Print this record. More... | |
| virtual void | printDataToStream (std::ostream &stream) const |
| virtual void | unloadNetRecordSet (const DtNetRecordSet &record, int dataLength=0) |
| Load/unload data from a packet record. More... | |
| virtual void | loadNetRecordSet (DtNetRecordSet &record) const |
Protected Attributes | |
| DtDatumParam | myDatumID |
| DtU32 | mySerialNumber |
| DtU16 | myRecordLength |
| DtU32 | myRecordCount |
| char * | myData |
Instances of DtRecordSet are used to contain the record sets used by the PDU classes which inherit from the record set PDU base class.
| DtRecordSet::DtRecordSet | ( | ) |
Constructors.
| DtRecordSet::DtRecordSet | ( | const DtRecordSet & | orig | ) |
|
virtual |
Destructor.
|
virtual |
|
virtual |
|
virtual |
| DtRecordSet& DtRecordSet::operator= | ( | const DtRecordSet & | orig | ) |
Assignment operators.
| DtRecordSet& DtRecordSet::operator= | ( | const DtNetRecordSet & | orig | ) |
|
virtual |
Print this record.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Get the total number of bytes required for the network representation of the record set.
|
virtual |
Set/Get a data byte.
These functions return false if the record index or byte index is out of range.
Set/Get multiple data bytes.
Provide a pointer and data is copied to and from that memory. Will copy recordByteLength() bytes on set/get. These functions return false if the record index is out of range.
Set/Get data in 32-bit floating point format.
These functions return false if the record length is not 32-bits, or if the record index is out of range.
Set/Get data in 64-bit floating point format.
These functions return false if the record length is not 64-bits, or if the record index is out of range.
Set/Get data in signed 16-bit integer format.
These functions return false if the record length is not 16-bits, or if the record index is out of range.
Set/Get data in signed 32-bit integer format.
These functions return false if the record length is not 32-bits, or if the record index is out of range.
Set/Get data in unsigned 16-bit integer format.
These functions return false if the record length is not 16-bits, or if the record index is out of range.
Set/Get data in unsigned 32-bit integer format.
These functions return false if the record length is not 32-bits, or if the record index is out of range.
|
virtual |
Set/Get the datum ID.
Set/Get the record length in bits.
setRecordBitLength() also resets the number of records to zero, and may return false (with no action) if the length is invalid.
|
virtual |
Set/Get the record length in bytes.
setRecordLength() also resets the number of records to zero, and may return false (with no action) if the length is invalid.
Set/Get the number of of records in this set.
When the number of records is changed, old records are not preserved.
|
virtual |
Set/Get the serial number.
|
virtual |
Load/unload data from a packet record.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |