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

Bad response error (SCIP1 version) More...

#include <hokuyo_errors.h>

Inheritance diagram for hokuyo_aist::Scip1ResponseError:
Inheritance graph

Public Member Functions

 Scip1ResponseError (char error, char cmd)
 Response error constructor. More...
 
virtual char error_code () const throw ()
 Get the one-byte error code.
 
virtual char cmd_code () const throw ()
 Get the one-byte command code.
 
- 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

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

Detailed Description

Bad response error (SCIP1 version)

Constructor & Destructor Documentation

◆ Scip1ResponseError()

hokuyo_aist::Scip1ResponseError::Scip1ResponseError ( char  error,
char  cmd 
)
inline

Response error constructor.

Parameters
lineThe two-byte error code received.
typeThe command that caused the error.

References cmd_code(), and error_code().

Member Data Documentation

◆ cmd_

char hokuyo_aist::Scip1ResponseError::cmd_
protected

Command that triggered the error, from SCIP2 (two bytes).

◆ error_

char hokuyo_aist::Scip1ResponseError::error_
protected

Error code as defined in SCIP2 (two bytes).


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

Generated for GearBox by  doxygen 1.4.5