|
SObjectizer
5.8
|
Classes | |
| class | lambda_as_filter_t |
| An implementation of delivery filter represented by lambda-function like object. More... | |
| struct | schedule_timer_params_t |
| struct | single_timer_params_t |
Functions | |
| void | ensure_not_null (const delivery_filter_unique_ptr_t &ptr) |
| Helper function that throws if a pointer to delivery_filter is null. | |
| template<class Message > | |
| void | deliver_message (message_delivery_mode_t delivery_mode, abstract_message_box_t &target, std::type_index subscription_type, std::unique_ptr< Message > msg) |
| Deliver message. | |
| void | deliver_message (message_delivery_mode_t delivery_mode, abstract_message_box_t &target, std::type_index subscription_type, message_ref_t msg) |
| Deliver message. | |
| template<class Message > | |
| void | deliver_signal (message_delivery_mode_t delivery_mode, abstract_message_box_t &target) |
| Deliver signal. | |
| so_5::timer_id_t | schedule_timer (const std::type_index &subscription_type, message_ref_t msg, const mbox_t &mbox, std::chrono::steady_clock::duration pause, std::chrono::steady_clock::duration period) |
| Schedule periodic timer event. | |
| void | single_timer (const std::type_index &subscription_type, message_ref_t msg, const mbox_t &mbox, std::chrono::steady_clock::duration pause) |
| Schedule single timer event. | |
| coop_shptr_t | to_shptr (const coop_handle_t &handle) |
| A helper function for safe extraction of shared_ptr to coop from coop_handle instance. | |
| coop_shptr_t | to_shptr_noexcept (const coop_handle_t &handle) noexcept |
| A helper function for unsafe extraction of shared_ptr to coop from coop_handle instance. | |
|
inline |
Deliver message.
This function is necessary for cases when message object is already present as message_ref_t.
| delivery_mode | Can the delivery blocks the current thread? |
| target | Destination for message. |
| subscription_type | Subscription type for that message. |
| msg | Message data. |
| void so_5::low_level_api::deliver_message | ( | message_delivery_mode_t | delivery_mode, |
| abstract_message_box_t & | target, | ||
| std::type_index | subscription_type, | ||
| std::unique_ptr< Message > | msg ) |
Deliver message.
Mbox takes care about destroying a message object.
| delivery_mode | Can the delivery blocks the current thread? |
| target | Destination for message. |
| subscription_type | Subscription type for that message. |
| msg | Message data. |
| void so_5::low_level_api::deliver_signal | ( | message_delivery_mode_t | delivery_mode, |
| abstract_message_box_t & | target ) |
Deliver signal.
| delivery_mode | Can the delivery blocks the current thread? |
| target | Destination for signal. |
|
inline |
|
inlinenodiscard |
Schedule periodic timer event.
| subscription_type | Message type for searching subscribers. |
| msg | Message to be sent after timeout. |
| mbox | Mbox to which message will be delivered. |
| pause | Timeout before the first delivery. |
| period | Period of the delivery repetition for periodic messages. |
Definition at line 2400 of file environment.hpp.
|
inline |
Schedule single timer event.
| subscription_type | Message type for searching subscribers. |
| msg | Message to be sent after timeout. |
| mbox | Mbox to which message will be delivered. |
| pause | Timeout before the delivery. |
Definition at line 2438 of file environment.hpp.
|
inlinenodiscard |
A helper function for safe extraction of shared_ptr to coop from coop_handle instance.
Definition at line 202 of file coop_handle.hpp.
|
inlinenodiscardnoexcept |
A helper function for unsafe extraction of shared_ptr to coop from coop_handle instance.
Definition at line 229 of file coop_handle.hpp.