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

SimpleQueue with dynamically allocated memory. More...

#include <simple-queue.hpp>

Inherits ndnph::SimpleQueue< T >.

Public Member Functions

 DynamicSimpleQueue (size_t capacity)
 
 ~DynamicSimpleQueue ()
 
- Public Member Functions inherited from ndnph::SimpleQueue< T >
bool push (Item item)
 
std::tuple< Item, bool > pop ()
 
size_t capacity () const
 
size_t size () const
 
size_t available () const
 

Additional Inherited Members

- Public Types inherited from ndnph::SimpleQueue< T >
using Item = T
 
- Protected Member Functions inherited from ndnph::SimpleQueue< T >
 SimpleQueue (Item *arr, size_t cap)
 Constructor. More...
 
ItemgetArray ()
 

Detailed Description

template<typename T>
class ndnph::DynamicSimpleQueue< T >

SimpleQueue with dynamically allocated memory.

Constructor & Destructor Documentation

◆ DynamicSimpleQueue()

template<typename T >
ndnph::DynamicSimpleQueue< T >::DynamicSimpleQueue ( size_t  capacity)
inlineexplicit

◆ ~DynamicSimpleQueue()

template<typename T >
ndnph::DynamicSimpleQueue< T >::~DynamicSimpleQueue ( )
inline

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