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

Method AddUserEvent

libs/drape_frontend/frontend_renderer.cpp:2464–2473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2462}
2463
2464void FrontendRenderer::AddUserEvent(drape_ptr<UserEvent> && event)
2465{
2466#ifdef SCENARIO_ENABLE
2467 if (m_scenarioManager->IsRunning() && event->GetType() == UserEvent::EventType::Touch)
2468 return;
2469#endif
2470 m_userEventStream.AddEvent(std::move(event));
2471 if (IsInInfinityWaiting())
2472 CancelMessageWaiting();
2473}
2474
2475void FrontendRenderer::PositionChanged(m2::PointD const & position, bool hasPosition)
2476{

Callers

nothing calls this directly

Calls 3

IsRunningMethod · 0.80
GetTypeMethod · 0.45
AddEventMethod · 0.45

Tested by

no test coverage detected