27#ifndef JUNO_DS_QUEUE_API_HPP
28#define JUNO_DS_QUEUE_API_HPP
43template<
typename T, const
size_t N>
49template<
typename T, const
size_t N>
59template<
typename T, const
size_t N>
72template<
typename T, const
size_t N>
76template<
typename T, const
size_t N>
83template<
typename T, const
size_t N>
#define JUNO_MODULE_ARG(...)
Pass-through argument pack helper for module macros.
Definition module.h:91
#define JUNO_MODULE_ROOT(API_T,...)
Implement a module root struct containing ptApi and failure fields.
Definition module.h:126
int32_t JUNO_STATUS_T
Canonical status type for LibJuno functions.
Definition status.h:49
Module system and dependency injection primitives for LibJuno.
Definition buff_api.hpp:36
Status codes and failure-handling helpers for LibJuno.
Definition buff_api.hpp:61
RESULT_T< T * >(* Peek)(QUEUE_ROOT_T< T, N > &tQueue)
Peek at the next data item in the queue buffer. Calling Dequeue would dequeue this.
Definition buff_api.hpp:67
JUNO_STATUS_T(* Enqueue)(QUEUE_ROOT_T< T, N > &tQueue, T tData)
Enqueue data into the queue buffer.
Definition buff_api.hpp:63
RESULT_T< T >(* Dequeue)(QUEUE_ROOT_T< T, N > &tQueue)
Dequeue data from the queue buffer.
Definition buff_api.hpp:65
The stack buffer api.
Definition buff_api.hpp:85
JUNO_STATUS_T(* Push)(STACK_ROOT_T< T, N > &tStack, T tData)
Push data onto the stack buffer.
Definition buff_api.hpp:87
RESULT_T< T >(* Pop)(STACK_ROOT_T< T, N > &tStack)
Pop data from the stack buffer.
Definition buff_api.hpp:89
RESULT_T< T * >(* Peek)(STACK_ROOT_T< T, N > &tStack)
Peek into data on the stack buffer.
Definition buff_api.hpp:91