LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
juno::buff::QUEUE_API_T< T, N > Struct Template Reference

#include <buff_api.hpp>

Collaboration diagram for juno::buff::QUEUE_API_T< T, N >:

Data Fields

JUNO_STATUS_T(* Enqueue )(QUEUE_ROOT_T< T, N > &tQueue, T tData)
 Enqueue data into the queue buffer.
 
RESULT_T< T >(* Dequeue )(QUEUE_ROOT_T< T, N > &tQueue)
 Dequeue data from the queue buffer.
 
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.
 

Detailed Description

template<typename T, const size_t N>
struct juno::buff::QUEUE_API_T< T, N >

The queue buffer API

Field Documentation

◆ Dequeue

template<typename T , const size_t N>
RESULT_T< T >(* juno::buff::QUEUE_API_T< T, N >::Dequeue) (QUEUE_ROOT_T< T, N > &tQueue)

Dequeue data from the queue buffer.

◆ Enqueue

Enqueue data into the queue buffer.

◆ Peek

template<typename T , const size_t N>
RESULT_T< T * >(* juno::buff::QUEUE_API_T< T, N >::Peek) (QUEUE_ROOT_T< T, N > &tQueue)

Peek at the next data item in the queue buffer. Calling Dequeue would dequeue this.


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