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

Parameter echo error. More...

#include <hokuyoaist/hokuyo_errors.h>

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

Public Member Functions

 ParamEchoError (char const *const cmd)
 Parameter echo error constructor.
 ParamEchoError (ParamEchoError const &rhs)
virtual char const *const cmd_code () const throw ()
 Get the two-byte command code as a non-null-terminated array.
const char * what () throw ()
- Public Member Functions inherited from hokuyoaist::ProtocolError
 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 ()

Protected Attributes

char cmd_ [2]
 Command that triggered the error, from SCIP2 (two bytes).

Detailed Description

Parameter echo error.

Definition at line 577 of file hokuyo_errors.h.

Constructor & Destructor Documentation

hokuyoaist::ParamEchoError::ParamEchoError ( char const *const  cmd)
inline

Parameter echo error constructor.

Parameters
cmdThe two-byte command code sent.

Definition at line 583 of file hokuyo_errors.h.

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

Definition at line 588 of file hokuyo_errors.h.

Member Function Documentation

virtual char const* const hokuyoaist::ParamEchoError::cmd_code ( ) const throw ()
inlinevirtual

Get the two-byte command code as a non-null-terminated array.

Definition at line 596 of file hokuyo_errors.h.

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

Reimplemented from hokuyoaist::BaseError.

Member Data Documentation

char hokuyoaist::ParamEchoError::cmd_[2]
protected

Command that triggered the error, from SCIP2 (two bytes).

Definition at line 603 of file hokuyo_errors.h.


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