wxTst::CRNativeEvent Class Reference

Abstract base class for native event data capture and synthesis. More...

#include <CRNativeEvents.h>

Collaboration diagram for wxTst::CRNativeEvent:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CRNativeEvent (const wxString &)
 Constructor from an event name name the name of the event used in the corresponding CREvent.
 CRNativeEvent (wxEventType)
 Constructor from a wxEventType;.
 CRNativeEvent (CREvent)
 Constructor.
 CRNativeEvent ()
 default constructor.
virtual const wxString getEventString () const
virtual const wxEventType getEventType ()
 return the Event Type of the corresponding wxEvent if there is one.
virtual void * getNativeEvent ()=0
 Return a void* to the native event, creating the native event if needed.
virtual ~CRNativeEvent ()
 Virtual destructor: No-op.

Static Public Member Functions

static const CREventMask getCREventMask ()
 Return the CREventMask.
static void setCREventMask (CREventMask mask)
 Set the static mask which determines (during construction) what events will be recorded, serialized, and emitted.

Static Protected Member Functions

static void initEventMap ()

Protected Attributes

wxString m_eventString
CREvent m_wxevent

Static Protected Attributes

static const wxString s_delim
static CREventMap s_eventMap
static CREventMask s_eventMask
static const wxString s_inDelim


Detailed Description

Abstract base class for native event data capture and synthesis.

Definition at line 69 of file CRNativeEvents.h.


Constructor & Destructor Documentation

wxTst::CRNativeEvent::CRNativeEvent (  ) 

default constructor.

wxTst::CRNativeEvent::CRNativeEvent ( CREvent   ) 

Constructor.

wxTst::CRNativeEvent::CRNativeEvent ( wxEventType   ) 

Constructor from a wxEventType;.

wxTst::CRNativeEvent::CRNativeEvent ( const wxString &  name  ) 

Constructor from an event name name the name of the event used in the corresponding CREvent.

wxTst::CRNativeEvent::~CRNativeEvent (  )  [inline, virtual]

Virtual destructor: No-op.

Definition at line 88 of file CRNativeEvents.h.


Member Function Documentation

static const CREventMask wxTst::CRNativeEvent::getCREventMask (  )  [inline, static]

Return the CREventMask.

Definition at line 109 of file CRNativeEvents.h.

References s_eventMask.

virtual const wxString wxTst::CRNativeEvent::getEventString (  )  const [virtual]

wxEventType wxTst::CRNativeEvent::getEventType (  )  [inline, virtual]

return the Event Type of the corresponding wxEvent if there is one.

Returns:
wxEventType

Definition at line 100 of file CRNativeEvents.h.

References wxTst::CREvent::m_evt, and m_wxevent.

void * wxTst::CRNativeEvent::getNativeEvent (  )  [pure virtual]

Return a void* to the native event, creating the native event if needed.

static void wxTst::CRNativeEvent::initEventMap (  )  [static, protected]

static void wxTst::CRNativeEvent::setCREventMask ( CREventMask  mask  )  [inline, static]

Set the static mask which determines (during construction) what events will be recorded, serialized, and emitted.

Parameters:
mask A bitmask composed by or-ing CRNativeEvent::EventCategory values.

Definition at line 106 of file CRNativeEvents.h.

References s_eventMask.


Member Data Documentation

Definition at line 112 of file CRNativeEvents.h.

Definition at line 117 of file CRNativeEvents.h.

Referenced by getEventType().

const wxString wxTst::CRNativeEvent::s_delim [static, protected]

Definition at line 113 of file CRNativeEvents.h.

Definition at line 116 of file CRNativeEvents.h.

Definition at line 115 of file CRNativeEvents.h.

Referenced by getCREventMask(), and setCREventMask().

const wxString wxTst::CRNativeEvent::s_inDelim [static, protected]

Definition at line 114 of file CRNativeEvents.h.


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

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