Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <berryIStateListener.h>
Classes | |
struct | Events |
Public Member Functions | |
virtual | ~IStateListener () |
virtual void | HandleStateChange (const SmartPointer< State > &state, const SmartPointer< Object > &oldValue)=0 |
A listener to changes in some state.
Clients may implement, but must not extend this interface.
Definition at line 40 of file berryIStateListener.h.
|
virtual |
Definition at line 41 of file berryIStateListener.cpp.
|
pure virtual |
Handles a change to the value in some state.
state | The state that has changed; never null . The value for this state has been updated to the new value. |
oldValue | The old value; may be anything. |
Referenced by berry::IStateListener::Events::AddListener(), and berry::IStateListener::Events::RemoveListener().