A control block for one message limit.
More...
#include <message.hpp>
A control block for one message limit.
- Since
- v.5.5.4
- Examples:
- so_5/custom_direct_mbox/main.cpp.
◆ control_block_t() [1/2]
so_5::message_limit::control_block_t::control_block_t |
( |
unsigned int |
limit, |
|
|
action_t |
action |
|
) |
| |
|
inline |
Initializing constructor.
◆ control_block_t() [2/2]
so_5::message_limit::control_block_t::control_block_t |
( |
const control_block_t & |
o | ) |
|
|
inline |
◆ decrement()
static void so_5::message_limit::control_block_t::decrement |
( |
const control_block_t * |
limit | ) |
|
|
inlinestatic |
A safe decrement of message count with respect to absence of limit for a message.
◆ none()
static const control_block_t* so_5::message_limit::control_block_t::none |
( |
| ) |
|
|
inlinestatic |
A special indicator about absence of control_block.
◆ operator=()
◆ m_action
action_t so_5::message_limit::control_block_t::m_action |
◆ m_count
std::atomic_uint so_5::message_limit::control_block_t::m_count |
|
mutable |
The current count of the messages of that type.
◆ m_limit
unsigned int so_5::message_limit::control_block_t::m_limit |
The documentation for this struct was generated from the following file: