Public Member Functions | Private Member Functions | Private Attributes | List of all members
mavrosflight::SerialException Class Reference

Describes an exception encountered while using the boost serial libraries. More...

#include <serial_exception.h>

Inheritance diagram for mavrosflight::SerialException:
Inheritance graph
[legend]

Public Member Functions

 SerialException (const char *const description)
 
 SerialException (const std::string &description)
 
 SerialException (const boost::system::system_error &err)
 
 SerialException (const SerialException &other)
 
virtual const char * what () const throw ()
 
 ~SerialException () throw ()
 

Private Member Functions

void init (const char *const description)
 

Private Attributes

std::string what_
 

Detailed Description

Describes an exception encountered while using the boost serial libraries.

Definition at line 52 of file serial_exception.h.

Constructor & Destructor Documentation

mavrosflight::SerialException::SerialException ( const char *const  description)
inlineexplicit

Definition at line 55 of file serial_exception.h.

mavrosflight::SerialException::SerialException ( const std::string &  description)
inlineexplicit

Definition at line 60 of file serial_exception.h.

mavrosflight::SerialException::SerialException ( const boost::system::system_error &  err)
inlineexplicit

Definition at line 65 of file serial_exception.h.

mavrosflight::SerialException::SerialException ( const SerialException other)
inline

Definition at line 70 of file serial_exception.h.

mavrosflight::SerialException::~SerialException ( )
throw (
)
inline

Definition at line 72 of file serial_exception.h.

Member Function Documentation

void mavrosflight::SerialException::init ( const char *const  description)
inlineprivate

Definition at line 82 of file serial_exception.h.

virtual const char* mavrosflight::SerialException::what ( ) const
throw (
)
inlinevirtual

Definition at line 74 of file serial_exception.h.

Member Data Documentation

std::string mavrosflight::SerialException::what_
private

Definition at line 80 of file serial_exception.h.


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


rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 20:00:14