areaDetector
3-5-0
EPICS areaDetector framework
|
Class for storing errors from detector. More...
#include <ccd_exception.h>
Public Types | |
enum | error_code { ok, xfer_not_starting, not_implemented, unknown } |
Public Member Functions | |
ccd_exception (const char *mess) | |
Constructor to spec error string. More... | |
ccd_exception (error_code er, const char *mess) | |
Constructor to spec. More... | |
ccd_exception (error_code er) | |
construcor for speced error code. More... | |
ccd_exception () | |
Class for storing errors from detector. More... | |
char * | err_mess (void) |
Return error message. More... | |
error_code | getErrCode (void) |
return error code. More... | |
Protected Attributes | |
char | err [256] |
error_code | code |
Class for storing errors from detector.
Originally written for ccd cameras, but works for anything...
contains char* error passed as exception. not using std::string because it has questionable thread safety.
ccd_exception::ccd_exception | ( | const char * | x | ) |
Constructor to spec error string.
mess | Some string to put into error message, like "camera error blah blah.." |
ccd_exception::ccd_exception | ( | error_code | er, |
const char * | mess | ||
) |
Constructor to spec.
error string and code as int.
er | enum or int for error code. user picks it. |
mess | Some string to put into error message, like "camera error blah blah.." |
ccd_exception::ccd_exception | ( | error_code | er | ) |
construcor for speced error code.
er | enum or int for error code. user picks it. |
ccd_exception::ccd_exception | ( | ) |
Class for storing errors from detector.
Originally written for ccd cameras, but works for anything...
char * ccd_exception::err_mess | ( | void | ) |
Return error message.
ccd_exception::error_code ccd_exception::getErrCode | ( | void | ) |
return error code.
|
protected |
|
protected |