Public Member Functions

ctkEventBusPlugin Class Reference

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

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

List of all members.

Public Member Functions

QObject * createInstance (const QtMobility::QServiceInterfaceDescriptor &descriptor, QtMobility::QServiceContext *context, QtMobility::QAbstractSecuritySession *session)
void start (ctkPluginContext *context)
void stop (ctkPluginContext *context)

Detailed Description

Definition at line 9 of file ctkEventBusPlugin_p.h.


Member Function Documentation

QObject* ctkEventBusPlugin::createInstance ( const QtMobility::QServiceInterfaceDescriptor &  descriptor,
QtMobility::QServiceContext *  context,
QtMobility::QAbstractSecuritySession *  session 
)
void ctkEventBusPlugin::start ( ctkPluginContext context  )  [virtual]

Called when this plugin is started so the Framework can perform the plugin-specific activities necessary to start this plugin. This method can be used to register services or to allocate any resources that this plugin needs.

This method must complete and return to its caller in a timely manner.

Parameters:
context The execution context of the plugin being started.
Exceptions:
std::exception If this method throws an exception, this plugin is marked as stopped and the Framework will remove this plugin's listeners, unregister all services registered by this plugin, and release all services used by this plugin.

Implements ctkPluginActivator.

Definition at line 19 of file ctkEventBusPlugin.cpp.

void ctkEventBusPlugin::stop ( ctkPluginContext context  )  [virtual]

Called when this plugin is stopped so the Framework can perform the plugin-specific activities necessary to stop the plugin. In general, this method should undo the work that the ctkPluginActivator::start method started. There should be no active threads that were started by this plugin when this plugin returns. A stopped plugin must not call any Framework objects.

This method must complete and return to its caller in a timely manner.

Parameters:
context The execution context of the plugin being stopped.
Exceptions:
std::exception If this method throws an exception, the plugin is still marked as stopped, and the Framework will remove the plugin's listeners, unregister all services registered by the plugin, and release all services used by the plugin.

Implements ctkPluginActivator.

Definition at line 24 of file ctkEventBusPlugin.cpp.


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