wxTst::CREventFactory Class Reference

Factory for creating appropriate event instances depending on the given concrete event type. More...

#include <CREventFactory.h>

Collaboration diagram for wxTst::CREventFactory:

Collaboration graph

List of all members.

Public Member Functions

virtual CRCapturedEventCreateEvent (const wxEvent &event) const
 Create appropriate CRCapturedEvent subclass instance.

Static Public Member Functions

static void Destroy ()
 Threadsafe destruction of static singleton instance.
static CREventFactoryGetInstance ()
 Get single private instance (Singleton pattern).

Protected Member Functions

 CREventFactory ()
virtual ~CREventFactory ()

Detailed Description

Factory for creating appropriate event instances depending on the given concrete event type.

Singleton and Factory pattern.

Definition at line 31 of file CREventFactory.h.

Constructor & Destructor Documentation

wxTst::CREventFactory::CREventFactory (  )  [protected]


Definition at line 39 of file CREventFactory.cpp.

Referenced by GetInstance().

wxTst::CREventFactory::~CREventFactory (  )  [protected, virtual]


Definition at line 45 of file CREventFactory.cpp.

Member Function Documentation

CRCapturedEvent * wxTst::CREventFactory::CreateEvent ( const wxEvent &  event  )  const [virtual]

Create appropriate CRCapturedEvent subclass instance.

event event to create handling event instance for
appropriate event handling instance

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).

single private instance

Definition at line 51 of file CREventFactory.cpp.

References CREventFactory().

Referenced by wxTst::CREventCaptureManager::FilterEvent().

The documentation for this class was generated from the following files:

wxWidgets Logo Get wxGuiTesting at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated on Tue Mar 17 17:29:30 2009 for wxGuiTesting by doxygen 1.5.5