MayaFlux 0.3.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 119 of file BufferManager.cpp.

120{
121 std::vector<ProcessingToken> active_tokens;
122 for (const auto& token : m_unit_manager->get_active_audio_tokens()) {
123 active_tokens.push_back(token);
124 }
125 for (const auto& token : m_unit_manager->get_active_graphics_tokens()) {
126 active_tokens.push_back(token);
127 }
128 return active_tokens;
129}
std::unique_ptr< TokenUnitManager > m_unit_manager
Token/unit storage and lifecycle.

References m_unit_manager.