WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
Queue< T > Class Template Reference

排他制御をしたただのキュー More...

#include <webcface/internal/queue.h>

Public Member Functions

void push (const T &f)
 
void push (T &&f)
 
bool empty ()
 
std::optional< T > pop ()
 
std::optional< T > pop (std::chrono::milliseconds d)
 
void clear ()
 

Detailed Description

template<typename T>
class webcface::Queue< T >

排他制御をしたただのキュー

Member Function Documentation

◆ clear()

template<typename T >
void clear ( )
inline

◆ empty()

template<typename T >
bool empty ( )
inline

◆ pop() [1/2]

template<typename T >
std::optional< T > pop ( )
inline

◆ pop() [2/2]

template<typename T >
std::optional< T > pop ( std::chrono::milliseconds  d)
inline

◆ push() [1/2]

template<typename T >
void push ( const T &  f)
inline

◆ push() [2/2]

template<typename T >
void push ( T &&  f)
inline

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