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

Method AddModule

src/base/AFPluginManager.hpp:108–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 void AddModule(const std::string& module_name, AFIModule* module_ptr)
109 {
110 ARK_ASSERT_RET_NONE(FindModule(module_name) == nullptr);
111
112 if (module_instances_.insert(std::make_pair(module_name, module_ptr)).second)
113 {
114 ordered_module_instances_.push_back(module_ptr);
115 }
116 }
117
118 void RemoveModule(const std::string& module_name)
119 {

Callers

nothing calls this directly

Calls 2

insertMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected