Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
berry::ICommandListener Struct Referenceabstract

#include <berryICommandListener.h>

Classes

struct  Events
 

Public Member Functions

virtual ~ICommandListener ()
 
virtual void CommandChanged (const SmartPointer< const CommandEvent > &commandEvent)=0
 

Detailed Description

An instance of this interface can be used by clients to receive notification of changes to one or more instances of Command.

This interface may be implemented by clients.

See also
Command::addCommandListener(ICommandListener)
Command::removeCommandListener(ICommandListener)

Definition at line 37 of file berryICommandListener.h.

Constructor & Destructor Documentation

◆ ~ICommandListener()

berry::ICommandListener::~ICommandListener ( )
virtual

Definition at line 41 of file berryICommandListener.cpp.

Member Function Documentation

◆ CommandChanged()

virtual void berry::ICommandListener::CommandChanged ( const SmartPointer< const CommandEvent > &  commandEvent)
pure virtual

Notifies that one or more properties of an instance of Command have changed. Specific details are described in the CommandEvent.

Parameters
commandEventthe command event. Guaranteed not to be null.

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


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