Main MRPT website > C++ reference for MRPT 1.5.7
Classes | Namespaces | Macros | Functions
cmtmessage.h File Reference
#include "cmtdef.h"
#include "cmt1.h"
Include dependency graph for cmtmessage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  xsens::MessageHeader
 A message header. More...
 
union  xsens::MessageHeader::_mdl
 
struct  xsens::MessageHeader::_mdl::_mextd
 
struct  xsens::MessageHeader::_mdl::_mextd::_mlen
 
class  xsens::Message
 Class for storing a single message. More...
 

Namespaces

 xsens
 The namespace of all Xsens software since 2006.
 

Macros

#define CMT_CHECKVAR
 
#define CMT_CHECKVAL
 
#define CMT_CHECKASSIGN
 
#define CMT_CHECKASSERT
 
#define swapEndian16(src)   (((src) >> 8) | ((src) << 8))
 
#define swapEndian32(src)   (((src) >> 24) | ((src) >> 8 & 0xFF00) | ((src) << 8 & 0xFF0000) | ((src) << 24))
 

Functions

uint8_t xsens::computeChecksum (const uint8_t *buffer, uint32_t length)
 Compute the checksum of the given byte string. More...
 

Macro Definition Documentation

◆ CMT_CHECKASSERT

#define CMT_CHECKASSERT

◆ CMT_CHECKASSIGN

#define CMT_CHECKASSIGN

Definition at line 67 of file cmtmessage.h.

Referenced by xsens::Message::Message().

◆ CMT_CHECKVAL

#define CMT_CHECKVAL

Definition at line 66 of file cmtmessage.h.

◆ CMT_CHECKVAR

#define CMT_CHECKVAR

Definition at line 65 of file cmtmessage.h.

◆ swapEndian16

#define swapEndian16 (   src)    (((src) >> 8) | ((src) << 8))

Definition at line 71 of file cmtmessage.h.

Referenced by xsens::Packet::getRawData(), and LegacyDataPacket::rawData().

◆ swapEndian32

#define swapEndian32 (   src)    (((src) >> 24) | ((src) >> 8 & 0xFF00) | ((src) << 8 & 0xFF0000) | ((src) << 24))

Definition at line 72 of file cmtmessage.h.

Referenced by XsDataPacket_assignFromXsLegacyDataPacket().




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019