serial
1.1.0
Cross-platform, serial port library written in C++
|
#include <serial.h>
Public Member Functions | |
PortNotOpenedException (const char *description) | |
PortNotOpenedException (const PortNotOpenedException &other) | |
virtual const char * | what () const throw () |
serial::PortNotOpenedException::PortNotOpenedException | ( | const char * | description | ) | [inline] |
: e_what_ (description) {}
serial::PortNotOpenedException::PortNotOpenedException | ( | const PortNotOpenedException & | other | ) | [inline] |
{ e_what_ = other.e_what_; }
virtual const char* serial::PortNotOpenedException::what | ( | ) | const throw () [inline, virtual] |
{ std::stringstream ss; ss << e_what_ << " called before port was opened."; return ss.str ().c_str (); }