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 ()
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 641 of file hokuyo_errors.h.


Constructor & Destructor Documentation

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

Line length error constructor.

Parameters:
length The number of bytes received.
expected The expected length of the line.

Definition at line 648 of file hokuyo_errors.h.

hokuyoaist::LineLengthError::LineLengthError ( LineLengthError const &  rhs  )  [inline]

Definition at line 652 of file hokuyo_errors.h.


Member Function Documentation

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

Definition at line 660 of file hokuyo_errors.h.

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

Definition at line 657 of file hokuyo_errors.h.

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

Reimplemented from hokuyoaist::BaseError.


Member Data Documentation

The expected line length.

Definition at line 669 of file hokuyo_errors.h.

The received line length.

Definition at line 667 of file hokuyo_errors.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 16 Oct 2012 for HokuyoAIST by  doxygen 1.6.1