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

Bad checksum error. More...

#include <hokuyoaist/hokuyo_errors.h>

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

List of all members.

Public Member Functions

 ChecksumError (int expected, int calculated)
 Checksum error constructor.
 ChecksumError (ChecksumError const &rhs)
virtual int expected () const throw ()
virtual int calculated () const throw ()
virtual const char * what () throw ()

Protected Attributes

int expected_
 Expected checksum value.
int calculated_
 Calculated checksum value.

Detailed Description

Bad checksum error.

Definition at line 357 of file hokuyo_errors.h.


Constructor & Destructor Documentation

hokuyoaist::ChecksumError::ChecksumError ( int  expected,
int  calculated 
) [inline]

Checksum error constructor.

Parameters:
expectedThe expected checksum.
calculatedThe calculated checksum.

Definition at line 364 of file hokuyo_errors.h.

Definition at line 368 of file hokuyo_errors.h.


Member Function Documentation

virtual int hokuyoaist::ChecksumError::calculated ( ) const throw () [inline, virtual]

Definition at line 376 of file hokuyo_errors.h.

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

Definition at line 373 of file hokuyo_errors.h.

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

Reimplemented from hokuyoaist::BaseError.


Member Data Documentation

Calculated checksum value.

Definition at line 389 of file hokuyo_errors.h.

Expected checksum value.

Definition at line 387 of file hokuyo_errors.h.


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