HokuyoAIST
3.0.2
|
Bad response error (SCIP1 version) More...
#include <hokuyoaist/hokuyo_errors.h>
Public Member Functions | |
Scip1ResponseError (char error, char cmd) | |
Response error constructor. More... | |
Scip1ResponseError (Scip1ResponseError const &rhs) | |
virtual char | error_code () const throw () |
Get the one-byte error code. More... | |
virtual char | cmd_code () const throw () |
Get the one-byte command code. More... | |
Public Member Functions inherited from hokuyoaist::ProtocolError | |
ProtocolError (unsigned int desc_code) | |
Protocol error constructor. More... | |
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. More... | |
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. More... | |
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 | |
char | error_ |
Error code as defined in SCIP2 (two bytes). More... | |
char | cmd_ |
Command that triggered the error, from SCIP2 (two bytes). More... | |
Protected Attributes inherited from hokuyoaist::BaseError | |
unsigned int | desc_code_ |
Description code for use with the error string table. More... | |
std::string | error_str_ |
Formatted description of the error. More... | |
char | error_type_ [32] |
String representation of the error. More... | |
Bad response error (SCIP1 version)
Definition at line 472 of file hokuyo_errors.h.
hokuyoaist::Scip1ResponseError::Scip1ResponseError | ( | char | error, |
char | cmd | ||
) |
Response error constructor.
error | The two-byte error code received. |
cmd | The command that caused the error. |
hokuyoaist::Scip1ResponseError::Scip1ResponseError | ( | Scip1ResponseError const & | rhs | ) |
|
inlinevirtual |
Get the one-byte command code.
Definition at line 486 of file hokuyo_errors.h.
|
inlinevirtual |
Get the one-byte error code.
Definition at line 482 of file hokuyo_errors.h.
|
protected |
Command that triggered the error, from SCIP2 (two bytes).
Definition at line 493 of file hokuyo_errors.h.
|
protected |
Error code as defined in SCIP2 (two bytes).
Definition at line 491 of file hokuyo_errors.h.