Public Member Functions | Private Attributes | List of all members
ConcurrentQueue< T > Class Template Reference

#include <telegram.hpp>

Public Member Functions

bool empty () const noexcept
 
void pop (T &output) noexcept
 
void push (const T &input) noexcept
 
size_t size () const noexcept
 

Private Attributes

std::condition_variable cond_
 
std::mutex mtx_
 
std::queue< T > queue_
 

Detailed Description

template<typename T>
class ConcurrentQueue< T >

Definition at line 152 of file telegram.hpp.

Member Function Documentation

◆ empty()

template<typename T >
bool ConcurrentQueue< T >::empty
noexcept

Definition at line 167 of file telegram.hpp.

◆ pop()

template<typename T >
void ConcurrentQueue< T >::pop ( T &  output)
noexcept

Definition at line 191 of file telegram.hpp.

◆ push()

template<typename T >
void ConcurrentQueue< T >::push ( const T &  input)
noexcept

Definition at line 181 of file telegram.hpp.

◆ size()

template<typename T >
size_t ConcurrentQueue< T >::size
noexcept

Definition at line 174 of file telegram.hpp.

Member Data Documentation

◆ cond_

template<typename T >
std::condition_variable ConcurrentQueue< T >::cond_
private

Definition at line 162 of file telegram.hpp.

◆ mtx_

template<typename T >
std::mutex ConcurrentQueue< T >::mtx_
mutableprivate

Definition at line 163 of file telegram.hpp.

◆ queue_

template<typename T >
std::queue<T> ConcurrentQueue< T >::queue_
private

Definition at line 161 of file telegram.hpp.


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


septentrio_gnss_driver
Author(s): Tibor Dome
autogenerated on Wed Nov 22 2023 04:04:28