MCPcopy Create free account
hub / github.com/benkuper/Chataigne / getModuleList

Method getModuleList

Source/Module/ModuleManager.cpp:188–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188Array<Module*> ModuleManager::getModuleList(bool includeSpecialModules)
189{
190 Array<Module*> mList;
191 for (auto& m : ModuleManager::getInstance()->items) mList.add(m);
192
193 if (includeSpecialModules)
194 {
195 mList.add(StateManager::getInstance()->module.get());
196 mList.add(ChataigneSequenceManager::getInstance()->module.get());
197 mList.add(CVGroupManager::getInstance()->module.get());
198 }
199
200 return mList;
201}

Callers 2

handleFillMenuResultMethod · 0.80

Calls 2

addMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected