HokuyoAIST  3.0.1
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.
 InsufficientBytesError (InsufficientBytesError const &rhs)
virtual int num () const throw ()
virtual int line_length () const throw ()
const char * what () throw ()
- Public Member Functions inherited from hokuyoaist::ProtocolError
 ProtocolError (unsigned int desc_code)
 Protocol error constructor.
 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.
 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.
 BaseError (BaseError const &rhs)
virtual ~BaseError () throw ()
virtual unsigned int desc_code () const throw ()
virtual char const * error_type () const throw ()

Protected Attributes

int num_
 Number of bytes available.
int line_length_
 Length of the line.

Detailed Description

Insufficient bytes to calculate checksum error.

Definition at line 608 of file hokuyo_errors.h.

Constructor & Destructor Documentation

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

Insufficient bytes error constructor.

Parameters
numThe number of bytes received.
line_lengthThe length of the line.

Definition at line 615 of file hokuyo_errors.h.

hokuyoaist::InsufficientBytesError::InsufficientBytesError ( InsufficientBytesError const &  rhs)
inline

Definition at line 619 of file hokuyo_errors.h.

Member Function Documentation

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

Definition at line 627 of file hokuyo_errors.h.

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

Definition at line 624 of file hokuyo_errors.h.

const char* hokuyoaist::InsufficientBytesError::what ( ) throw ()
virtual

Reimplemented from hokuyoaist::BaseError.

Member Data Documentation

int hokuyoaist::InsufficientBytesError::line_length_
protected

Length of the line.

Definition at line 636 of file hokuyo_errors.h.

int hokuyoaist::InsufficientBytesError::num_
protected

Number of bytes available.

Definition at line 634 of file hokuyo_errors.h.


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