MCPcopy Create free account
hub / github.com/LabSound/LabSound / AddMonitorNodes

Method AddMonitorNodes

examples/src/ExamplesCommon.h:81–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 void AddMonitorNodes() {
82 for (auto n : _nodes) {
83 std::shared_ptr<lab::PowerMonitorNode> pn(new PowerMonitorNode(*context.get()));
84 context->connect(pn, n, 0, 0);
85 context->addAutomaticPullNode(pn);
86 _powerNodes.push_back(pn);
87 }
88 }
89
90 inline std::vector<std::string> SplitCommandLine(int argc, char ** argv)
91 {

Callers

nothing calls this directly

Calls 3

getMethod · 0.80
addAutomaticPullNodeMethod · 0.80
connectMethod · 0.45

Tested by

no test coverage detected