Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions

ctkEventBusImpl Class Reference

#include <Plugins/org.commontk.eventbus/ctkEventBusImpl_p.h>

Inheritance diagram for ctkEventBusImpl:
Inheritance graph
[legend]
Collaboration diagram for ctkEventBusImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void postEvent (const ctkEvent &event)
void publishSignal (const QObject *publisher, const char *signal)
void sendEvent (const ctkEvent &event)
void subscribeSlot (const QObject *subscriber, const char *member, const Properties &properties)

Static Public Member Functions

static ctkEventBusImplinstance ()

Protected Types

typedef QList
< ctkEventHandlerWrapper * > 
HandlerList

Protected Member Functions

void bucket (ctkEventHandlerWrapper *wrapper)
void dispatchEvent (const ctkEvent &event, bool isAsync)
QSet< ctkEventHandlerWrapper * > handlers (const QString &topic)

Protected Attributes

HandlerList globalWildcard
QHash< QString, HandlerListtopicName

Private Member Functions

 ctkEventBusImpl ()

Detailed Description

Definition at line 12 of file ctkEventBusImpl_p.h.


Member Typedef Documentation

Definition at line 31 of file ctkEventBusImpl_p.h.


Constructor & Destructor Documentation

ctkEventBusImpl::ctkEventBusImpl (  )  [private]

Definition at line 14 of file ctkEventBusImpl.cpp.


Member Function Documentation

void ctkEventBusImpl::bucket ( ctkEventHandlerWrapper wrapper  )  [protected]

Definition at line 60 of file ctkEventBusImpl.cpp.

void ctkEventBusImpl::dispatchEvent ( const ctkEvent event,
bool  isAsync 
) [protected]

Definition at line 46 of file ctkEventBusImpl.cpp.

QSet< ctkEventHandlerWrapper * > ctkEventBusImpl::handlers ( const QString &  topic  )  [protected]

Definition at line 66 of file ctkEventBusImpl.cpp.

ctkEventBusImpl * ctkEventBusImpl::instance (  )  [static]

Definition at line 8 of file ctkEventBusImpl.cpp.

void ctkEventBusImpl::postEvent ( const ctkEvent event  )  [virtual]

Implements ctkEventBus.

Definition at line 19 of file ctkEventBusImpl.cpp.

void ctkEventBusImpl::publishSignal ( const QObject *  publisher,
const char *  signal 
) [virtual]

Implements ctkEventBus.

Definition at line 29 of file ctkEventBusImpl.cpp.

void ctkEventBusImpl::sendEvent ( const ctkEvent event  )  [virtual]

Implements ctkEventBus.

Definition at line 24 of file ctkEventBusImpl.cpp.

void ctkEventBusImpl::subscribeSlot ( const QObject *  subscriber,
const char *  member,
const Properties properties 
) [virtual]

Implements ctkEventBus.

Definition at line 34 of file ctkEventBusImpl.cpp.


Member Data Documentation

Definition at line 33 of file ctkEventBusImpl_p.h.

QHash<QString, HandlerList> ctkEventBusImpl::topicName [protected]

Definition at line 35 of file ctkEventBusImpl_p.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines