serial  1.1.0
Cross-platform, serial port library written in C++
 All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Defines
Public Member Functions
serial::PortNotOpenedException Class Reference

#include <serial.h>

Public Member Functions

 PortNotOpenedException (const char *description)
 PortNotOpenedException (const PortNotOpenedException &other)
virtual const char * what () const throw ()

Constructor & Destructor Documentation

serial::PortNotOpenedException::PortNotOpenedException ( const char *  description) [inline]
: e_what_ (description) {}
                                                               {
    e_what_ = other.e_what_;
  }

Member Function Documentation

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 ();
  }

The documentation for this class was generated from the following file: