HokuyoAIST 3.0.2
hokuyoaist::BaudrateError Class Reference

Baudrate error class. More...

#include <hokuyoaist/hokuyo_errors.h>

Inheritance diagram for hokuyoaist::BaudrateError:
Collaboration diagram for hokuyoaist::BaudrateError:

Public Member Functions

 BaudrateError (unsigned int baud)
 Baud rate error constructor.
 BaudrateError (BaudrateError const &rhs)
unsigned int baud () const 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 ()
virtual const char * what () const throw ()

Protected Attributes

unsigned int baud_
 Baud rate that caused the error.
Protected Attributes inherited from hokuyoaist::BaseError
unsigned int desc_code_
 Description code for use with the error string table.
std::string error_str_
 Formatted description of the error.
char error_type_ [32]
 String representation of the error.

Detailed Description

Baudrate error class.

Definition at line 158 of file hokuyo_errors.h.

Constructor & Destructor Documentation

◆ BaudrateError() [1/2]

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

Baud rate error constructor.

Parameters
baudThe bad baud rate.

◆ BaudrateError() [2/2]

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

Member Function Documentation

◆ baud()

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

Definition at line 167 of file hokuyo_errors.h.

Member Data Documentation

◆ baud_

unsigned int hokuyoaist::BaudrateError::baud_
protected

Baud rate that caused the error.

Definition at line 172 of file hokuyo_errors.h.


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