µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os::rtos::message_queue::arena< T, msgs, msg_size_bytes > Class Template Reference

Storage for a static message queue. More...

#include <cmsis-plus/rtos/os.h>

Public Attributes

links [((2 *msgs) *sizeof(index_t)+sizeof(T) - 1)/sizeof(T)]
 
prios [(msgs *sizeof(priority_t)+sizeof(T) - 1)/sizeof(T)]
 
queue [(msgs *msg_size_bytes+sizeof(T) - 1)/sizeof(T)]
 

Detailed Description

template<typename T, std::size_t msgs, std::size_t msg_size_bytes>
class os::rtos::message_queue::arena< T, msgs, msg_size_bytes >

Storage for a static message queue.

Each message is stored in an element extended to a multiple of pointers. The lists are kept in two arrays of indices and the priorities are kept in a separate array.

Definition at line 233 of file os-mqueue.h.

Member Data Documentation

◆ links

template<typename T , std::size_t msgs, std::size_t msg_size_bytes>
T os::rtos::message_queue::arena< T, msgs, msg_size_bytes >::links[((2 *msgs) *sizeof(index_t)+sizeof(T) - 1)/sizeof(T)]

Definition at line 237 of file os-mqueue.h.

◆ prios

template<typename T , std::size_t msgs, std::size_t msg_size_bytes>
T os::rtos::message_queue::arena< T, msgs, msg_size_bytes >::prios[(msgs *sizeof(priority_t)+sizeof(T) - 1)/sizeof(T)]

Definition at line 238 of file os-mqueue.h.

◆ queue

template<typename T , std::size_t msgs, std::size_t msg_size_bytes>
T os::rtos::message_queue::arena< T, msgs, msg_size_bytes >::queue[(msgs *msg_size_bytes+sizeof(T) - 1)/sizeof(T)]

Definition at line 236 of file os-mqueue.h.


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