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::LineLengthError Class Reference

Incorrect line length error. More...

#include <hokuyo_errors.h>

Inheritance diagram for hokuyo_aist::LineLengthError:
Inheritance graph

Public Member Functions

 LineLengthError (int length, int expected)
 Line length 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 length_
 
int expected_
 
- Protected Attributes inherited from hokuyo_aist::BaseError
unsigned int desc_code_
 
std::stringstream ss
 
char error_type_ [32]
 

Detailed Description

Incorrect line length error.

Constructor & Destructor Documentation

◆ LineLengthError()

hokuyo_aist::LineLengthError::LineLengthError ( int  length,
int  expected 
)
inline

Line length error constructor.

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

Member Data Documentation

◆ expected_

int hokuyo_aist::LineLengthError::expected_
protected

The expected line length.

◆ length_

int hokuyo_aist::LineLengthError::length_
protected

The received line length.


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

Generated for GearBox by  doxygen 1.4.5