Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berry::PropertyChangeAdapter< R > Struct Template Reference

#include <berryIPropertyChangeListener.h>

Inheritance diagram for berry::PropertyChangeAdapter< R >:
Collaboration diagram for berry::PropertyChangeAdapter< R >:

Public Types

typedef R Listener
 
typedef void(R::* Callback) (const PropertyChangeEvent::Pointer &)
 

Public Member Functions

 PropertyChangeAdapter (R *l, Callback c)
 
void PropertyChange (const PropertyChangeEvent::Pointer &event) override
 
- Public Member Functions inherited from berry::IPropertyChangeListener
virtual ~IPropertyChangeListener ()
 
virtual void PropertyChange (const Object::Pointer &, int)
 

Detailed Description

template<typename R>
struct berry::PropertyChangeAdapter< R >

Definition at line 81 of file berryIPropertyChangeListener.h.

Member Typedef Documentation

template<typename R >
typedef void(R::* berry::PropertyChangeAdapter< R >::Callback) (const PropertyChangeEvent::Pointer &)

Definition at line 86 of file berryIPropertyChangeListener.h.

template<typename R >
typedef R berry::PropertyChangeAdapter< R >::Listener

Definition at line 84 of file berryIPropertyChangeListener.h.

Constructor & Destructor Documentation

template<typename R >
berry::PropertyChangeAdapter< R >::PropertyChangeAdapter ( R *  l,
Callback  c 
)
inline

Definition at line 88 of file berryIPropertyChangeListener.h.

Member Function Documentation

template<typename R >
void berry::PropertyChangeAdapter< R >::PropertyChange ( const PropertyChangeEvent::Pointer event)
inlineoverridevirtual

Notification that a property has changed.

This method gets called when the observed object fires a property change event.

Parameters
eventthe property change event object describing which property changed and how

Reimplemented from berry::IPropertyChangeListener.

Definition at line 97 of file berryIPropertyChangeListener.h.


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