Added a memory efficient Circular Queue to Dali 71/136671/5
authorDavid Steele <david.steele@samsung.com>
Fri, 30 Jun 2017 16:26:19 +0000 (17:26 +0100)
committerDavid Steele <david.steele@samsung.com>
Thu, 13 Jul 2017 13:38:16 +0000 (14:38 +0100)
commit580752d4f13ee237a795d6a11579bf95ae3a4b63
tree3bd9969a0ee5c5e73620a04595ccf78d91adcccd
parent1588027419834b81ba7f6148daeeb16a0002ce29
Added a memory efficient Circular Queue to Dali

Added a circular queue that is based on top of Dali::Vector.
It's a FIFO queue that grows to the desired size, then prevents
anything being added to it once full. Elements are pushed to the back
of the queue, and popped from the front of the queue.

Change-Id: I26207d6aca5031e7e35f58adbe2ef1f26298ae2a
Signed-off-by: David Steele <david.steele@samsung.com>
automated-tests/src/dali/CMakeLists.txt
automated-tests/src/dali/utc-Dali-CircularQueue.cpp [new file with mode: 0644]
dali/devel-api/common/circular-queue.h [new file with mode: 0644]
dali/devel-api/file.list
dali/public-api/dali-core.h