| 31 | } |
| 32 | |
| 33 | mitk::DataInteractor::~DataInteractor() |
| 34 | { |
| 35 | if (m_DataNode.IsExpired()) |
| 36 | return; |
| 37 | |
| 38 | auto dataNode = m_DataNode.Lock(); |
| 39 | |
| 40 | if (dataNode.IsNotNull()) |
| 41 | { |
| 42 | if (dataNode->GetDataInteractor() == this) |
| 43 | dataNode->SetDataInteractor(nullptr); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | mitk::DataNode *mitk::DataInteractor::GetDataNode() const |
| 48 | { |
nothing calls this directly
no test coverage detected