ICP
1
|
#include <DAEstatus.h>
Public Member Functions | |
DAEstatus_message () | |
DAEstatus_message (int severity, int errtype, int facility, const std::string &text) | |
std::ostream & | print (std::ostream &str, bool format_with_T=false, bool add_cr=false) const |
bool | checkEQ (int severity) const |
bool | checkLE (int severity) const |
bool | checkGE (int severity) const |
bool | check (int severity, int direction) const |
bool | operator== (int severity) const |
bool | operator!= (int severity) const |
bool | operator<= (int severity) const |
bool | operator>= (int severity) const |
int | resetSeverityToAtMost (int severity) |
int | resetSeverityToAtLeast (int severity) |
std::string | timeStr (bool format_with_T) const |
std::string | str () const |
Static Public Member Functions | |
static bool | compareEQ (int left_sev, int right_sev) |
static bool | compareLE (int left_sev, int right_sev) |
static bool | compareGE (int left_sev, int right_sev) |
static bool | compare (int left_sev, int right_sev, int direction) |
Static Private Member Functions | |
static void | make_iso_time (time_t time, char *buffer, int len, bool format_with_T) |
Private Attributes | |
int | m_severity |
int | m_errtype |
int | m_facility |
std::string | m_text |
time_t | m_time |
Friends | |
class | DAEstatus |
Definition at line 8 of file DAEstatus.h.
|
inline |
Definition at line 42 of file DAEstatus.h.
References m_time.
DAEstatus_message::DAEstatus_message | ( | int | severity, |
int | errtype, | ||
int | facility, | ||
const std::string & | text | ||
) |
Definition at line 291 of file DAEstatus.cpp.
|
inline |
Definition at line 48 of file DAEstatus.h.
References compare(), and m_severity.
|
inline |
Definition at line 45 of file DAEstatus.h.
References compareEQ(), and m_severity.
Referenced by operator!=(), and operator==().
|
inline |
Definition at line 47 of file DAEstatus.h.
References compareGE(), and m_severity.
Referenced by operator>=().
|
inline |
Definition at line 46 of file DAEstatus.h.
References compareLE(), and m_severity.
Referenced by operator<=().
|
inlinestatic |
Definition at line 88 of file DAEstatus.h.
References compareEQ(), compareGE(), compareLE(), SEV_ALL, SEV_EQ, SEV_GE, and SEV_LE.
Referenced by check(), and DAEstatus::check().
|
static |
Definition at line 303 of file DAEstatus.cpp.
|
static |
Definition at line 326 of file DAEstatus.cpp.
Referenced by checkGE(), compare(), DAEstatus::resetSeverityToAtLeast(), and DAEstatus::resetSeverityToAtMost().
|
static |
Definition at line 309 of file DAEstatus.cpp.
Referenced by checkLE(), compare(), resetSeverityToAtLeast(), and resetSeverityToAtMost().
|
inlinestaticprivate |
Definition at line 18 of file DAEstatus.h.
Referenced by timeStr().
|
inline |
Definition at line 50 of file DAEstatus.h.
References checkEQ().
|
inline |
Definition at line 51 of file DAEstatus.h.
References checkLE().
|
inline |
Definition at line 49 of file DAEstatus.h.
References checkEQ().
|
inline |
Definition at line 52 of file DAEstatus.h.
References checkGE().
std::ostream & DAEstatus_message::print | ( | std::ostream & | str, |
bool | format_with_T = false , |
||
bool | add_cr = false |
||
) | const |
Definition at line 273 of file DAEstatus.cpp.
References str(), and timeStr().
Referenced by ISISinstrumentControl::debugReportFunction(), and operator<<().
|
inline |
Definition at line 66 of file DAEstatus.h.
References compareLE(), and m_severity.
|
inline |
Definition at line 57 of file DAEstatus.h.
References compareLE(), and m_severity.
|
inline |
Definition at line 82 of file DAEstatus.h.
References m_text.
Referenced by print(), ISISinstrumentControl::sqliteReportFunction(), and status_reporter().
|
inline |
Definition at line 75 of file DAEstatus.h.
References m_time, and make_iso_time().
Referenced by print().
|
friend |
Definition at line 10 of file DAEstatus.h.
|
private |
Definition at line 13 of file DAEstatus.h.
|
private |
Definition at line 14 of file DAEstatus.h.
|
private |
Definition at line 12 of file DAEstatus.h.
Referenced by DAEstatus::add(), check(), checkEQ(), checkGE(), checkLE(), resetSeverityToAtLeast(), and resetSeverityToAtMost().
|
private |
Definition at line 15 of file DAEstatus.h.
Referenced by DAEstatus_message(), and str().
|
private |
Definition at line 16 of file DAEstatus.h.
Referenced by DAEstatus_message(), and timeStr().