HokuyoAIST
3.0.2
|
Incorrect line length error. More...
#include <hokuyoaist/hokuyo_errors.h>
Public Member Functions | |
LineLengthError (int length, int expected) | |
Line length error constructor. More... | |
LineLengthError (LineLengthError const &rhs) | |
virtual int | length () const throw () |
virtual int | expected () const throw () |
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 | |
int | length_ |
The received line length. More... | |
int | expected_ |
The expected line length. 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... | |
Incorrect line length error.
Definition at line 570 of file hokuyo_errors.h.
hokuyoaist::LineLengthError::LineLengthError | ( | int | length, |
int | expected | ||
) |
Line length error constructor.
length | The number of bytes received. |
expected | The expected length of the line. |
hokuyoaist::LineLengthError::LineLengthError | ( | LineLengthError const & | rhs | ) |
|
inlinevirtual |
Definition at line 583 of file hokuyo_errors.h.
|
inlinevirtual |
Definition at line 580 of file hokuyo_errors.h.
|
protected |
The expected line length.
Definition at line 590 of file hokuyo_errors.h.
|
protected |
The received line length.
Definition at line 588 of file hokuyo_errors.h.