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

Bad response error - may be sent in response to any command. More...

#include <hokuyo_errors.h>

Inheritance diagram for hokuyo_aist::ResponseError:
Inheritance graph

Public Member Functions

 ResponseError (char const *const error, char const *const cmd)
 Response error constructor. More...
 
virtual char const *const error_code () const throw ()
 Get the two-byte error code as a non-null-terminated array.
 
virtual char const *const cmd_code () const throw ()
 Get the two-byte command code as a non-null-terminated array.
 
- 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_ [2]
 
char cmd_ [2]
 
- Protected Attributes inherited from hokuyo_aist::BaseError
unsigned int desc_code_
 
std::stringstream ss
 
char error_type_ [32]
 

Detailed Description

Bad response error - may be sent in response to any command.

Constructor & Destructor Documentation

◆ ResponseError()

hokuyo_aist::ResponseError::ResponseError ( char const *const  error,
char const *const  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::ResponseError::cmd_[2]
protected

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

◆ error_

char hokuyo_aist::ResponseError::error_[2]
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