HokuyoAIST  3.0.2
Public Member Functions | Protected Attributes | List of all members
hokuyoaist::InsufficientBytesError Class Reference

Insufficient bytes to calculate checksum error. More...

#include <hokuyoaist/hokuyo_errors.h>

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

Public Member Functions

 InsufficientBytesError (int num, int line_length)
 Insufficient bytes error constructor. More...
 
 InsufficientBytesError (InsufficientBytesError const &rhs)
 
virtual int num () const throw ()
 
virtual int line_length () 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 num_
 Number of bytes available. More...
 
int line_length_
 Length of the line. 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...
 

Detailed Description

Insufficient bytes to calculate checksum error.

Definition at line 545 of file hokuyo_errors.h.

Constructor & Destructor Documentation

hokuyoaist::InsufficientBytesError::InsufficientBytesError ( int  num,
int  line_length 
)

Insufficient bytes error constructor.

Parameters
numThe number of bytes received.
line_lengthThe length of the line.
hokuyoaist::InsufficientBytesError::InsufficientBytesError ( InsufficientBytesError const &  rhs)

Member Function Documentation

virtual int hokuyoaist::InsufficientBytesError::line_length ( ) const
throw (
)
inlinevirtual

Definition at line 558 of file hokuyo_errors.h.

virtual int hokuyoaist::InsufficientBytesError::num ( ) const
throw (
)
inlinevirtual

Definition at line 555 of file hokuyo_errors.h.

Member Data Documentation

int hokuyoaist::InsufficientBytesError::line_length_
protected

Length of the line.

Definition at line 565 of file hokuyo_errors.h.

int hokuyoaist::InsufficientBytesError::num_
protected

Number of bytes available.

Definition at line 563 of file hokuyo_errors.h.


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