MCPcopy Create free account
hub / github.com/Yaafe/Yaafe / getOutputNode

Method getOutputNode

src_cpp/yaafe-core/Engine.cpp:154–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 }
153
154 Engine::ProcessingStep* Engine::getOutputNode(const std::string& id)
155 {
156 ProcessFlow::Node* n = m_graph->getNode(id);
157 if (n==NULL)
158 return NULL;
159 if (n->v.m_id!="Output")
160 {
161 cerr << "WARNING: node '" << id << "' is not an output node !" << endl;
162 return NULL;
163 }
164 assert(n->v.m_input.size()==1);
165 assert(n->v.m_output.size()==0);
166 return &(n->v);
167 }
168
169 OutputBuffer* Engine::getInput(const std::string& id)
170 {

Callers

nothing calls this directly

Calls 2

getNodeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected