Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
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 77 of file berryIPropertyChangeListener.h.

Member Typedef Documentation

◆ Callback

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

Definition at line 82 of file berryIPropertyChangeListener.h.

◆ Listener

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

Definition at line 80 of file berryIPropertyChangeListener.h.

Constructor & Destructor Documentation

◆ PropertyChangeAdapter()

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

Member Function Documentation

◆ PropertyChange()

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

Notification that a property has changed.

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

eventthe property change event object describing which property changed and how

Reimplemented from berry::IPropertyChangeListener.

Definition at line 93 of file berryIPropertyChangeListener.h.

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