MCPcopy Create free account
hub / github.com/MITK/MITK / ~DataInteractor

Method ~DataInteractor

Modules/Core/src/Interactions/mitkDataInteractor.cpp:33–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33mitk::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
47mitk::DataNode *mitk::DataInteractor::GetDataNode() const
48{

Callers

nothing calls this directly

Calls 5

IsExpiredMethod · 0.80
IsNotNullMethod · 0.80
GetDataInteractorMethod · 0.80
SetDataInteractorMethod · 0.80
LockMethod · 0.45

Tested by

no test coverage detected