주요 내용으로 건너뛰기

DMA_Queue

touchgfx/hal/DMA.hpp

This class provides an interface for a FIFO (circular) list used by DMA_Interface and descendants for storing BlitOp's.

Inherited by: LockFreeDMA_Queue

Public Functions

virtual boolisEmpty() =0
Query if this object is empty.
virtual boolisFull() =0
Query if this object is full.
virtual voidpushCopyOf(const BlitOp & op) =0
Adds the specified blitop to the queue.
virtual ~DMA_Queue()
Finalizes an instance of the DMA_Queue class.

Protected Functions

DMA_Queue()
Initializes a new instance of the DMA_Queue class.
virtual const BlitOp *first() =0
Gets the first element in the queue.
virtual voidpop() =0
Pops an element from the queue.

Public Functions Documentation

isEmpty

virtual bool isEmpty()=0

Query if this object is empty.

Returns:

true if the queue is empty.

Reimplemented by: touchgfx::LockFreeDMA_Queue::isEmpty

isFull

virtual bool isFull()=0

Query if this object is full.

Returns:

true if the queue is full.

Reimplemented by: touchgfx::LockFreeDMA_Queue::isFull

pushCopyOf

virtual void pushCopyOf(const BlitOp &op)

Adds the specified blitop to the queue.

Parameters:
opThe blitop to add.

Reimplemented by: touchgfx::LockFreeDMA_Queue::pushCopyOf

~DMA_Queue

virtual ~DMA_Queue()

Finalizes an instance of the DMA_Queue class.

Protected Functions Documentation

DMA_Queue

Initializes a new instance of the DMA_Queue class.

first

virtual const BlitOp * first()=0

Gets the first element in the queue.

Returns:

The first element in the queue.

Reimplemented by: touchgfx::LockFreeDMA_Queue::first

pop

virtual void pop()=0

Pops an element from the queue.

Reimplemented by: touchgfx::LockFreeDMA_Queue::pop