INTRODUCTION
Overview
Download and Install
Documentation
Publications

REPOSITORY
Libraries

DEVELOPER
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         
hokuyo_aist::ChecksumError Class Reference

Bad checksum error. More...

#include <hokuyo_errors.h>

Inheritance diagram for hokuyo_aist::ChecksumError:
Inheritance graph

Public Member Functions

 ChecksumError (int expected, int calculated)
 Checksum error constructor. More...
 
- Public Member Functions inherited from hokuyo_aist::ProtocolError
 ProtocolError (unsigned int desc_code)
 Protocol error constructor. More...
 
- Public Member Functions inherited from hokuyo_aist::RuntimeError
 RuntimeError (unsigned int desc_code)
 Runtime error constructor. More...
 
- Public Member Functions inherited from hokuyo_aist::BaseError
 BaseError (unsigned int desc_code, char const *error_type)
 Hokuyo error constructor. More...
 

Protected Attributes

int expected_
 
int calculated_
 
- Protected Attributes inherited from hokuyo_aist::BaseError
unsigned int desc_code_
 
std::stringstream ss
 
char error_type_ [32]
 

Detailed Description

Bad checksum error.

Constructor & Destructor Documentation

◆ ChecksumError()

hokuyo_aist::ChecksumError::ChecksumError ( int  expected,
int  calculated 
)
inline

Checksum error constructor.

Parameters
expectedThe expected checksum.
calculatedThe calculated checksum.

Member Data Documentation

◆ calculated_

int hokuyo_aist::ChecksumError::calculated_
protected

Calculated checksum value.

◆ expected_

int hokuyo_aist::ChecksumError::expected_
protected

Expected checksum value.


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

Generated for GearBox by  doxygen 1.4.5