Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berry::IStateListener Struct Referenceabstract

#include <berryIStateListener.h>

Inheritance diagram for berry::IStateListener:

Classes

struct  Events
 

Public Member Functions

virtual ~IStateListener ()
 
virtual void HandleStateChange (const SmartPointer< State > &state, const SmartPointer< Object > &oldValue)=0
 

Detailed Description

A listener to changes in some state.

Clients may implement, but must not extend this interface.

Definition at line 40 of file berryIStateListener.h.

Constructor & Destructor Documentation

berry::IStateListener::~IStateListener ( )
virtual

Definition at line 41 of file berryIStateListener.cpp.

Member Function Documentation

virtual void berry::IStateListener::HandleStateChange ( const SmartPointer< State > &  state,
const SmartPointer< Object > &  oldValue 
)
pure virtual

Handles a change to the value in some state.

Parameters
stateThe state that has changed; never null. The value for this state has been updated to the new value.
oldValueThe old value; may be anything.

Referenced by berry::IStateListener::Events::AddListener(), and berry::IStateListener::Events::RemoveListener().


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