Medical Imaging Interaction Toolkit  2023.04.99-859410e3
Medical Imaging Interaction Toolkit
berry::IStateListener Struct Referenceabstract

#include <berryIStateListener.h>

Inheritance diagram for berry::IStateListener:


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 36 of file berryIStateListener.h.

Constructor & Destructor Documentation

◆ ~IStateListener()

virtual berry::IStateListener::~IStateListener ( )

Member Function Documentation

◆ HandleStateChange()

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

Handles a change to the value in some state.

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.

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