HokuyoAIST  3.0.1
Public Member Functions | Protected Attributes
hokuyoaist::LineLengthError Class Reference

Incorrect line length error. More...

#include <hokuyoaist/hokuyo_errors.h>

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

List of all members.

Public Member Functions

 LineLengthError (int length, int expected)
 Line length error constructor.
 LineLengthError (LineLengthError const &rhs)
virtual int length () const throw ()
virtual int expected () const throw ()
virtual const char * what () throw ()

Protected Attributes

int length_
 The received line length.
int expected_
 The expected line length.

Detailed Description

Incorrect line length error.

Definition at line 681 of file hokuyo_errors.h.


Constructor & Destructor Documentation

hokuyoaist::LineLengthError::LineLengthError ( int  length,
int  expected 
) [inline]

Line length error constructor.

Parameters:
lengthThe number of bytes received.
expectedThe expected length of the line.

Definition at line 688 of file hokuyo_errors.h.

Definition at line 692 of file hokuyo_errors.h.


Member Function Documentation

virtual int hokuyoaist::LineLengthError::expected ( ) const throw () [inline, virtual]

Definition at line 700 of file hokuyo_errors.h.

virtual int hokuyoaist::LineLengthError::length ( ) const throw () [inline, virtual]

Definition at line 697 of file hokuyo_errors.h.

virtual const char* hokuyoaist::LineLengthError::what ( ) throw () [virtual]

Reimplemented from hokuyoaist::BaseError.


Member Data Documentation

The expected line length.

Definition at line 713 of file hokuyo_errors.h.

The received line length.

Definition at line 711 of file hokuyo_errors.h.


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