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

◆ get_active_tokens()

std::vector< ProcessingToken > MayaFlux::Buffers::BufferManager::get_active_tokens ( ) const

Gets all currently active processing tokens.

Returns
Vector of tokens that have active buffers

Definition at line 115 of file BufferManager.cpp.

116{
117 std::vector<ProcessingToken> active_tokens;
118 for (const auto& token : m_unit_manager->get_active_audio_tokens()) {
119 active_tokens.push_back(token);
120 }
121 for (const auto& token : m_unit_manager->get_active_graphics_tokens()) {
122 active_tokens.push_back(token);
123 }
124 return active_tokens;
125}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
std::unique_ptr< TokenUnitManager > m_unit_manager
Token/unit storage and lifecycle.

References m_unit_manager, and token.