Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkMessage.h>
Public Types | |
typedef std::vector< AbstractDelegate * > | ListenerList |
Public Member Functions | |
virtual | ~MessageBase () |
MessageBase () | |
MessageBase (const MessageBase &o) | |
MessageBase & | operator= (const MessageBase &o) |
void | AddListener (const AbstractDelegate &delegate) const |
void | operator+= (const AbstractDelegate &delegate) const |
void | RemoveListener (const AbstractDelegate &delegate) const |
void | operator-= (const AbstractDelegate &delegate) const |
const ListenerList & | GetListeners () const |
bool | HasListeners () const |
bool | IsEmpty () const |
Protected Attributes | |
ListenerList | m_Listeners |
List of listeners. More... | |
itk::SimpleFastMutexLock | m_Mutex |
Definition at line 349 of file mitkMessage.h.
typedef std::vector<AbstractDelegate *> mitk::MessageBase< AbstractDelegate >::ListenerList |
Definition at line 352 of file mitkMessage.h.
|
inlinevirtual |
Definition at line 354 of file mitkMessage.h.
|
inline |
Definition at line 362 of file mitkMessage.h.
|
inline |
Definition at line 363 of file mitkMessage.h.
|
inline |
Definition at line 378 of file mitkMessage.h.
Referenced by mitk::MessageBase< MessageAbstractDelegate3< double, double, bool, void > >::operator+=(), QmitkToolRoiDataSelectionBox::SetDataStorage(), QmitkDataStorageListModel::SetDataStorage(), mitk::DataStorageSelection::SetDataStorage(), QmitkDataStorageTableModel::SetDataStorage(), QmitkDataStorageTreeModel::SetDataStorage(), QmitkDataStorageComboBox::SetDataStorage(), QmitkPointListViewWidget::SetPointSet(), and QmitkPropertiesTableModel::SetPropertyList().
|
inline |
Definition at line 414 of file mitkMessage.h.
|
inline |
Definition at line 415 of file mitkMessage.h.
|
inline |
Definition at line 416 of file mitkMessage.h.
|
inline |
Definition at line 396 of file mitkMessage.h.
|
inline |
Definition at line 413 of file mitkMessage.h.
|
inline |
Definition at line 371 of file mitkMessage.h.
|
inline |
Definition at line 397 of file mitkMessage.h.
Referenced by mitk::MessageBase< MessageAbstractDelegate3< double, double, bool, void > >::operator-=(), QmitkDataStorageListModel::SetDataStorage(), mitk::DataStorageSelection::SetDataStorage(), QmitkDataStorageTableModel::SetDataStorage(), QmitkDataStorageTreeModel::SetDataStorage(), QmitkDataStorageComboBox::SetDataStorage(), QmitkPointListViewWidget::SetPointSet(), QmitkPropertiesTableModel::SetPropertyList(), and QmitkDataStorageComboBox::~QmitkDataStorageComboBox().
|
mutableprotected |
List of listeners.
This is declared mutable for a reason: Imagine an object that sends out notifications, e.g.
Now imaginge someone gets a const Database
object, because he/she should not write to the database. He/she should anyway be able to register for notifications about changes in the database – this is why AddListener and RemoveListener are declared const
. m_Listeners must be mutable so that AddListener and RemoveListener can modify it regardless of the object's constness.
Definition at line 435 of file mitkMessage.h.
Referenced by mitk::MessageBase< MessageAbstractDelegate3< double, double, bool, void > >::AddListener(), mitk::MessageBase< MessageAbstractDelegate3< double, double, bool, void > >::GetListeners(), mitk::MessageBase< MessageAbstractDelegate3< double, double, bool, void > >::HasListeners(), mitk::MessageBase< MessageAbstractDelegate3< double, double, bool, void > >::IsEmpty(), mitk::MessageBase< MessageAbstractDelegate3< double, double, bool, void > >::MessageBase(), mitk::MessageBase< MessageAbstractDelegate3< double, double, bool, void > >::operator=(), mitk::MessageBase< MessageAbstractDelegate3< double, double, bool, void > >::RemoveListener(), and mitk::MessageBase< MessageAbstractDelegate3< double, double, bool, void > >::~MessageBase().
|
mutableprotected |
Definition at line 436 of file mitkMessage.h.
Referenced by mitk::MessageBase< MessageAbstractDelegate3< double, double, bool, void > >::AddListener(), and mitk::MessageBase< MessageAbstractDelegate3< double, double, bool, void > >::RemoveListener().