MCPcopy Create free account
hub / github.com/c-jimenez/open-ocpp / createTimer

Method createTimer

tests/stubs/TestableTimerPool.cpp:34–39  ·  view source on GitHub ↗

@copydoc Timer* ITimerPool::createTimer(const char*) */

Source from the content-addressed store, hash-verified

32
33/** @copydoc Timer* ITimerPool::createTimer(const char*) */
34Timer* TestableTimerPool::createTimer(const char* name)
35{
36 Timer* timer = new Timer(*this, name);
37 m_timers.push_back(timer);
38 return timer;
39}
40
41/** @copydoc Timer* ITimerPool::getTimer(const std::string&) */
42Timer* TestableTimerPool::getTimer(const std::string& timer_name)

Callers 1

test_timers.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected