MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetAllModules

Method GetAllModules

Source/ModuleContainer.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void ModuleContainer::GetAllModules(std::vector<IDrawableModule*>& out)
51{
52 out.insert(out.begin(), mModules.begin(), mModules.end());
53 for (int i = 0; i < mModules.size(); ++i)
54 {
55 if (mModules[i]->GetContainer())
56 mModules[i]->GetContainer()->GetAllModules(out);
57 }
58}
59
60void ModuleContainer::DrawContents()
61{

Callers 15

PollMethod · 0.45
DrawToFramebufferMethod · 0.45
SetDisplayModuleMethod · 0.45
OnMidiNoteMethod · 0.45
OnMidiControlMethod · 0.45
UpdateRoutingModulesMethod · 0.45
ComputeBoundingBoxMethod · 0.45
DrawModulesOnMinimapMethod · 0.45
FindValidTargetsMethod · 0.45
ButtonClickedMethod · 0.45

Calls 2

sizeMethod · 0.80
GetContainerMethod · 0.45

Tested by

no test coverage detected