hokuyoaist::BaseError Class Reference

General error class. More...

#include <hokuyoaist/hokuyo_errors.h>

Inheritance diagram for hokuyoaist::BaseError:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

General error class.

Definition at line 65 of file hokuyo_errors.h.


Constructor & Destructor Documentation

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

Hokuyo error constructor.

Parameters:
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.


Member Function Documentation

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]

Member Data Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 16 Oct 2012 for HokuyoAIST by  doxygen 1.6.1