distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
distortos::test::NonRawQueueWrapper Class Reference

common implementation of QueueWrapper for {Fifo,Message}Queue More...

#include <QueueWrappers.hpp>

Inheritance diagram for distortos::test::NonRawQueueWrapper:
[legend]
Collaboration diagram for distortos::test::NonRawQueueWrapper:
[legend]

Public Member Functions

bool checkCounters (size_t constructed, size_t copyConstructed, size_t moveConstructed, size_t destructed, size_t copyAssigned, size_t moveAssigned, size_t swapped) const override
 Wrapper for OperationCountingType::checkCounters(). More...
 
- Public Member Functions inherited from distortos::test::QueueWrapper
virtual ~QueueWrapper ()=0
 QueueWrapper's destructor. More...
 
virtual bool check (uint8_t priority1, const OperationCountingType &value1, uint8_t priority2, const OperationCountingType &value2) const =0
 Tests whether pushed and popped data match. More...
 
virtual int emplace (uint8_t priority, OperationCountingType::Value value={}) const =0
 Wrapper for {Fifo,Message}Queue::emplace() or Raw{Fifo,Message}Queue::push() More...
 
virtual int pop (uint8_t &priority, OperationCountingType &value) const =0
 Wrapper for [Raw]{Fifo,Message}Queue::pop() More...
 
virtual int push (uint8_t priority, const OperationCountingType &value) const =0
 Wrapper for {Fifo,Message}Queue::push(..., const OperationCountingType&) or Raw{Fifo,Message}Queue::push() More...
 
virtual int push (uint8_t priority, OperationCountingType &&value) const =0
 Wrapper for {Fifo,Message}Queue::push(..., OperationCountingType&&) or Raw{Fifo,Message}Queue::push() More...
 
virtual int tryEmplace (uint8_t priority, OperationCountingType::Value value={}) const =0
 Wrapper for {Fifo,Message}Queue::tryEmplace() or Raw{Fifo,Message}Queue::tryPush() More...
 
virtual int tryEmplaceFor (TickClock::duration duration, uint8_t priority, OperationCountingType::Value value={}) const =0
 Wrapper for {Fifo,Message}Queue::tryEmplaceFor() or Raw{Fifo,Message}Queue::tryPushFor() More...
 
virtual int tryEmplaceUntil (TickClock::time_point timePoint, uint8_t priority, OperationCountingType::Value value={}) const =0
 Wrapper for {Fifo,Message}Queue::tryEmplaceUntil() or Raw{Fifo,Message}Queue::tryPushUntil() More...
 
virtual int tryPop (uint8_t &priority, OperationCountingType &value) const =0
 Wrapper for [Raw]{Fifo,Message}Queue::tryPop() More...
 
virtual int tryPopFor (TickClock::duration duration, uint8_t &priority, OperationCountingType &value) const =0
 Wrapper for [Raw]{Fifo,Message}Queue::tryPopFor() More...
 
virtual int tryPopUntil (TickClock::time_point timePoint, uint8_t &priority, OperationCountingType &value) const =0
 Wrapper for [Raw]{Fifo,Message}Queue::tryPopUntil() More...
 
virtual int tryPush (uint8_t priority, const OperationCountingType &value) const =0
 Wrapper for {Fifo,Message}Queue::tryPush(..., const OperationCountingType&) or Raw{Fifo,Message}Queue::tryPush() More...
 
virtual int tryPush (uint8_t priority, OperationCountingType &&value) const =0
 Wrapper for {Fifo,Message}Queue::tryPush(..., OperationCountingType&&) or Raw{Fifo,Message}Queue::tryPush() More...
 
virtual int tryPushFor (TickClock::duration duration, uint8_t priority, const OperationCountingType &value) const =0
 Wrapper for {Fifo,Message}Queue::tryPushFor(..., const OperationCountingType&) or Raw{Fifo,Message}Queue::tryPushFor() More...
 
virtual int tryPushFor (TickClock::duration duration, uint8_t priority, OperationCountingType &&value) const =0
 Wrapper for {Fifo,Message}Queue::tryPushFor(..., OperationCountingType&&) or Raw{Fifo,Message}Queue::tryPushFor() More...
 
virtual int tryPushUntil (TickClock::time_point timePoint, uint8_t priority, const OperationCountingType &value) const =0
 Wrapper for {Fifo,Message}Queue::tryPushUntil(..., const OperationCountingType&) or Raw{Fifo,Message}Queue::tryPushUntil() More...
 
virtual int tryPushUntil (TickClock::time_point timePoint, uint8_t priority, OperationCountingType &&value) const =0
 Wrapper for {Fifo,Message}Queue::tryPushUntil(..., OperationCountingType&&) or Raw{Fifo,Message}Queue::tryPushUntil() More...
 

Detailed Description

common implementation of QueueWrapper for {Fifo,Message}Queue

Member Function Documentation

◆ checkCounters()

bool distortos::test::NonRawQueueWrapper::checkCounters ( size_t  constructed,
size_t  copyConstructed,
size_t  moveConstructed,
size_t  destructed,
size_t  copyAssigned,
size_t  moveAssigned,
size_t  swapped 
) const
overridevirtual

Wrapper for OperationCountingType::checkCounters().

Just calls OperationCountingType::checkCounters().

Implements distortos::test::QueueWrapper.

Here is the call graph for this function:

The documentation for this class was generated from the following files: