Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitk::BindDispatcherInteractor Class Reference

This Class is used to connect a DataStorage with the Dispatcher. More...

#include <mitkBindDispatcherInteractor.h>

Public Member Functions

 BindDispatcherInteractor (const std::string &)
 
 ~BindDispatcherInteractor ()
 
void SetDataStorage (DataStorage::Pointer dataStorage)
 
void SetDispatcher (Dispatcher::Pointer dispatcher)
 
Dispatcher::Pointer GetDispatcher () const
 

Detailed Description

This Class is used to connect a DataStorage with the Dispatcher.

This is done by registering for DataStorage Events and sending the Events to the registered Dispatcher. When a DataInteractor is registered with a DataNode the Dispatcher will be notified. Also this class registers the MicroService at which InteractionEventObservers can register to receive events.

Definition at line 35 of file mitkBindDispatcherInteractor.h.

Constructor & Destructor Documentation

◆ BindDispatcherInteractor()

mitk::BindDispatcherInteractor::BindDispatcherInteractor ( const std::string &  )

◆ ~BindDispatcherInteractor()

mitk::BindDispatcherInteractor::~BindDispatcherInteractor ( )

Member Function Documentation

◆ GetDispatcher()

Dispatcher::Pointer mitk::BindDispatcherInteractor::GetDispatcher ( ) const

Return currently active Dispatcher.

◆ SetDataStorage()

void mitk::BindDispatcherInteractor::SetDataStorage ( DataStorage::Pointer  dataStorage)

Sets the DataStorage to which Events the class subscribes.

◆ SetDispatcher()

void mitk::BindDispatcherInteractor::SetDispatcher ( Dispatcher::Pointer  dispatcher)

Sets Dispatcher which will be notified. By default each RenderWindow gets its own Dispatcher, this function can be used to override this behavior.


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