#include <CIncompatibleMonitor.h>
Public Member Functions | |
CIncompatibleMonitor (CEventMonitor &rMonitor, const char *pDoing) | |
CIncompatibleMonitor (const CIncompatibleMonitor &rhs) | |
virtual | ~CIncompatibleMonitor () |
CIncompatibleMonitor & | operator= (const CIncompatibleMonitor &rhs) |
int | operator== (const CIncompatibleMonitor &rhs) |
STD (string) getMonitorDescription() const | |
void | setMonitorDescription (const STD(string)&rnew) |
virtual const char * | ReasonText () const |
Private Member Functions | |
STD (string) m_MonitorDescription | |
STD (string) m_Reason |
Definition at line 307 of file CIncompatibleMonitor.h.
|
"Normal" Constructor. Constructs an incompatible exception object just prior to throwing it. Information from the monitor is stored as is information about what was happening in the system at the time the exception was constructed:
Definition at line 311 of file CIncompatibleMonitor.cpp. |
|
Copy constructor. Used by the compiler construct temporary objects or alternatively, and more usually for this class to build a 'scope safe' copy of the exception which can be saved and passed to catch handlers.
Definition at line 325 of file CIncompatibleMonitor.cpp. |
|
Definition at line 318 of file CIncompatibleMonitor.h. |
|
Assignment operator. .much like copy construction except:
Definition at line 340 of file CIncompatibleMonitor.cpp. |
|
Equality comparison. We do base class comparison and compare the monitor description. The m_Reason string is not relevant.
Definition at line 356 of file CIncompatibleMonitor.cpp. |
|
Returns a description of why the exception is being thrown. This is of the form: Incompatible Event monitor found: "monitor description", while: Doing" Definition at line 368 of file CIncompatibleMonitor.cpp. |
|
Definition at line 331 of file CIncompatibleMonitor.h. |
|
Definition at line 325 of file CIncompatibleMonitor.h. |
|
|
|
|