KatanaNativeInterface $VERSION$

FirmwareException Class Reference

Exception reported by the firmware. More...

#include <cplSerial.h>

Inheritance diagram for FirmwareException:
Collaboration diagram for FirmwareException:

List of all members.

Public Member Functions

 FirmwareException (const std::string &error, const int error_number, const int axis, const char command) throw ()
const int axis_number () const throw ()
const char command_char () const throw ()

Protected Attributes

int _axis_number
 axis number, if any
char _command_char
 the command that caused the error

Detailed Description

Exception reported by the firmware.

Definition at line 52 of file cplSerial.h.


Constructor & Destructor Documentation

FirmwareException::FirmwareException ( const std::string &  error,
const int  error_number,
const int  axis,
const char  command 
) throw () [inline]

Definition at line 57 of file cplSerial.h.


Member Function Documentation

const int FirmwareException::axis_number ( ) const throw () [inline]

Definition at line 61 of file cplSerial.h.

References _axis_number.

const char FirmwareException::command_char ( ) const throw () [inline]

Definition at line 64 of file cplSerial.h.

References _command_char.


Member Data Documentation

axis number, if any

Definition at line 54 of file cplSerial.h.

Referenced by axis_number().

the command that caused the error

Definition at line 55 of file cplSerial.h.

Referenced by command_char().


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