Medical Imaging Interaction Toolkit  2023.04.00
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 36 of file berryIStateListener.h.

Constructor & Destructor Documentation

◆ ~IStateListener()

virtual berry::IStateListener::~IStateListener ( )
virtual

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.

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.

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