Bad response error - may be sent in response to any command.
More...
#include <hokuyoaist/hokuyo_errors.h>
|
char | error_ [2] |
| Error code as defined in SCIP2 (two bytes). More...
|
|
char | cmd_ [2] |
| Command that triggered the error, from SCIP2 (two bytes). More...
|
|
unsigned int | desc_code_ |
| Description code for use with the error string table. More...
|
|
std::stringstream | ss |
| Formatted description of the error. More...
|
|
char | error_type_ [32] |
| String representation of the error. More...
|
|
Bad response error - may be sent in response to any command.
Definition at line 480 of file hokuyo_errors.h.
hokuyoaist::ResponseError::ResponseError |
( |
char const *const |
error, |
|
|
char const *const |
cmd |
|
) |
| |
|
inline |
Response error constructor.
- Parameters
-
error | The two-byte error code received. |
cmd | The command that caused the error. |
Definition at line 487 of file hokuyo_errors.h.
hokuyoaist::ResponseError::ResponseError |
( |
ResponseError const & |
rhs | ) |
|
|
inline |
virtual char const* const hokuyoaist::ResponseError::cmd_code |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlinevirtual |
Get the two-byte command code as a non-null-terminated array.
Definition at line 507 of file hokuyo_errors.h.
virtual char const* const hokuyoaist::ResponseError::error_code |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlinevirtual |
Get the two-byte error code as a non-null-terminated array.
Definition at line 503 of file hokuyo_errors.h.
virtual const char* hokuyoaist::ResponseError::what |
( |
| ) |
|
throw | ( | |
| ) | | |
|
virtual |
char hokuyoaist::ResponseError::cmd_[2] |
|
protected |
Command that triggered the error, from SCIP2 (two bytes).
Definition at line 520 of file hokuyo_errors.h.
char hokuyoaist::ResponseError::error_[2] |
|
protected |
Error code as defined in SCIP2 (two bytes).
Definition at line 518 of file hokuyo_errors.h.
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/hokuyoaist-b87a88aa66853d3c9d901d4e6be729c5fe69aae0/include/hokuyoaist/hokuyo_errors.h