Public Member Functions

ctkCLIPlugin Class Reference

#include <Plugins/org.commontk.cli/ctkCLIPlugin.h>

Inheritance diagram for ctkCLIPlugin:
Inheritance graph
[legend]
Collaboration diagram for ctkCLIPlugin:
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 15 of file ctkCLIPlugin.h.


Member Function Documentation

QObject* ctkCLIPlugin::createInstance ( const QtMobility::QServiceInterfaceDescriptor &  descriptor,
QtMobility::QServiceContext *  context,
QtMobility::QAbstractSecuritySession *  session 
)
void ctkCLIPlugin::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 20 of file ctkCLIPlugin.cpp.

void ctkCLIPlugin::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 28 of file ctkCLIPlugin.cpp.


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