GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::SPSCSlidingWindowQueue< T, N, W >::Producer Class Reference

#include <GREM/core/data/SPSCSlidingWindowQueue.hpp>

Public Member Functions

WindowView lookBehind () const
template<typename Function>
requires (noexcept(std::forward<Function>(function)(std::declval<T&>())))
void waitEnqueueWith (Function &&function)
template<typename U>
requires (std::is_nothrow_assignable_v<T&, decltype(std::forward<U>(value))>)
void waitEnqueue (U &&value)
template<typename Function>
requires (noexcept(std::forward<Function>(function)(std::declval<T&>())))
bool tryEnqueueWith (Function &&function)
template<typename U>
requires (std::is_nothrow_assignable_v<T&, decltype(std::forward<U>(value))>)
bool tryEnqueue (U &&value)

Member Function Documentation

◆ lookBehind()

template<typename T, std::size_t N, std::size_t W>
WindowView grem::SPSCSlidingWindowQueue< T, N, W >::Producer::lookBehind ( ) const
inlinenodiscard

◆ waitEnqueueWith()

template<typename T, std::size_t N, std::size_t W>
template<typename Function>
requires (noexcept(std::forward<Function>(function)(std::declval<T&>())))
void grem::SPSCSlidingWindowQueue< T, N, W >::Producer::waitEnqueueWith ( Function && function)
inline

◆ waitEnqueue()

template<typename T, std::size_t N, std::size_t W>
template<typename U>
requires (std::is_nothrow_assignable_v<T&, decltype(std::forward<U>(value))>)
void grem::SPSCSlidingWindowQueue< T, N, W >::Producer::waitEnqueue ( U && value)
inline

◆ tryEnqueueWith()

template<typename T, std::size_t N, std::size_t W>
template<typename Function>
requires (noexcept(std::forward<Function>(function)(std::declval<T&>())))
bool grem::SPSCSlidingWindowQueue< T, N, W >::Producer::tryEnqueueWith ( Function && function)
inline

◆ tryEnqueue()

template<typename T, std::size_t N, std::size_t W>
template<typename U>
requires (std::is_nothrow_assignable_v<T&, decltype(std::forward<U>(value))>)
bool grem::SPSCSlidingWindowQueue< T, N, W >::Producer::tryEnqueue ( U && value)
inlinenodiscard

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