distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
QueueWrappers.hpp File Reference

QueueWrapper, [Non]RawQueueWrapper and [Dynamic|Static][Raw]{Fifo,Message}QueueWrapper classes header. More...

Include dependency graph for QueueWrappers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  distortos::test::QueueWrapper
 wrapper for [Raw]{Fifo,Message}Queue More...
 
class  distortos::test::NonRawQueueWrapper
 common implementation of QueueWrapper for {Fifo,Message}Queue More...
 
class  distortos::test::FifoQueueWrapper
 implementation of QueueWrapper for FifoQueue More...
 
class  distortos::test::DynamicFifoQueueWrapper
 DynamicFifoQueueWrapper class is a variant of FifoQueueWrapper that has dynamic storage for queue's contents. More...
 
class  distortos::test::StaticFifoQueueWrapper< QueueSize >
 StaticFifoQueueWrapper class is a variant of FifoQueueWrapper that has automatic storage for queue's contents. More...
 
class  distortos::test::MessageQueueWrapper
 implementation of QueueWrapper for MessageQueue More...
 
class  distortos::test::DynamicMessageQueueWrapper
 DynamicMessageQueueWrapper class is a variant of MessageQueueWrapper that has dynamic storage for queue's contents. More...
 
class  distortos::test::StaticMessageQueueWrapper< QueueSize >
 StaticMessageQueueWrapper class is a variant of MessageQueueWrapper that has automatic storage for queue's contents. More...
 
class  distortos::test::RawQueueWrapper
 common implementation of QueueWrapper for Raw{Fifo,Message}Queue More...
 
class  distortos::test::RawFifoQueueWrapper
 implementation of RawQueueWrapper for RawFifoQueue More...
 
class  distortos::test::DynamicRawFifoQueueWrapper
 DynamicRawFifoQueueWrapper class is a variant of RawFifoQueueWrapper that has dynamic storage for queue's contents. More...
 
class  distortos::test::StaticRawFifoQueueWrapper< QueueSize >
 StaticRawFifoQueueWrapper class is a variant of RawFifoQueueWrapper that has automatic storage for queue's contents. More...
 
class  distortos::test::RawMessageQueueWrapper
 implementation of RawQueueWrapper for RawMessageQueue More...
 
class  distortos::test::DynamicRawMessageQueueWrapper
 DynamicRawMessageQueueWrapper class is a variant of RawMessageQueueWrapper that has dynamic storage for queue's contents. More...
 
class  distortos::test::StaticRawMessageQueueWrapper< QueueSize >
 StaticRawMessageQueueWrapper class is a variant of RawMessageQueueWrapper that has automatic storage for queue's contents. More...
 

Namespaces

 distortos
 Top-level namespace of distortos project.
 
 distortos::test
 Functional tests of distortos project.
 

Macros

#define DISTORTOS_QUEUE_EMPLACE_SUPPORTED
 GCC 4.9 is needed for all {Fifo,Message}Queue::emplace() functions. More...
 

Typedefs

using distortos::test::QueueWrapperUniquePointer = std::unique_ptr< QueueWrapper >
 unique_ptr with QueueWrapper More...
 
using distortos::test::RawQueueWrapperUniquePointer = std::unique_ptr< RawQueueWrapper >
 unique_ptr with RawQueueWrapper More...
 

Functions

template<size_t QueueSize>
RawQueueWrapperUniquePointer distortos::test::makeRawQueueWrapper (const bool dynamic, const bool fifo)
 RawQueueWrapper's factory function. More...
 
template<size_t QueueSize>
QueueWrapperUniquePointer distortos::test::makeQueueWrapper (const bool dynamic, const bool raw, const bool fifo)
 QueueWrapper's factory function. More...
 

Detailed Description

QueueWrapper, [Non]RawQueueWrapper and [Dynamic|Static][Raw]{Fifo,Message}QueueWrapper classes header.

Author
Copyright (C) 2015-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Macro Definition Documentation

◆ DISTORTOS_QUEUE_EMPLACE_SUPPORTED

#define DISTORTOS_QUEUE_EMPLACE_SUPPORTED
Value:
DISTORTOS_MESSAGEQUEUE_EMPLACE_SUPPORTED)
#define DISTORTOS_FIFOQUEUE_EMPLACE_SUPPORTED
Definition: FifoQueue.hpp:27

GCC 4.9 is needed for all {Fifo,Message}Queue::emplace() functions.