MCPcopy Create free account
hub / github.com/comaps/comaps / Remove

Method Remove

libs/drape/overlay_tree.cpp:153–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153bool OverlayTree::Remove(ref_ptr<OverlayHandle> handle)
154{
155 if (m_frameCounter == kInvalidFrame)
156 {
157 if (!IsEmpty())
158 Clear();
159 return true;
160 }
161
162 if (IsInCache(handle))
163 {
164 Clear();
165 return true;
166 }
167 return false;
168}
169
170void OverlayTree::Add(ref_ptr<OverlayHandle> handle)
171{

Callers 4

RemoveOverlayHandlesMethod · 0.45
ExcludeRulePartFunction · 0.45
UNIT_TESTFunction · 0.45
OnTaskFinishedMethod · 0.45

Calls 1

ClearFunction · 0.85

Tested by 1

UNIT_TESTFunction · 0.36