MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / outputPort

Method outputPort

TaskFlow/core/BaseTask.cpp:61–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61TaskPort *BaseTask::outputPort(const QString &name) const
62{
63 QMutexLocker locker(&m_tasksMutex);
64
65 auto it = std::find_if(m_outputs.begin(), m_outputs.end(), [&name](const TaskPort *port) {
66 return port->name() == name;
67 });
68
69 return (it != m_outputs.end()) ? *it : nullptr;
70}
71
72QList<TaskPort *> BaseTask::getInputPorts() const
73{

Callers

nothing calls this directly

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected