Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cx::ServiceTrackerCustomizer< T > Class Template Reference

Notify changes in a service lifecycle. More...

#include <cxServiceTrackerCustomizer.h>

Inheritance diagram for cx::ServiceTrackerCustomizer< T >:

Public Member Functions

 ServiceTrackerCustomizer ()
 
virtual ~ServiceTrackerCustomizer ()
 
virtual T * addingService (const ctkServiceReference &reference)
 
virtual void modifiedService (const ctkServiceReference &reference, T *service)
 
virtual void removedService (const ctkServiceReference &reference, T *service)
 
void setServiceAddedCallback (boost::function< void(T *)> func)
 
void setServiceModifiedCallback (boost::function< void(T *)> func)
 
void setServiceRemovedCallback (boost::function< void(T *)> func)
 

Detailed Description

template<class T>
class cx::ServiceTrackerCustomizer< T >

Notify changes in a service lifecycle.

See ServiceTrackerListener.h for convenient usage.

Date
2014-05-13
Author
Janne Beate Bakeng

Definition at line 33 of file cxServiceTrackerCustomizer.h.

Constructor & Destructor Documentation

template<class T >
cx::ServiceTrackerCustomizer< T >::ServiceTrackerCustomizer ( )
inline

Definition at line 36 of file cxServiceTrackerCustomizer.h.

template<class T >
virtual cx::ServiceTrackerCustomizer< T >::~ServiceTrackerCustomizer ( )
inlinevirtual

Definition at line 37 of file cxServiceTrackerCustomizer.h.

Member Function Documentation

template<class T >
virtual T* cx::ServiceTrackerCustomizer< T >::addingService ( const ctkServiceReference &  reference)
inlinevirtual

Definition at line 39 of file cxServiceTrackerCustomizer.h.

template<class T >
virtual void cx::ServiceTrackerCustomizer< T >::modifiedService ( const ctkServiceReference &  reference,
T *  service 
)
inlinevirtual

Definition at line 46 of file cxServiceTrackerCustomizer.h.

template<class T >
virtual void cx::ServiceTrackerCustomizer< T >::removedService ( const ctkServiceReference &  reference,
T *  service 
)
inlinevirtual

Definition at line 52 of file cxServiceTrackerCustomizer.h.

template<class T >
void cx::ServiceTrackerCustomizer< T >::setServiceAddedCallback ( boost::function< void(T *)>  func)
inline

Definition at line 59 of file cxServiceTrackerCustomizer.h.

template<class T >
void cx::ServiceTrackerCustomizer< T >::setServiceModifiedCallback ( boost::function< void(T *)>  func)
inline

Definition at line 63 of file cxServiceTrackerCustomizer.h.

template<class T >
void cx::ServiceTrackerCustomizer< T >::setServiceRemovedCallback ( boost::function< void(T *)>  func)
inline

Definition at line 67 of file cxServiceTrackerCustomizer.h.


The documentation for this class was generated from the following file: