HokuyoAIST  3.0.1
Public Member Functions | List of all members
hokuyoaist::ProtocolError Class Reference

Base protocol error. More...

#include <hokuyoaist/hokuyo_errors.h>

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

Public Member Functions

 ProtocolError (unsigned int desc_code)
 Protocol error constructor.
 ProtocolError (unsigned int desc_code, char const *error_type)
virtual ~ProtocolError () 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 () throw ()

Additional Inherited Members

- Protected Attributes inherited from hokuyoaist::BaseError
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.

Detailed Description

Base protocol error.

Definition at line 332 of file hokuyo_errors.h.

Constructor & Destructor Documentation

hokuyoaist::ProtocolError::ProtocolError ( unsigned int  desc_code)
inline

Protocol error constructor.

Parameters
desc_codeIndex into the error descriptions string table.

Definition at line 338 of file hokuyo_errors.h.

hokuyoaist::ProtocolError::ProtocolError ( unsigned int  desc_code,
char const *  error_type 
)
inline

Definition at line 341 of file hokuyo_errors.h.

virtual hokuyoaist::ProtocolError::~ProtocolError ( ) throw ()
inlinevirtual

Definition at line 344 of file hokuyo_errors.h.


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