Medical Imaging Interaction Toolkit  2016.11.0
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 41 of file berryICommandListener.h.

Constructor & Destructor Documentation

berry::ICommandListener::~ICommandListener ( )
virtual

Definition at line 45 of file berryICommandListener.cpp.

Member Function Documentation

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: