Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berry::PropertyChangeIntAdapter< R > Struct Template Reference

#include <berryIPropertyChangeListener.h>

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

Public Types

typedef R Listener
 
typedef void(R::* Callback) (const Object::Pointer &, int)
 

Public Member Functions

 PropertyChangeIntAdapter (R *l, Callback c)
 
void PropertyChange (const Object::Pointer &source, int propId) 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 PropertyChangeEvent::Pointer &event)
 

Detailed Description

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

Definition at line 105 of file berryIPropertyChangeListener.h.

Member Typedef Documentation

◆ Callback

template<typename R >
typedef void(R::* berry::PropertyChangeIntAdapter< R >::Callback) (const Object::Pointer &, int)

Definition at line 110 of file berryIPropertyChangeListener.h.

◆ Listener

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

Definition at line 108 of file berryIPropertyChangeListener.h.

Constructor & Destructor Documentation

◆ PropertyChangeIntAdapter()

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

Definition at line 112 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 >
void berry::PropertyChangeIntAdapter< R >::PropertyChange ( const Object::Pointer source,
int  propId 
)
inlineoverridevirtual

Reimplemented from berry::IPropertyChangeListener.

Definition at line 121 of file berryIPropertyChangeListener.h.

◆ PropertyChange() [3/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

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