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