Public Member Functions | Protected Attributes | List of all members
FirmwareException Class Reference

Exception reported by the firmware. More...

#include <cplSerial.h>

Inheritance diagram for FirmwareException:
Inheritance graph
[legend]

Public Member Functions

int axis_number () const throw ()
 
char command_char () const throw ()
 
 FirmwareException (const std::string &error, const int error_number, const int axis, const char command) throw ()
 
- Public Member Functions inherited from Exception
int error_number () const throw ()
 
 Exception (const std::string &message, const int error_number) throw ()
 
std::string message () const throw ()
 
const char * what () const throw ()
 
virtual ~Exception () throw ()
 

Protected Attributes

int _axis_number
 axis number, if any More...
 
char _command_char
 the command that caused the error More...
 
- Protected Attributes inherited from Exception
const int _error_number
 
const std::string _message
 

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

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

Definition at line 61 of file cplSerial.h.

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

Definition at line 64 of file cplSerial.h.

Member Data Documentation

int FirmwareException::_axis_number
protected

axis number, if any

Definition at line 54 of file cplSerial.h.

char FirmwareException::_command_char
protected

the command that caused the error

Definition at line 55 of file cplSerial.h.


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


kni
Author(s): Martin Günther
autogenerated on Fri Jan 3 2020 04:01:17