MCPcopy Create free account
hub / github.com/PDAL/PDAL / destroyStage

Method destroyStage

pdal/StageFactory.cpp:117–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116
117void StageFactory::destroyStage(Stage *s)
118{
119 std::lock_guard<std::mutex> lock(m_mutex);
120 for (auto it = m_ownedStages.begin(); it != m_ownedStages.end(); ++it)
121 {
122 if (s == it->get())
123 {
124 m_ownedStages.erase(it);
125 break;
126 }
127 }
128}
129
130} // namespace pdal

Callers 1

TESTFunction · 0.45

Calls 4

beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45
eraseMethod · 0.45

Tested by 1

TESTFunction · 0.36