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

Command echo error. More...

#include <hokuyo_errors.h>

Inheritance diagram for hokuyo_aist::CommandEchoError:
Inheritance graph

Public Member Functions

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

Detailed Description

Command echo error.

Constructor & Destructor Documentation

◆ CommandEchoError()

hokuyo_aist::CommandEchoError::CommandEchoError ( char const *const  cmd,
char const *const  echo 
)
inline

Command echo error constructor.

Parameters
lineThe two-byte command code expected.
typeThe two-byte command echo received.

References cmd_code(), and cmd_echo().

Member Data Documentation

◆ cmd_

char hokuyo_aist::CommandEchoError::cmd_[2]
protected

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

◆ echo_

char hokuyo_aist::CommandEchoError::echo_[2]
protected

Received echo.


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

Generated for GearBox by  doxygen 1.4.5