HokuyoAIST
3.0.1
|
General error class. More...
#include <hokuyoaist/hokuyo_errors.h>
Public Member Functions | |
BaseError (unsigned int desc_code, char const *error_type) | |
Hokuyo error constructor. | |
BaseError (BaseError const &rhs) | |
virtual | ~BaseError () throw () |
virtual unsigned int | desc_code () const throw () |
virtual char const * | error_type () const throw () |
virtual const char * | what () throw () |
Protected Attributes | |
unsigned int | desc_code_ |
Description code for use with the error string table. | |
std::stringstream | ss |
Formatted description of the error. | |
char | error_type_ [32] |
String representation of the error. |
General error class.
Definition at line 65 of file hokuyo_errors.h.
hokuyoaist::BaseError::BaseError | ( | unsigned int | desc_code, |
char const * | error_type | ||
) |
Hokuyo error constructor.
desc_code | Index into the error descriptions string table. |
error_type | The error as a string. |
hokuyoaist::BaseError::BaseError | ( | BaseError const & | rhs | ) |
virtual hokuyoaist::BaseError::~BaseError | ( | ) | throw () [inline, virtual] |
Definition at line 75 of file hokuyo_errors.h.
virtual unsigned int hokuyoaist::BaseError::desc_code | ( | ) | const throw () [inline, virtual] |
Definition at line 77 of file hokuyo_errors.h.
virtual char const* hokuyoaist::BaseError::error_type | ( | ) | const throw () [inline, virtual] |
Definition at line 80 of file hokuyo_errors.h.
virtual const char* hokuyoaist::BaseError::what | ( | ) | throw () [virtual] |
Reimplemented in hokuyoaist::LineLengthError, hokuyoaist::InsufficientBytesError, hokuyoaist::ParamEchoError, hokuyoaist::CommandEchoError, hokuyoaist::Scip1ResponseError, hokuyoaist::ResponseError, hokuyoaist::ParseError, hokuyoaist::UnknownLineError, hokuyoaist::ChecksumError, and hokuyoaist::BaudrateError.
unsigned int hokuyoaist::BaseError::desc_code_ [protected] |
Description code for use with the error string table.
Definition at line 87 of file hokuyo_errors.h.
char hokuyoaist::BaseError::error_type_[32] [protected] |
String representation of the error.
Definition at line 92 of file hokuyo_errors.h.
std::stringstream hokuyoaist::BaseError::ss [protected] |
Formatted description of the error.
Definition at line 90 of file hokuyo_errors.h.