Defines
CerealPort.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 "cereal_port/CerealPort.h"
Include dependency graph for CerealPort.cpp:

Go to the source code of this file.

Defines

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

Define 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 52 of file CerealPort.cpp.



cereal_port
Author(s): Gonçalo Cabrita and Pedro Sousa
autogenerated on Mon Jan 6 2014 11:25:14