HokuyoAIST  3.0.1
Public Member Functions | Protected Attributes
hokuyoaist::CommandEchoError Class Reference

Command echo error. More...

#include <hokuyoaist/hokuyo_errors.h>

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

List of all members.

Public Member Functions

 CommandEchoError (char const *const cmd, char const *const echo)
 Command echo error constructor.
 CommandEchoError (CommandEchoError const &rhs)
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.
const char * what () throw ()

Protected Attributes

char cmd_ [2]
 Command that triggered the error, from SCIP2 (two bytes).
char echo_ [2]
 Received echo.

Detailed Description

Command echo error.

Definition at line 536 of file hokuyo_errors.h.


Constructor & Destructor Documentation

hokuyoaist::CommandEchoError::CommandEchoError ( char const *const  cmd,
char const *const  echo 
) [inline]

Command echo error constructor.

Parameters:
cmdThe two-byte command code expected.
echoThe two-byte command echo received.

Definition at line 543 of file hokuyo_errors.h.

Definition at line 549 of file hokuyo_errors.h.


Member Function Documentation

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

Get the two-byte command code as a non-null-terminated array.

Definition at line 559 of file hokuyo_errors.h.

virtual char const* const hokuyoaist::CommandEchoError::cmd_echo ( ) const throw () [inline, virtual]

Get the two-byte command echo as a non-null-terminated array.

Definition at line 563 of file hokuyo_errors.h.

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

Reimplemented from hokuyoaist::BaseError.


Member Data Documentation

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

Definition at line 570 of file hokuyo_errors.h.

Received echo.

Definition at line 572 of file hokuyo_errors.h.


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