Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
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 |
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.
mitk::BindDispatcherInteractor::BindDispatcherInteractor | ( | const std::string & | ) |
mitk::BindDispatcherInteractor::~BindDispatcherInteractor | ( | ) |
Dispatcher::Pointer mitk::BindDispatcherInteractor::GetDispatcher | ( | ) | const |
Return currently active Dispatcher.
void mitk::BindDispatcherInteractor::SetDataStorage | ( | DataStorage::Pointer | dataStorage | ) |
Sets the DataStorage to which Events the class subscribes.
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.