#include <ProvokedWarning.h>
Public Member Functions | |
virtual const wxString & | GetCaption () const |
Get caption being part of the semi-uniquely identification. | |
virtual const wxString & | GetMessage () const |
Get message being part of the semi-uniquely identification. | |
virtual const wxDateTime & | GetTimeout () const |
Get timeout of the provoked/expected warning. | |
ProvokedWarning (const wxString &caption, const wxString &message, const unsigned int timeout) | |
virtual | ~ProvokedWarning () |
Destructor. |
Based on the specified timeout interval provoked warnings must occur, i.e. pop-up within a given time span. This avoids conflicts with other provoked warnings issued later with overlapping or even equal caption and message parameters (=> semi-uniquely identification).
Definition at line 33 of file ProvokedWarning.h.
wxTst::ProvokedWarning::ProvokedWarning | ( | const wxString & | caption, | |
const wxString & | message, | |||
const unsigned int | timeout | |||
) |
Definition at line 20 of file ProvokedWarning.cpp.
wxTst::ProvokedWarning::~ProvokedWarning | ( | ) | [inline, virtual] |
const wxString & wxTst::ProvokedWarning::GetCaption | ( | ) | const [virtual] |
Get caption being part of the semi-uniquely identification.
Definition at line 29 of file ProvokedWarning.cpp.
Referenced by wxTst::ProvokedWarningRegistry::FindRegisteredWarning().
const wxString & wxTst::ProvokedWarning::GetMessage | ( | ) | const [virtual] |
Get message being part of the semi-uniquely identification.
Definition at line 35 of file ProvokedWarning.cpp.
Referenced by wxTst::ProvokedWarningRegistry::FindRegisteredWarning().
const wxDateTime & wxTst::ProvokedWarning::GetTimeout | ( | ) | const [virtual] |
Get timeout of the provoked/expected warning.
Definition at line 41 of file ProvokedWarning.cpp.
Referenced by wxTst::ProvokedWarningRegistry::IsRegisteredAndInTime().