halx
読み取り中…
検索中…
一致する文字列を見つけられません
halx::core::RingBuffer< T > クラステンプレート

#include <ring_buffer.hpp>

公開メンバ関数

 RingBuffer (size_t capacity)
 
bool push (const T &value)
 
std::optional< T > pop ()
 
std::optional< T > pop (uint32_t timeout)
 
void clear ()
 
size_t size () const
 
size_t capacity () const
 

構築子と解体子

◆ RingBuffer()

template<class T>
halx::core::RingBuffer< T >::RingBuffer ( size_t capacity)
inline

関数詳解

◆ capacity()

template<class T>
size_t halx::core::RingBuffer< T >::capacity ( ) const
inline

◆ clear()

template<class T>
void halx::core::RingBuffer< T >::clear ( )
inline

◆ pop() [1/2]

template<class T>
std::optional< T > halx::core::RingBuffer< T >::pop ( )
inline

◆ pop() [2/2]

template<class T>
std::optional< T > halx::core::RingBuffer< T >::pop ( uint32_t timeout)
inline

◆ push()

template<class T>
bool halx::core::RingBuffer< T >::push ( const T & value)
inline

◆ size()

template<class T>
size_t halx::core::RingBuffer< T >::size ( ) const
inline

このクラス詳解は次のファイルから抽出されました: