Classes | Namespaces | Defines | Functions
CerealPort.h File Reference
#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 CerealPort.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cereal::CerealPort
 C++ serial port class for ROS. More...

Namespaces

namespace  cereal

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

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

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 51 of file CerealPort.h.

#define MAX_LENGTH   128

Definition at line 46 of file CerealPort.h.



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