NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 54 of file cxServiceTrackerCustomizer.h.

Constructor & Destructor Documentation

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

Definition at line 57 of file cxServiceTrackerCustomizer.h.

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

Definition at line 58 of file cxServiceTrackerCustomizer.h.

Member Function Documentation

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

Definition at line 60 of file cxServiceTrackerCustomizer.h.

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

Definition at line 67 of file cxServiceTrackerCustomizer.h.

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

Definition at line 73 of file cxServiceTrackerCustomizer.h.

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

Definition at line 80 of file cxServiceTrackerCustomizer.h.

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

Definition at line 84 of file cxServiceTrackerCustomizer.h.

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

Definition at line 88 of file cxServiceTrackerCustomizer.h.


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