Components/Libraries/XF/FreeRTOS/Queue

From UIT
Revision as of 13:11, 10 August 2017 by Sara.chalokh (Talk | contribs)
Jump to: navigation, search

Contents

Queue

The class Queue is a C++ interface that manage a FreeRTOS queue.

Member Attibuts

Queue()

Description

The constructor of the queue. It will create an uninitialized FreeRTOS queue. It mean that the queue is created but could not be used. Call initQueue to initialize it.

Parameters

oSizeofObject : the size of the element that must be contained by the Queue

Queue(baseUInt oSizeofObject)

~Queue()

bool initQueue(baseUInt oSizeofObject)

bool push(void* opEl, timeSize oTimeToWait)

bool pushCopy(void* opEl, TickType_t oTimeToWait)

bool pushFromISR(void* opEl)

bool pushCopyFromISR(void* opEl)

void* pop(timeSize oTimeToWait)

void* popFromISR()

void* peek(timeSize oTimeToWait)

void* peekFromISR()

bool overWrite(void* opEl)

bool overWriteCopy(void* opEl)

bool overWriteFromISR(void* opEl)

bool overWriteCopyFromISR(void* opEl)

bool isEmpty()

bool isFull()

QUEUE_LENGHT_SIZE itemsInQueue()

QUEUE_LENGHT_SIZE freeSpaceInQueue()

void reset()

bool isCreated()

Member Functions Description

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox