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>
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. |
Class declaration for RS232 serial communication.
Definition in file SerialCom.h.
#define DEF_EXCEPTION | ( | name, | |||
parent | ) |
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.