Class EcError.
More...
#include <EcError.h>
|
enum | {
ECAT_ERROR,
FAIL_EC_INIT,
FAIL_EC_CONFIG_INIT,
FAIL_SWITCHING_STATE_INIT,
FAIL_SWITCHING_STATE_PRE_OP,
FAIL_SWITCHING_STATE_SAFE_OP,
FAIL_SWITCHING_STATE_OPERATIONAL,
FAIL_CREATING_DRIVER,
FAIL_OUTPUT_LABEL,
FAIL_OPENING_OUTPUT,
FAIL_WRITING,
FAIL_INPUT_LABEL,
FAIL_OPENING_INPUT,
FAIL_READING
} |
|
|
| EcError (int errorcode) throw () |
| Constructor.
|
|
virtual const char * | what () const throw () |
| Get string identifying exception.
|
|
virtual int | getErrorCode () const throw () |
| Get the code of the error.
|
|
Class EcError.
The class EcError creates an exeption when an error occurs on the EcMaster.
- Examples:
- demo1.cpp, demo2.cpp, demo3.cpp, and demo4.cpp.
The documentation for this class was generated from the following files:
- /home/users/sergi.ruiz/cpp4ec/src/EcError.h
- /home/users/sergi.ruiz/cpp4ec/src/EcError.cpp