MayaFlux 0.1.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 90 of file Scheduler.cpp.

91{
92 std::vector<std::shared_ptr<Routine>> result;
93 for (const auto& entry : m_tasks) {
94 if (entry.routine && entry.routine->get_processing_token() == token) {
95 result.push_back(entry.routine);
96 }
97 }
98 return result;
99}
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: