ctkServiceReferencePrivate Class Reference

#include <Libs/PluginFramework/ctkServiceReferencePrivate.h>

Collaboration diagram for ctkServiceReferencePrivate:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ctkServiceReferencePrivate (ctkServiceRegistrationPrivate *reg)
QObject * getService (ctkPlugin *plugin)
bool ungetService (ctkPlugin *plugin, bool checkRefCounter)

Public Attributes

ctkServiceRegistrationPrivateregistration

Detailed Description

Definition at line 32 of file ctkServiceReferencePrivate.h.


Constructor & Destructor Documentation

ctkServiceReferencePrivate::ctkServiceReferencePrivate ( ctkServiceRegistrationPrivate reg  ) 

Definition at line 35 of file ctkServiceReferencePrivate.cpp.


Member Function Documentation

QObject * ctkServiceReferencePrivate::getService ( ctkPlugin plugin  ) 

Get the service object.

Parameters:
plugin requester of service.
Returns:
Service requested or null in case of failure.

Definition at line 40 of file ctkServiceReferencePrivate.cpp.

bool ctkServiceReferencePrivate::ungetService ( ctkPlugin plugin,
bool  checkRefCounter 
)

Unget the service object.

Parameters:
plugin Plugin who wants remove service.
checkRefCounter If true decrement refence counter and remove service if we reach zero. If false remove service without checking refence counter.
Returns:
True if service was remove or false if only refence counter was decremented.

Unget the service object.

Parameters:
bundle Bundle who wants remove service.
checkRefCounter If true decrement refence counter and remove service if we reach zero. If false remove service without checking refence counter.
Returns:
True if service was remove or false if only refence counter was decremented.

Definition at line 121 of file ctkServiceReferencePrivate.cpp.


Member Data Documentation

Link to registration object for this reference.

Definition at line 61 of file ctkServiceReferencePrivate.h.


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

Generated on 21 May 2010 for CTK by  doxygen 1.6.1