MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / Init

Method Init

samples/sample1/Sample1Module.cpp:30–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace ark {
29
30bool Sample1Module::Init()
31{
32 m_pTimerModule = FindModule<AFITimerModule>();
33 m_pLogModule = FindModule<AFILogModule>();
34 m_pGUIDModule = FindModule<AFIGUIDModule>();
35
36 ARK_LOG_INFO("{}, init", GET_CLASS_NAME(Sample1Module));
37
38 m_pTimerModule->AddSingleTimer(AFGUID(100), std::chrono::seconds(10), 5, this, &Sample1Module::TimerTest);
39
40 return true;
41}
42
43void TestBasicData()
44{

Callers

nothing calls this directly

Calls 1

AddSingleTimerMethod · 0.45

Tested by

no test coverage detected