#include <data_view_mediator.h>
Collaboration diagram for DataViewMediator:
The DataViewMediator mediates between datasets and dependent views of these datasets. It receives change events from observable objects and forwards them to dependent views.
Christian Koerner (christian.koerner@imedgine.org)
Alexander Lex (alexander.lex@imedgine.org)
Marc Streit (marc.streit@imedgine.org)
Martin Reininger (martin.reininger@imedgine.org)
Definition at line 46 of file data_view_mediator.h.
|
Constructor Definition at line 27 of file data_view_mediator.cpp. References ViewFactory::registerViewType(), and DataViewMediator::view_factory_. Here is the call graph for this function: ![]() |
|
Destructor Definition at line 39 of file data_view_mediator.cpp. |
|
Tell if two datasets are locked
Definition at line 256 of file data_view_mediator.cpp. References DataViewMediator::dataset_to_dataset_mmap_. Referenced by VolumePixelView::isLockedWithDataset(). |
|
Delete the view with the given id
Definition at line 135 of file data_view_mediator.cpp. |
|
Return the IDs of all dependent views ot the given dataset
Definition at line 113 of file data_view_mediator.cpp. |
|
Get the dependent view of the given type from the given dataset if has been previously registered.
Definition at line 64 of file data_view_mediator.cpp. |
|
Lock two datasets. If the mediator receives an event for one of the two datasets, it also notifies the dependent views of its locked datasets. Internally a lock count is incremented.
Definition at line 198 of file data_view_mediator.cpp. References DataViewMediator::dataset_to_dataset_mmap_. Referenced by VolumePixelView::lockWithDataset(). |
|
Register a hybrid view of the two given dataset.
|
|
Register a dependent view of the given dataset.
Definition at line 48 of file data_view_mediator.cpp. |
|
Delete all dependent views of the given dataset and release all lockings with the given dataset
Definition at line 159 of file data_view_mediator.cpp. References DataViewMediator::dataset_to_dataset_mmap_. Referenced by Controller::removeDataset(). |
|
Unlock two datasets. Decrements the lock count for the two datasets. If the count goes down to zero the locking between two datasets will be released.
Definition at line 224 of file data_view_mediator.cpp. References DataViewMediator::dataset_to_dataset_mmap_. Referenced by VolumePixelView::unlockFromDataset(). |
|
Notify all dependent views of the given dataset that the data within the dataset has changed
Definition at line 299 of file data_view_mediator.cpp. Referenced by Controller::datasetChangedSlot(), and View::notifyDataChangedEvent(). |
|
Send an update request to all dependent views of the given dataset.
Definition at line 277 of file data_view_mediator.cpp. |