/home/laradmin/lar/utils/serialcom/include/serialcom/SerialCom.h File Reference

Class declaration for RS232 serial communication. More...

#include <stdexcept>
#include <termios.h>
#include <string>
#include <vector>
#include <stdint.h>
#include <boost/function.hpp>
#include <boost/thread/thread.hpp>
Include dependency graph for SerialCom.h:

Go to the source code of this file.

Classes

class  serialcom::SerialCom

Namespaces

namespace  serialcom

Defines

#define DEF_EXCEPTION(name, parent)
 Macro for defining an exception with a given parent (std::runtime_error should be top parent).
#define MAX_LENGTH   128

Functions

 serialcom::DEF_EXCEPTION (TimeoutException, Exception)
 An exception for use when a timeout is exceeded.
 serialcom::DEF_EXCEPTION (Exception, std::runtime_error)
 A standard exception.

Detailed Description

Class declaration for RS232 serial communication.

Definition in file SerialCom.h.


Define Documentation

#define DEF_EXCEPTION ( name,
parent   ) 
Value:
class name : public parent { \
                public: \
        name(const char* msg) : parent(msg) {} \
        }

Macro for defining an exception with a given parent (std::runtime_error should be top parent).

Definition at line 64 of file SerialCom.h.

#define MAX_LENGTH   128

Definition at line 59 of file SerialCom.h.

 All Classes Namespaces Files Functions Variables Enumerator Defines


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