Main MRPT website > C++ reference for MRPT 1.5.6
Macros
gnss_messages_common.cpp File Reference
#include "obs-precomp.h"
#include <mrpt/obs/gnss_messages.h>
#include <mrpt/utils/CMemoryStream.h>
#include <map>
Include dependency graph for gnss_messages_common.cpp:

Go to the source code of this file.

Macros

#define LIST_ALL_MSGS
 
#define DOFOR(_MSG_ID)   case _MSG_ID: return new Message_##_MSG_ID();
 
#define DOFOR(_MSG_ID)   case _MSG_ID: return true;
 
#define DOFOR(_MSG_ID)   gnss_type2str[_MSG_ID] = #_MSG_ID;
 

Macro Definition Documentation

◆ DOFOR [1/3]

#define DOFOR (   _MSG_ID)    case _MSG_ID: return new Message_##_MSG_ID();

◆ DOFOR [2/3]

#define DOFOR (   _MSG_ID)    case _MSG_ID: return true;

◆ DOFOR [3/3]

#define DOFOR (   _MSG_ID)    gnss_type2str[_MSG_ID] = #_MSG_ID;

◆ LIST_ALL_MSGS

#define LIST_ALL_MSGS
Value:
/* ====== NMEA ====== */ \
DOFOR(NMEA_GGA) \
DOFOR(NMEA_RMC) \
DOFOR(NMEA_ZDA) \
DOFOR(NMEA_VTG) \
DOFOR(NMEA_GLL) \
/* ====== TopCon mmGPS ====== */ \
DOFOR(TOPCON_PZS) \
DOFOR(TOPCON_SATS) \
/* ====== Novatel OEM6 ====== */ \
DOFOR(NV_OEM6_BESTPOS) \
/* ====== Novatel SPAN+OEM6 ====== */ \
DOFOR(NV_OEM6_INSPVAS) \
DOFOR(NV_OEM6_VERSION) \
DOFOR(NV_OEM6_RAWIMUS) \
DOFOR(NV_OEM6_MARKPOS) \
DOFOR(NV_OEM6_IONUTC) \

Definition at line 19 of file gnss_messages_common.cpp.

Referenced by mrpt::obs::gnss::gnss_message::Factory(), mrpt::obs::gnss::gnss_message::FactoryKnowsMsgType(), and mrpt::obs::gnss::gnss_message::getMessageTypeAsString().




Page generated by Doxygen 1.8.14 for MRPT 1.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019