Medical Imaging Interaction Toolkit  2022.10.99-184f3f8c Medical Imaging Interaction Toolkit
mitkDisplayActionEventHandler.h File Reference
#include <MitkCoreExports.h>
#include "mitkDisplayActionEventBroadcast.h"
#include "mitkDisplayActionEvents.h"
#include "mitkStdFunctionCommand.h"

Go to the source code of this file.

## Classes

class  mitk::DisplayActionEventHandler
This class simplifies the process of adding an itkEventObject-itkCommand pair as an observer of a DisplayActionEventBroadcast instance. The 'SetObservableBroadcast'-function can be used to define the broadcast instance that should be observed. The 'ConnectDisplayActionEvent'-function can be used to add a an observer to the broadcast. Such an observer consists of a DisplayActionEvent (an itkEventObject) and a StdFunctionCommand (an itkCommand). The StdFunctionCommand is created inside the function by the given two std::functions. More...

mitk