A structure containing fixed packet data, which should not change during a measurement for the same device.
Definition at line 163 of file packetfixeddata.h.
#include <xSens_MT4/xcommunication/include/xsens/packetfixeddata.h>
Public Member Functions | |
PacketFixedData () | |
Default constructor, creates an empty (invalid) object. More... | |
PacketFixedData (uint16_t count) | |
Sized constructor, creates an object with room for count device's worth of data. More... | |
PacketFixedData (const PacketFixedData &pack) | |
Copy constructor. More... | |
~PacketFixedData () | |
Destructor. More... | |
void | operator= (const PacketFixedData &data) |
Assignment operator, copies contents from data. More... | |
Public Attributes | |
PacketInfo * | m_infoList |
Contains information about data in the packet and the format of that data. More... | |
XsDataFormat * | m_formatList |
A list of the formats of the data items. More... | |
XsDeviceId * | m_idList |
A list of the device-ids in this packet. More... | |
bool | m_xm |
Indicates that xbus-formatting is used. More... | |
uint16_t | m_itemCount |
The number of data items in the message. More... | |
PacketFixedData::PacketFixedData | ( | ) |
Default constructor, creates an empty (invalid) object.
Definition at line 21 of file packetfixeddata.cpp.
References PACKETLOG.
PacketFixedData::PacketFixedData | ( | uint16_t | count | ) |
Sized constructor, creates an object with room for count device's worth of data.
The constructor sets the xbus flag to false
count | The number of devices whose metadata is stored in the object |
Definition at line 36 of file packetfixeddata.cpp.
References m_formatList, m_idList, m_infoList, m_itemCount, and PACKETLOG.
PacketFixedData::PacketFixedData | ( | const PacketFixedData & | p | ) |
Copy constructor.
p | The object to copy the contents from |
Definition at line 52 of file packetfixeddata.cpp.
References PACKETLOG.
PacketFixedData::~PacketFixedData | ( | ) |
Destructor.
Definition at line 66 of file packetfixeddata.cpp.
References m_formatList, m_idList, m_infoList, m_itemCount, and PACKETLOG.
void PacketFixedData::operator= | ( | const PacketFixedData & | data | ) |
Assignment operator, copies contents from data.
data | The object to copy from |
Definition at line 79 of file packetfixeddata.cpp.
References m_formatList, m_idList, m_infoList, m_itemCount, m_xm, and PACKETLOG.
XsDataFormat* PacketFixedData::m_formatList |
A list of the formats of the data items.
Definition at line 176 of file packetfixeddata.h.
Referenced by LegacyDataPacket::dataFormat(), LegacyDataPacket::getFPValueSize(), operator=(), PacketFixedData(), LegacyDataPacket::setDataFormat(), LegacyDataPacket::setOrientationQuaternion(), LegacyDataPacket::updateInfoList(), and ~PacketFixedData().
XsDeviceId* PacketFixedData::m_idList |
A list of the device-ids in this packet.
Definition at line 178 of file packetfixeddata.h.
Referenced by LegacyDataPacket::deviceId(), LegacyDataPacket::findDeviceId(), operator=(), PacketFixedData(), LegacyDataPacket::setDeviceId(), and ~PacketFixedData().
PacketInfo* PacketFixedData::m_infoList |
Contains information about data in the packet and the format of that data.
Definition at line 174 of file packetfixeddata.h.
Referenced by LegacyDataPacket::analogIn1Data(), LegacyDataPacket::analogIn2Data(), LegacyDataPacket::calibratedAcceleration(), LegacyDataPacket::calibratedData(), LegacyDataPacket::calibratedGyroscopeData(), LegacyDataPacket::calibratedMagneticField(), LegacyDataPacket::containsAnalogIn1Data(), LegacyDataPacket::containsAnalogIn2Data(), LegacyDataPacket::containsCalibratedAcceleration(), LegacyDataPacket::containsCalibratedData(), LegacyDataPacket::containsCalibratedGyroscopeData(), LegacyDataPacket::containsCalibratedMagneticField(), LegacyDataPacket::containsDetailedStatus(), LegacyDataPacket::containsFreeAcceleration(), LegacyDataPacket::containsGpsPvtData(), LegacyDataPacket::containsMtwSdiData(), LegacyDataPacket::containsOrientation(), LegacyDataPacket::containsOrientationEuler(), LegacyDataPacket::containsOrientationMatrix(), LegacyDataPacket::containsOrientationQuaternion(), LegacyDataPacket::containsPacketCounter(), LegacyDataPacket::containsPositionLLA(), LegacyDataPacket::containsPressure(), LegacyDataPacket::containsRawAcceleration(), LegacyDataPacket::containsRawData(), LegacyDataPacket::containsRawGyroscopeData(), LegacyDataPacket::containsRawMagneticField(), LegacyDataPacket::containsRawTemperature(), LegacyDataPacket::containsStatus(), LegacyDataPacket::containsTemperature(), LegacyDataPacket::containsUtcTime(), LegacyDataPacket::containsVelocity(), LegacyDataPacket::dataSize(), LegacyDataPacket::frameCounter(), LegacyDataPacket::freeAcceleration(), LegacyDataPacket::gpsPvtData(), LegacyDataPacket::mtwSdiData(), operator=(), LegacyDataPacket::orientationEuler(), LegacyDataPacket::orientationMatrix(), LegacyDataPacket::orientationQuaternion(), LegacyDataPacket::originalMessage(), LegacyDataPacket::packetCounter(), PacketFixedData(), LegacyDataPacket::packetInfo(), LegacyDataPacket::positionLLA(), LegacyDataPacket::pressure(), LegacyDataPacket::rawAcceleration(), LegacyDataPacket::rawData(), LegacyDataPacket::rawGyroscopeData(), LegacyDataPacket::rawMagneticField(), LegacyDataPacket::rawTemperature(), LegacyDataPacket::rawTemperatureChannelCount(), LegacyDataPacket::setAnalogIn1Data(), LegacyDataPacket::setAnalogIn2Data(), LegacyDataPacket::setCalibratedAcceleration(), LegacyDataPacket::setCalibratedData(), LegacyDataPacket::setCalibratedGyroscopeData(), LegacyDataPacket::setCalibratedMagneticField(), LegacyDataPacket::setFreeAcceleration(), LegacyDataPacket::setGpsPvtData(), LegacyDataPacket::setMtwSdiData(), LegacyDataPacket::setOrientationEuler(), LegacyDataPacket::setOrientationMatrix(), LegacyDataPacket::setOrientationQuaternion(), LegacyDataPacket::setPacketCounter(), LegacyDataPacket::setPositionLLA(), LegacyDataPacket::setPressure(), LegacyDataPacket::setRawAcceleration(), LegacyDataPacket::setRawData(), LegacyDataPacket::setRawGyroscopeData(), LegacyDataPacket::setRawMagneticField(), LegacyDataPacket::setRawTemperature(), LegacyDataPacket::setStatus(), LegacyDataPacket::setTemperature(), LegacyDataPacket::setUtcTime(), LegacyDataPacket::setVelocity(), LegacyDataPacket::status(), LegacyDataPacket::temperature(), LegacyDataPacket::temperatureChannelCount(), LegacyDataPacket::updateInfoList(), LegacyDataPacket::utcTime(), LegacyDataPacket::velocity(), and ~PacketFixedData().
uint16_t PacketFixedData::m_itemCount |
The number of data items in the message.
Definition at line 182 of file packetfixeddata.h.
Referenced by LegacyDataPacket::dataFormat(), LegacyDataPacket::findDeviceId(), LegacyDataPacket::itemCount(), operator=(), LegacyDataPacket::originalMessage(), PacketFixedData(), LegacyDataPacket::packetInfo(), LegacyDataPacket::setItemCount(), LegacyDataPacket::updateInfoList(), and ~PacketFixedData().
bool PacketFixedData::m_xm |
Indicates that xbus-formatting is used.
Definition at line 180 of file packetfixeddata.h.
Referenced by LegacyDataPacket::isXbusSystem(), LegacyDataPacket::LegacyDataPacket(), operator=(), LegacyDataPacket::setXbusSystem(), and LegacyDataPacket::updateInfoList().
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |