rotor_light
real-time C++ actor micro-framework for embedded systems, supervisable
rotor_light::Queue< Storage, Counts > Struct Template Reference

conveninent helper for meta-queue (list of queues, ordered by priorities) More...

#include <queue.hpp>

Inheritance diagram for rotor_light::Queue< Storage, Counts >:
rotor_light::QueueBase

Public Types

using Queues = std::tuple< ItemQueue< Storage, Counts >... >
 

Static Public Attributes

static constexpr size_t Size = std::tuple_size<Queues>::value
 

Additional Inherited Members

- Public Member Functions inherited from rotor_light::QueueBase
 QueueBase (ItemQueueBase **queues, size_t queue_count)
 
 QueueBase (const QueueBase &)=delete
 
 QueueBase (QueueBase &&)=delete
 
template<typename MessageType , typename... Args>
bool put (size_t queue_index, Args... args)
 
ItemGuard next ()
 

Detailed Description

template<typename Storage, size_t... Counts>
struct rotor_light::Queue< Storage, Counts >

conveninent helper for meta-queue (list of queues, ordered by priorities)

Member Typedef Documentation

◆ Queues

template<typename Storage , size_t... Counts>
using rotor_light::Queue< Storage, Counts >::Queues = std::tuple<ItemQueue<Storage, Counts>...>

tuple alias to store different queues

Member Data Documentation

◆ Size

template<typename Storage , size_t... Counts>
constexpr size_t rotor_light::Queue< Storage, Counts >::Size = std::tuple_size<Queues>::value
staticconstexpr

the total amount of sub-queues


The documentation for this struct was generated from the following file: