Macros
md49_serialport.cpp File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <termios.h>
#include <math.h>
#include <poll.h>
#include <signal.h>
#include <fcntl.h>
#include <iostream>
#include <fstream>
#include <stdexcept>
#include "md49_serialport/md49_serialport.h"
Include dependency graph for md49_serialport.cpp:

Go to the source code of this file.

Macros

#define CEREAL_EXCEPT(except, msg, ...)
 Macro for throwing an exception with a message, passing args. More...
 

Macro Definition Documentation

#define CEREAL_EXCEPT (   except,
  msg,
  ... 
)
Value:
{ \
char buf[1000]; \
snprintf(buf, 1000, msg " (in cereal::CerealPort::%s)" , ##__VA_ARGS__, __FUNCTION__); \
throw except(buf); \
}

Macro for throwing an exception with a message, passing args.

Definition at line 16 of file md49_serialport.cpp.



md49_serialport
Author(s): Fabian Prinzing
autogenerated on Mon Jun 10 2019 13:54:48