MRPT  1.9.9
gnss_messages_common.cpp File Reference
#include "obs-precomp.h"
#include <mrpt/io/CMemoryStream.h>
#include <mrpt/obs/gnss_messages.h>
#include <mrpt/serialization/CArchive.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)
 
#define DOFOR(_MSG_ID)
 
#define DOFOR(_MSG_ID)   gnss_type2str[_MSG_ID] = #_MSG_ID;
 

Macro Definition Documentation

◆ DOFOR [1/3]

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

◆ DOFOR [2/3]

#define DOFOR (   _MSG_ID)
Value:
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) \

Definition at line 20 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.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019