TracktionEngine
Loading...
Searching...
No Matches
graph::farbot::detail::read_or_writer< T, is_writer, single_consumer_producer, overwrite_or_return_zero, MAX_THREADS > Struct Template Reference

#include <tracktion_AudioBufferPool.h>

Public Member Functions

std::uint32_t getpos () const noexcept
bool push_or_pop (std::vector< T > &s, T &&arg, std::uint32_t max) noexcept

Public Attributes

std::atomic< std::uint32_t > reserve = {0}
multi_position_info< MAX_THREADS > posinfo

Member Function Documentation

◆ getpos()

template<typename T, bool is_writer, bool single_consumer_producer, bool overwrite_or_return_zero, std::size_t MAX_THREADS>
std::uint32_t graph::farbot::detail::read_or_writer< T, is_writer, single_consumer_producer, overwrite_or_return_zero, MAX_THREADS >::getpos ( ) const
noexcept

◆ push_or_pop()

template<typename T, bool is_writer, bool single_consumer_producer, bool overwrite_or_return_zero, std::size_t MAX_THREADS>
bool graph::farbot::detail::read_or_writer< T, is_writer, single_consumer_producer, overwrite_or_return_zero, MAX_THREADS >::push_or_pop ( std::vector< T > & s,
T && arg,
std::uint32_t max )
noexcept

Member Data Documentation

◆ reserve

template<typename T, bool is_writer, bool single_consumer_producer, bool overwrite_or_return_zero, std::size_t MAX_THREADS>
std::atomic<std::uint32_t> graph::farbot::detail::read_or_writer< T, is_writer, single_consumer_producer, overwrite_or_return_zero, MAX_THREADS >::reserve = {0}

◆ posinfo

template<typename T, bool is_writer, bool single_consumer_producer, bool overwrite_or_return_zero, std::size_t MAX_THREADS>
multi_position_info<MAX_THREADS> graph::farbot::detail::read_or_writer< T, is_writer, single_consumer_producer, overwrite_or_return_zero, MAX_THREADS >::posinfo

The documentation for this struct was generated from the following file: