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>

Inherits hokuyo_aist::ProtocolError.

List of all members.

Public Member Functions

 ResponseError (char const *const error, char const *const cmd)
 Response error constructor.
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.

Protected Attributes

char error_ [2]
char cmd_ [2]


Detailed Description

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

Constructor & Destructor Documentation

hokuyo_aist::ResponseError::ResponseError ( char const *const   error,
char const *const   cmd 
) [inline]

Response error constructor.

Parameters:
line The two-byte error code received.
type The command that caused the error.


Member Data Documentation

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

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

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