Main MRPT website > C++ reference for MRPT 1.5.9
List of all members | Public Member Functions | Public Attributes
PacketFixedData Struct Reference

Detailed Description

A structure containing fixed packet data, which should not change during a measurement for the same device.

Definition at line 96 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

PacketInfom_infoList
 Contains information about data in the packet and the format of that data. More...
 
XsDataFormatm_formatList
 A list of the formats of the data items. More...
 
XsDeviceIdm_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...
 

Constructor & Destructor Documentation

◆ PacketFixedData() [1/3]

PacketFixedData::PacketFixedData ( )

Default constructor, creates an empty (invalid) object.

Definition at line 21 of file packetfixeddata.cpp.

References PACKETLOG.

◆ PacketFixedData() [2/3]

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

Parameters
countThe number of devices whose metadata is stored in the object

Definition at line 35 of file packetfixeddata.cpp.

References m_formatList, m_idList, m_infoList, m_itemCount, and PACKETLOG.

◆ PacketFixedData() [3/3]

PacketFixedData::PacketFixedData ( const PacketFixedData p)

Copy constructor.

Parameters
pThe object to copy the contents from

Definition at line 51 of file packetfixeddata.cpp.

References PACKETLOG.

◆ ~PacketFixedData()

PacketFixedData::~PacketFixedData ( )

Destructor.

Definition at line 65 of file packetfixeddata.cpp.

References m_formatList, m_idList, m_infoList, m_itemCount, and PACKETLOG.

Member Function Documentation

◆ operator=()

void PacketFixedData::operator= ( const PacketFixedData data)

Assignment operator, copies contents from data.

Parameters
dataThe object to copy from

Definition at line 78 of file packetfixeddata.cpp.

References m_formatList, m_idList, m_infoList, m_itemCount, m_xm, and PACKETLOG.

Member Data Documentation

◆ m_formatList

XsDataFormat* PacketFixedData::m_formatList

◆ m_idList

XsDeviceId* PacketFixedData::m_idList

◆ m_infoList

PacketInfo* PacketFixedData::m_infoList

Contains information about data in the packet and the format of that data.

Definition at line 105 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().

◆ m_itemCount

uint16_t PacketFixedData::m_itemCount

◆ m_xm

bool PacketFixedData::m_xm



Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020