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

Method GetTotalTimeSec

libs/routing/route.cpp:98–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98double Route::GetTotalTimeSec() const
99{
100 return m_routeSegments.empty() ? 0 : m_routeSegments.back().GetTimeFromBeginningSec();
101}
102
103double Route::GetCurrentTimeToEndSec() const
104{

Callers 7

CalculateRouteMethod · 0.80
DoCalculateRouteMethod · 0.80
UNIT_TESTFunction · 0.80
UNIT_TESTFunction · 0.80
TestRouteTimeFunction · 0.80
UNIT_TESTFunction · 0.80
operator()Method · 0.80

Calls 3

backMethod · 0.80
emptyMethod · 0.45

Tested by 4

UNIT_TESTFunction · 0.64
UNIT_TESTFunction · 0.64
TestRouteTimeFunction · 0.64
UNIT_TESTFunction · 0.64