12 #ifndef ECL_STREAMS_SERIAL_STREAM_HPP_ 13 #define ECL_STREAMS_SERIAL_STREAM_HPP_ 20 #include <ecl/config/macros.hpp> 21 #include <ecl/devices/serial.hpp> 22 #include <ecl/exceptions/standard_exception.hpp> 69 this->device().open(port_name, baud_rate, data_bits, stop_bits, parity);
70 if ( !this->device().open() ) {
71 error = this->device().error();
77 virtual ~SerialStream() {};
#define ecl_throw(exception)
Standard ecl throw exception throw.
#define ecl_streams_PUBLIC
#define ecl_throw_decl(exception)
Standard ecl throw exception declaration.
#define LOC
Stringify the line of code you are at.
#define ecl_catch(exception)
The catch part of a try-catch macro matching ecl_throw calls.
#define ecl_try
The try part of a try-catch macro matching ecl_throw calls.