hokuyoaist::Scip1ResponseError Class Reference

Bad response error (SCIP1 version). More...

#include <hokuyoaist/hokuyo_errors.h>

Inheritance diagram for hokuyoaist::Scip1ResponseError:
Inheritance graph
[legend]
Collaboration diagram for hokuyoaist::Scip1ResponseError:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Scip1ResponseError (char error, char cmd)
 Response error constructor.
 Scip1ResponseError (Scip1ResponseError const &rhs)
virtual char error_code () const throw ()
 Get the one-byte error code.
virtual char cmd_code () const throw ()
 Get the one-byte command code.
const char * what () throw ()

Protected Attributes

char error_
 Error code as defined in SCIP2 (two bytes).
char cmd_
 Command that triggered the error, from SCIP2 (two bytes).

Detailed Description

Bad response error (SCIP1 version).

Definition at line 501 of file hokuyo_errors.h.


Constructor & Destructor Documentation

hokuyoaist::Scip1ResponseError::Scip1ResponseError ( char  error,
char  cmd 
) [inline]

Response error constructor.

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

Definition at line 508 of file hokuyo_errors.h.

hokuyoaist::Scip1ResponseError::Scip1ResponseError ( Scip1ResponseError const &  rhs  )  [inline]

Definition at line 512 of file hokuyo_errors.h.


Member Function Documentation

virtual char hokuyoaist::Scip1ResponseError::cmd_code (  )  const throw () [inline, virtual]

Get the one-byte command code.

Definition at line 522 of file hokuyo_errors.h.

virtual char hokuyoaist::Scip1ResponseError::error_code (  )  const throw () [inline, virtual]

Get the one-byte error code.

Definition at line 518 of file hokuyo_errors.h.

const char* hokuyoaist::Scip1ResponseError::what (  )  throw () [virtual]

Reimplemented from hokuyoaist::BaseError.


Member Data Documentation

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

Definition at line 531 of file hokuyo_errors.h.

Error code as defined in SCIP2 (two bytes).

Definition at line 529 of file hokuyo_errors.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 16 Oct 2012 for HokuyoAIST by  doxygen 1.6.1