MCPcopy Create free account
hub / github.com/MITK/MITK / AddDataInteractor

Method AddDataInteractor

Modules/Core/src/Interactions/mitkDispatcher.cpp:57–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void mitk::Dispatcher::AddDataInteractor(const DataNode *dataNode)
58{
59 RemoveDataInteractor(dataNode);
60 RemoveOrphanedInteractors();
61
62 auto dataInteractor = dataNode->GetDataInteractor().GetPointer();
63
64 if (dataInteractor != nullptr)
65 m_Interactors.push_back(dataInteractor);
66}
67
68/*
69 * Note: One DataInteractor can only have one DataNode and vice versa,

Callers 1

RegisterInteractorMethod · 0.80

Calls 2

GetPointerMethod · 0.80
GetDataInteractorMethod · 0.80

Tested by

no test coverage detected