esp8266ndn
NDN Arduino library for ESP8266 and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
ndnph::port_queue_boostlf::SafeQueue< T, capacity > Class Template Reference

Generic thread-safe queue, implemented with Boost Lockfree library. More...

#include <boostlf.hpp>

Public Types

using Item = T
 

Public Member Functions

bool push (Item item)
 
std::tuple< Item, bool > pop ()
 

Detailed Description

template<typename T, size_t capacity>
class ndnph::port_queue_boostlf::SafeQueue< T, capacity >

Generic thread-safe queue, implemented with Boost Lockfree library.

Member Typedef Documentation

◆ Item

template<typename T , size_t capacity>
using ndnph::port_queue_boostlf::SafeQueue< T, capacity >::Item = T

Member Function Documentation

◆ pop()

template<typename T , size_t capacity>
std::tuple< Item, bool > ndnph::port_queue_boostlf::SafeQueue< T, capacity >::pop ( )
inline

◆ push()

template<typename T , size_t capacity>
bool ndnph::port_queue_boostlf::SafeQueue< T, capacity >::push ( Item  item)
inline

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