HokuyoAIST
3.0.2
|
Command echo error. More...
#include <hokuyoaist/hokuyo_errors.h>
Public Member Functions | |
CommandEchoError (char const *const cmd, char const *const echo) | |
Command echo error constructor. More... | |
CommandEchoError (CommandEchoError const &rhs) | |
virtual char const *const | cmd_code () const throw () |
Get the two-byte command code as a non-null-terminated array. More... | |
virtual char const *const | cmd_echo () const throw () |
Get the two-byte command echo as a non-null-terminated array. 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 | cmd_ [2] |
Command that triggered the error, from SCIP2 (two bytes). More... | |
char | echo_ [2] |
Received echo. 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... | |
Command echo error.
Definition at line 498 of file hokuyo_errors.h.
hokuyoaist::CommandEchoError::CommandEchoError | ( | char const *const | cmd, |
char const *const | echo | ||
) |
Command echo error constructor.
cmd | The two-byte command code expected. |
echo | The two-byte command echo received. |
hokuyoaist::CommandEchoError::CommandEchoError | ( | CommandEchoError const & | rhs | ) |
|
inlinevirtual |
Get the two-byte command code as a non-null-terminated array.
Definition at line 509 of file hokuyo_errors.h.
|
inlinevirtual |
Get the two-byte command echo as a non-null-terminated array.
Definition at line 513 of file hokuyo_errors.h.
|
protected |
Command that triggered the error, from SCIP2 (two bytes).
Definition at line 518 of file hokuyo_errors.h.
|
protected |
Received echo.
Definition at line 520 of file hokuyo_errors.h.