Developer World
Spresense SDK Library v3.2.0-ebc0364
BasicQueue< AddrT, SizeT, NumT, FillAfterPop > Class Template Reference
Inheritance diagram for BasicQueue< AddrT, SizeT, NumT, FillAfterPop >:
Collaboration diagram for BasicQueue< AddrT, SizeT, NumT, FillAfterPop >:

Public Member Functions

 BasicQueue (AddrT data_area, SizeT elem, NumT num)
 
void init (AddrT data_area, SizeT elem, NumT num)
 
bool is_init () const
 
SizeT elem_size () const
 
NumT capacity () const
 
NumT size () const
 
NumT rest () const
 
bool empty () const
 
bool full () const
 
void dump () const
 
void dump_active () const
 
void clear ()
 
bool push (const void *data, SizeT len)
 
template<typename T >
bool push (const T &data)
 
bool pop ()
 
template<typename T >
bool pop ()
 
template<typename T >
const T & top () const
 
template<typename T >
const T & at (NumT n) const
 
template<typename T >
T & writable_at (NumT n)
 
template<typename T >
const T & front () const
 
template<typename T >
T & front ()
 
template<typename T >
const T & back () const
 
template<typename T >
T & back ()
 

Protected Member Functions

void postPush ()
 
void postPop ()
 
NumT getIndex (NumT n) const
 
void * getAddr (NumT n) const
 
void * getAddr (NumT n, drm_t) const
 
void * getAddr (NumT n, void *) const
 

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