HokuyoAIST  3.0.1
Public Member Functions | Protected Attributes | List of all members
hokuyoaist::BaudrateError Class Reference

Baudrate error class. More...

#include <hokuyoaist/hokuyo_errors.h>

Inheritance diagram for hokuyoaist::BaudrateError:
Inheritance graph
[legend]
Collaboration diagram for hokuyoaist::BaudrateError:
Collaboration graph
[legend]

Public Member Functions

 BaudrateError (unsigned int baud)
 Baud rate error constructor.
 BaudrateError (BaudrateError const &rhs)
unsigned int baud () const throw ()
const char * what () throw ()
- Public Member Functions inherited from hokuyoaist::RuntimeError
 RuntimeError (unsigned int desc_code)
 Runtime error constructor.
 RuntimeError (unsigned int desc_code, char const *error_type)
virtual ~RuntimeError () throw ()
- Public Member Functions inherited from hokuyoaist::BaseError
 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 ()

Protected Attributes

unsigned int baud_
 Baud rate that caused the error.

Detailed Description

Baudrate error class.

Definition at line 157 of file hokuyo_errors.h.

Constructor & Destructor Documentation

hokuyoaist::BaudrateError::BaudrateError ( unsigned int  baud)
inline

Baud rate error constructor.

Parameters
baudThe bad baud rate.

Definition at line 163 of file hokuyo_errors.h.

hokuyoaist::BaudrateError::BaudrateError ( BaudrateError const &  rhs)
inline

Definition at line 166 of file hokuyo_errors.h.

Member Function Documentation

unsigned int hokuyoaist::BaudrateError::baud ( ) const throw ()
inline

Definition at line 170 of file hokuyo_errors.h.

const char* hokuyoaist::BaudrateError::what ( ) throw ()
virtual

Reimplemented from hokuyoaist::BaseError.

Member Data Documentation

unsigned int hokuyoaist::BaudrateError::baud_
protected

Baud rate that caused the error.

Definition at line 177 of file hokuyo_errors.h.


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