#include <CREventFactory.h>
Public Member Functions | |
virtual CRCapturedEvent * | CreateEvent (const wxEvent &event) const |
Create appropriate CRCapturedEvent subclass instance. | |
Static Public Member Functions | |
static void | Destroy () |
Threadsafe destruction of static singleton instance. | |
static CREventFactory * | GetInstance () |
Get single private instance (Singleton pattern). | |
Protected Member Functions | |
CREventFactory () | |
Constructor. | |
virtual | ~CREventFactory () |
Destructor. |
Singleton and Factory pattern.
Definition at line 31 of file CREventFactory.h.
wxTst::CREventFactory::CREventFactory | ( | ) | [protected] |
wxTst::CREventFactory::~CREventFactory | ( | ) | [protected, virtual] |
CRCapturedEvent * wxTst::CREventFactory::CreateEvent | ( | const wxEvent & | event | ) | const [virtual] |
Create appropriate CRCapturedEvent subclass instance.
event | event to create handling event instance for |
Definition at line 71 of file CREventFactory.cpp.
static void wxTst::CREventFactory::Destroy | ( | ) | [static] |
Threadsafe destruction of static singleton instance.
Definition at line 61 of file CREventFactory.cpp.
static CREventFactory * wxTst::CREventFactory::GetInstance | ( | ) | [static] |
Get single private instance (Singleton pattern).
Definition at line 51 of file CREventFactory.cpp.
References CREventFactory().
Referenced by wxTst::CREventCaptureManager::FilterEvent().