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 51 of file serial_exception.h.

Constructor & Destructor Documentation

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

Definition at line 54 of file serial_exception.h.

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

Definition at line 56 of file serial_exception.h.

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

Definition at line 58 of file serial_exception.h.

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

Definition at line 60 of file serial_exception.h.

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

Definition at line 62 of file serial_exception.h.

Member Function Documentation

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

Definition at line 69 of file serial_exception.h.

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

Definition at line 64 of file serial_exception.h.

Member Data Documentation

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

Definition at line 67 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 Thu Apr 15 2021 05:09:29