12 #ifndef INCLUDE_DISTORTOS_STATICFIFOQUEUE_HPP_ 13 #define INCLUDE_DISTORTOS_STATICFIFOQUEUE_HPP_ 31 template<
typename T,
size_t QueueSize>
66 #endif // INCLUDE_DISTORTOS_STATICFIFOQUEUE_HPP_ StaticFifoQueue class is a variant of FifoQueue that has automatic storage for queue's contents.
Definition: StaticFifoQueue.hpp:32
typename std::aligned_storage< sizeof(T), alignof(T)>::type Storage
type of uninitialized storage for data
Definition: FifoQueue.hpp:49
FifoQueue class is a simple FIFO queue for thread-thread, thread-interrupt or interrupt-interrupt com...
Definition: FifoQueue.hpp:44
Top-level namespace of distortos project.
Definition: buttons.hpp:33
std::array< Storage, QueueSize > storage_
storage for queue's contents
Definition: StaticFifoQueue.hpp:61
StaticFifoQueue()
StaticFifoQueue's constructor.
Definition: StaticFifoQueue.hpp:43
dummyDeleter() declaration
static constexpr size_t getCapacity()
Definition: StaticFifoQueue.hpp:53