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

Method Init

src/plugin/kernel/src/AFCKernelModule.cpp:44–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44bool AFCKernelModule::Init()
45{
46 delete_list_.clear();
47
48 m_pMapModule = FindModule<AFIMapModule>();
49 m_pClassModule = FindModule<AFIClassMetaModule>();
50 m_pConfigModule = FindModule<AFIConfigModule>();
51 m_pLogModule = FindModule<AFILogModule>();
52 m_pGUIDModule = FindModule<AFIGUIDModule>();
53
54 auto container_func = std::bind(&AFCKernelModule::OnContainerCallBack, this, std::placeholders::_1,
55 std::placeholders::_2, std::placeholders::_3, std::placeholders::_4, std::placeholders::_5);
56 AddCommonContainerCallBack(std::move(container_func), 999999); // after other callbacks being done
57
58 AddSyncCallBack();
59
60 return true;
61}
62
63bool AFCKernelModule::Update()
64{

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected