23 #ifndef CTKSERVICETRACKER_H
24 #define CTKSERVICETRACKER_H
26 #include <QScopedPointer>
28 #include "ctkPluginFrameworkExport.h"
73 template<
class S = QObject*,
class T = S>
431 inline const ServiceTrackerPrivate* d_func()
const
433 return reinterpret_cast<const ServiceTrackerPrivate*
>(qGetPtrHelper(d_ptr));
436 const QScopedPointer<ServiceTrackerPrivate> d_ptr;
439 #include "ctkServiceTracker.tpp"
virtual T waitForService(unsigned long timeout)
ctkServiceTracker(ctkPluginContext *context, ctkServiceTrackerCustomizer< T > *customizer=0)
ctkServiceTracker(ctkPluginContext *context, const ctkLDAPSearchFilter &filter, ctkServiceTrackerCustomizer< T > *customizer=0)
virtual T getService() const
virtual T getService(const ctkServiceReference &reference) const
T addingService(const ctkServiceReference &reference)
virtual QList< T > getServices() const
virtual void remove(const ctkServiceReference &reference)
virtual ctkServiceReference getServiceReference() const
ctkServiceTracker(ctkPluginContext *context, const ctkServiceReference &reference, ctkServiceTrackerCustomizer< T > *customizer=0)
ctkServiceTracker(ctkPluginContext *context, const QString &clazz, ctkServiceTrackerCustomizer< T > *customizer=0)
virtual QList< ctkServiceReference > getServiceReferences() const
virtual bool isEmpty() const
void modifiedService(const ctkServiceReference &reference, T service)
void removedService(const ctkServiceReference &reference, T service)
virtual QMap< ctkServiceReference, T > getTracked() const
virtual int getTrackingCount() const