MRPT  2.0.4
Macros
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 <iostream>
#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_GSA) \
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 21 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 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020