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

Constructor & Destructor Documentation

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

Definition at line 52 of file mitkBindDispatcherInteractor.cpp.

References m_DataStorage.

Member Function Documentation

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

Return currently active Dispatcher.

Definition at line 91 of file mitkBindDispatcherInteractor.cpp.

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

Sets the DataStorage to which Events the class subscribes.

Definition at line 38 of file mitkBindDispatcherInteractor.cpp.

References m_DataStorage.

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.

Definition at line 96 of file mitkBindDispatcherInteractor.cpp.


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