MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ keep()

void MayaFlux::Yantra::Vision::VisionWorkflow::keep ( const std::string &  name,
const std::shared_ptr< Vruta::Event > &  consumer 
)
private

Definition at line 411 of file VisionWorkflow.cpp.

412{
413 std::erase_if(m_runs, [](const auto& run) { return run.second.expired(); });
414 m_runs.emplace_back(name, consumer);
415}
std::string name
Definition VKDevice.cpp:123
std::vector< std::pair< std::string, std::weak_ptr< Vruta::Event > > > m_runs
Per live run: its producer task's name and its consumer.
void run()
Definition main.cpp:21

References m_runs, name, and run().

+ Here is the call graph for this function: