11 #include <so_5/impl/mchain_details.hpp> 12 #include <so_5/impl/make_mchain.hpp> 13 #include <so_5/impl/internal_env_iface.hpp> 42 template< std::size_t Size >
124 template< std::size_t Size >
166 template< std::size_t Size >
217 template< std::size_t Size >
so_5::mchain_props::demand_t & front()
Access to front item of the queue.
std::size_t size() const
Size of the queue.
Ranges for error codes of each submodules.
std::size_t m_size
The current size of the queue.
Implementation of demands queue for fixed-size message chain with "static" storage.
bool is_empty() const
Is queue empty?
void push_back(so_5::mchain_props::demand_t &&demand)
Add a new item to the end of the queue.
void pop_front()
Remove the front item from queue.
bool is_full() const
Is queue full?
std::array< so_5::mchain_props::demand_t, Size > m_storage
Queue's storage.
demand_queue_t(so_5::mchain_props::capacity_t)
std::size_t m_head
Index of the queue head.