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

Method PostMessage

libs/drape_frontend/threads_commutator.cpp:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17void ThreadsCommutator::PostMessage(ThreadName name, drape_ptr<Message> && message, MessagePriority priority)
18{
19 TAcceptorsMap::iterator it = m_acceptors.find(name);
20 ASSERT(it != m_acceptors.end(), ());
21 if (it != m_acceptors.end() && it->second->CanReceiveMessages())
22 it->second->PostMessage(std::move(message), priority);
23}
24
25} // namespace df

Callers

nothing calls this directly

Calls 4

ASSERTFunction · 0.85
CanReceiveMessagesMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected