/home/laradmin/lar/utils/serialcom/src/SerialCom.cpp File Reference

implementation of the methods for RS232 serial communication More...

#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 "serialcom/SerialCom.h"
#include <stdexcept>
#include <string>
#include <vector>
#include <stdint.h>
#include <boost/function.hpp>
#include <boost/thread/thread.hpp>
Include dependency graph for SerialCom.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

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

Detailed Description

implementation of the methods for RS232 serial communication

Definition in file SerialCom.cpp.


Define Documentation

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

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

Definition at line 59 of file SerialCom.cpp.

 All Classes Namespaces Files Functions Variables Enumerator Defines


serialcom
Author(s): Ricardo Pascoal
autogenerated on Wed Jul 23 04:33:49 2014