Main MRPT website > C++ reference for MRPT 1.9.9
Macros | Functions
CCANBusReader.cpp File Reference
#include "hwdrivers-precomp.h"
#include <mrpt/utils/crc.h>
#include <mrpt/utils/CTicTac.h>
#include <mrpt/system/os.h>
#include <cstdio>
#include <mrpt/hwdrivers/CCANBusReader.h>
#include <thread>

Go to the source code of this file.

Macros

#define RET_ERROR(msg)
 

Functions

char hexCharToInt (char n)
 

Macro Definition Documentation

◆ RET_ERROR

#define RET_ERROR (   msg)
Value:
{ \
cout << "[" << __CURRENT_FUNCTION_NAME__ << "] " << msg << endl; \
return false; \
}
#define __CURRENT_FUNCTION_NAME__
A macro for obtaining the name of the current function:

Definition at line 25 of file CCANBusReader.cpp.

Referenced by mrpt::hwdrivers::CCANBusReader::sendCANBusReaderSpeed(), mrpt::hwdrivers::CCANBusReader::tryToOpenComms(), and mrpt::hwdrivers::CCANBusReader::waitACK().

Function Documentation

◆ hexCharToInt()

char hexCharToInt ( char  n)

Definition at line 37 of file CCANBusReader.cpp.

Referenced by mrpt::hwdrivers::CCANBusReader::waitContinuousSampleFrame(), and mrpt::hwdrivers::CCANBusReader::waitIncomingFrame().

Here is the caller graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019