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

◆ get_tasks_for_token()

std::vector< std::shared_ptr< Routine > > MayaFlux::Vruta::TaskScheduler::get_tasks_for_token ( ProcessingToken  token) const

Get all tasks for a specific processing domain.

Parameters
tokenProcessing domain
Returns
Vector of tasks in the domain

Definition at line 92 of file Scheduler.cpp.

93{
94 std::vector<std::shared_ptr<Routine>> result;
95 for (const auto& entry : m_tasks) {
96 if (entry.routine && entry.routine->get_processing_token() == token) {
97 result.push_back(entry.routine);
98 }
99 }
100 return result;
101}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
std::vector< TaskEntry > m_tasks

References m_tasks, and token.

Referenced by process_buffer_cycle_tasks(), process_default(), and process_token().

+ Here is the caller graph for this function: