CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Member Functions | List of all members
ctkConfigurationListener Struct Referenceabstract

#include <Libs/PluginFramework/service/cm/ctkConfigurationListener.h>

Public Member Functions

virtual void configurationEvent (const ctkConfigurationEvent &event)=0
 
virtual ~ctkConfigurationListener ()
 

Detailed Description

Listener for Configuration Events. When a ctkConfigurationEvent is fired, it is asynchronously delivered to a ctkConfigurationListener.

ctkConfigurationListener objects are registered with the Framework service registry and are notified with a ctkConfigurationEvent object when an event is fired.

ctkConfigurationListener objects can inspect the received ctkConfigurationEvent object to determine its type, the pid of the ctkConfiguration object with which it is associated, and the Configuration Admin service that fired the event.

Security Considerations. Plugins wishing to monitor configuration events will require ctkServicePermission[ctkConfigurationListener,REGISTER] to register a ctkConfigurationListener service.

Definition at line 50 of file ctkConfigurationListener.h.

Constructor & Destructor Documentation

◆ ~ctkConfigurationListener()

virtual ctkConfigurationListener::~ctkConfigurationListener ( )
inlinevirtual

Definition at line 52 of file ctkConfigurationListener.h.

Member Function Documentation

◆ configurationEvent()

virtual void ctkConfigurationListener::configurationEvent ( const ctkConfigurationEvent event)
pure virtual

Receives notification of a ctkConfiguration that has changed.

Parameters
eventThe ctkConfigurationEvent.

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