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

Method RemoveLine

libs/drape_frontend/drape_api.cpp:36–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void DrapeApi::RemoveLine(std::string const & id)
37{
38 DrapeEngineLockGuard lock(m_engine);
39 if (!lock)
40 return;
41
42 auto & threadCommutator = lock.Get()->m_threadCommutator;
43 m_lines.erase(id);
44 threadCommutator->PostMessage(ThreadsCommutator::ResourceUploadThread, make_unique_dp<DrapeApiRemoveMessage>(id),
45 MessagePriority::Normal);
46}
47
48void DrapeApi::Clear()
49{

Callers 4

ClearGoldenPathMethod · 0.80
DrawLineMethod · 0.80
EraseLineMethod · 0.80
ClearTurnsMethod · 0.80

Calls 3

GetMethod · 0.45
eraseMethod · 0.45
PostMessageMethod · 0.45

Tested by

no test coverage detected