forpy 2

Public Member Functions | Private Attributes | List of all members
forpy::threading::detail::Queue< T > Class Template Reference

`#include <ctpl.h>`

## Public Member Functions
bool | push (T const &value)
bool | pop (T &v)
bool | empty ()

## Private Attributes
std::queue< T > | q
std::mutex | mutex

## Detailed Description

### template<typename T>
class forpy::threading::detail::Queue< T >

Definition at line 49 of file ctpl.h.

## Member Function Documentation

## ◆ empty()

template<typename T>

bool forpy::threading::detail::Queue< T >::empty | ( |  | ) |
| inline

Definition at line 64 of file ctpl.h.

## ◆ pop()

template<typename T>

bool forpy::threading::detail::Queue< T >::pop | ( | T & | v | ) |
| inline

Definition at line 57 of file ctpl.h.

## ◆ push()

template<typename T>

bool forpy::threading::detail::Queue< T >::push | ( | T const & | value | ) |
| inline

Definition at line 51 of file ctpl.h.

## Member Data Documentation

## ◆ mutex

template<typename T>

std::mutex forpy::threading::detail::Queue< T >::mutex
| private

Definition at line 71 of file ctpl.h.

## ◆ q

template<typename T>

std::queue<T> forpy::threading::detail::Queue< T >::q
| private

Definition at line 70 of file ctpl.h.

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

- /Users/classner/git/forpy/include/forpy/util/threading/ctpl.h