HokuyoAIST 3.0.2
hokuyoaist::InsufficientBytesError Class Reference

Insufficient bytes to calculate checksum error. More...

#include <hokuyoaist/hokuyo_errors.h>

Inheritance diagram for hokuyoaist::InsufficientBytesError:
Collaboration diagram for hokuyoaist::InsufficientBytesError:

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 ()
 
- 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 ()
 
virtual const char * what () const throw ()
 

Protected Attributes

int num_
 Number of bytes available.
 
int line_length_
 Length of the line.
 
- Protected Attributes inherited from hokuyoaist::BaseError
unsigned int desc_code_
 Description code for use with the error string table.
 
std::string error_str_
 Formatted description of the error.
 
char error_type_ [32]
 String representation of the error.
 

Detailed Description

Insufficient bytes to calculate checksum error.

Definition at line 543 of file hokuyo_errors.h.

Constructor & Destructor Documentation

◆ InsufficientBytesError() [1/2]

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

Insufficient bytes error constructor.

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

◆ InsufficientBytesError() [2/2]

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

Member Function Documentation

◆ line_length()

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

Definition at line 556 of file hokuyo_errors.h.

◆ num()

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

Definition at line 553 of file hokuyo_errors.h.

Member Data Documentation

◆ line_length_

int hokuyoaist::InsufficientBytesError::line_length_
protected

Length of the line.

Definition at line 563 of file hokuyo_errors.h.

◆ num_

int hokuyoaist::InsufficientBytesError::num_
protected

Number of bytes available.

Definition at line 561 of file hokuyo_errors.h.


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