SObjectizer-5 Extra
|
A mixin with actual data which is necessary for implementation of actual mbox. More...
#include <first_last_subscriber_notification.hpp>
Classes | |
struct | agent_ptr_comparator_t |
A special coparator for agents with respect to agent's priority. More... | |
Public Types | |
using | subscribers_map_t = std::map< agent_t *, subscriber_info_t, agent_ptr_comparator_t > |
Type of subscribers map. More... | |
Public Member Functions | |
template_independent_mbox_data_t (environment_t &env, mbox_id_t id, mbox_t notification_mbox, mbox_type_t mbox_type) | |
Public Attributes | |
environment_t & | m_env |
SObjectizer Environment to work in. More... | |
const mbox_id_t | m_id |
ID of the mbox. More... | |
const mbox_t | m_notification_mbox |
Mbox for notifications about the first/last subscribers. More... | |
const mbox_type_t | m_mbox_type |
Type of this mbox (MPMC or MPSC). More... | |
subscribers_map_t | m_subscribers |
Subscribers. More... | |
std::size_t | m_subscriptions_count {} |
Number of actual subscriptions. More... | |
A mixin with actual data which is necessary for implementation of actual mbox.
This data type doesn't depend on any template parameters.
Definition at line 166 of file first_last_subscriber_notification.hpp.
using so_5::extra::mboxes::first_last_subscriber_notification::details::template_independent_mbox_data_t::subscribers_map_t = std::map< agent_t *, subscriber_info_t, agent_ptr_comparator_t > |
Type of subscribers map.
Definition at line 180 of file first_last_subscriber_notification.hpp.
|
inline |
Definition at line 210 of file first_last_subscriber_notification.hpp.
environment_t& so_5::extra::mboxes::first_last_subscriber_notification::details::template_independent_mbox_data_t::m_env |
SObjectizer Environment to work in.
Definition at line 183 of file first_last_subscriber_notification.hpp.
const mbox_id_t so_5::extra::mboxes::first_last_subscriber_notification::details::template_independent_mbox_data_t::m_id |
ID of the mbox.
Definition at line 186 of file first_last_subscriber_notification.hpp.
const mbox_type_t so_5::extra::mboxes::first_last_subscriber_notification::details::template_independent_mbox_data_t::m_mbox_type |
Type of this mbox (MPMC or MPSC).
Definition at line 192 of file first_last_subscriber_notification.hpp.
const mbox_t so_5::extra::mboxes::first_last_subscriber_notification::details::template_independent_mbox_data_t::m_notification_mbox |
Mbox for notifications about the first/last subscribers.
Definition at line 189 of file first_last_subscriber_notification.hpp.
subscribers_map_t so_5::extra::mboxes::first_last_subscriber_notification::details::template_independent_mbox_data_t::m_subscribers |
std::size_t so_5::extra::mboxes::first_last_subscriber_notification::details::template_independent_mbox_data_t::m_subscriptions_count {} |
Number of actual subscriptions.
Definition at line 208 of file first_last_subscriber_notification.hpp.