Medical Imaging Interaction Toolkit  2024.06.00
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
 
virtual void PropertyChange (const PropertyChangeEvent::Pointer &event)
 
virtual void PropertyChange (const Object::Pointer &, int)
 
- 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 
)
inline

Definition at line 84 of file berryIPropertyChangeListener.h.

Member Function Documentation

◆ PropertyChange() [1/3]

template<typename R >
virtual void berry::IPropertyChangeListener::PropertyChange
inline

Definition at line 73 of file berryIPropertyChangeListener.h.

◆ PropertyChange() [2/3]

template<typename R >
virtual void berry::IPropertyChangeListener::PropertyChange

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

◆ PropertyChange() [3/3]

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 93 of file berryIPropertyChangeListener.h.


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