SObjectizer  5.7
Classes | Namespaces | Functions
send_functions.hpp File Reference

Implementation of free functions send/send_delayed. More...

#include <so_5/environment.hpp>
#include <so_5/compiler_features.hpp>

Go to the source code of this file.

Classes

struct  so_5::impl::instantiator_and_sender_base< Message, Is_Signal >
 
struct  so_5::impl::instantiator_and_sender_base< Message, true >
 
struct  so_5::impl::instantiator_and_sender< Message >
 

Namespaces

 so_5
 Public part of message limit implementation.
 
 so_5::impl
 Details of SObjectizer run-time implementations.
 
 so_5::send_functions_details
 Implementation details for send-family and request_future/value helper functions.
 

Functions

const so_5::mbox_tso_5::send_functions_details::arg_to_mbox (const so_5::mbox_t &mbox)
 
const so_5::mbox_tso_5::send_functions_details::arg_to_mbox (const so_5::agent_t &agent)
 
so_5::mbox_t so_5::send_functions_details::arg_to_mbox (const so_5::mchain_t &chain)
 
so_5::environment_tso_5::send_functions_details::arg_to_env (const so_5::mbox_t &mbox)
 
so_5::environment_tso_5::send_functions_details::arg_to_env (const so_5::agent_t &agent)
 
so_5::environment_tso_5::send_functions_details::arg_to_env (const so_5::mchain_t &chain)
 
template<typename Message , typename Target , typename... Args>
void so_5::send (Target &&to, Args &&... args)
 A utility function for creating and delivering a message or a signal. More...
 
template<typename Target , typename Message >
std::enable_if< !is_signal< Message >::value >::type so_5::send (Target &&to, mhood_t< Message > what)
 A version of send function for redirection of a message from exising message hood. More...
 
template<typename Target , typename Message >
std::enable_if< is_signal< Message >::value >::type so_5::send (Target &&to, mhood_t< Message >)
 A version of send function for redirection of a signal from exising message hood. More...
 
template<typename Target , typename Message , message_ownership_t Ownership>
void so_5::send (Target &&to, message_holder_t< Message, Ownership > what)
 A version of send function for redirection of a message from exising message_holder instance. More...
 
template<typename Message , typename Target , typename... Args>
void so_5::send_delayed (Target &&target, std::chrono::steady_clock::duration pause, Args &&... args)
 A utility function for creating and delivering a delayed message to the specified destination. More...
 
template<typename Target , typename Message >
std::enable_if< !message_payload_type< Message >::is_signal >::type so_5::send_delayed (Target &&to, std::chrono::steady_clock::duration pause, mhood_t< Message > msg)
 A utility function for delayed redirection of a message from existing message hood. More...
 
template<typename Target , typename Message >
std::enable_if< message_payload_type< Message >::is_signal >::type so_5::send_delayed (Target &&to, std::chrono::steady_clock::duration pause, mhood_t< Message >)
 A utility function for delayed redirection of a signal from existing message hood. More...
 
template<typename Target , typename Message , message_ownership_t Ownership>
void so_5::send_delayed (Target &&to, std::chrono::steady_clock::duration pause, message_holder_t< Message, Ownership > msg)
 A version of send_delayed function for redirection of a message from exising message_holder instance. More...
 
template<typename Message , typename Target , typename... Args>
timer_id_t so_5::send_periodic (Target &&target, std::chrono::steady_clock::duration pause, std::chrono::steady_clock::duration period, Args &&... args)
 A utility function for creating and delivering a periodic message to the specified destination. More...
 
template<typename Target , typename Message >
std::enable_if< !is_signal< Message >::value, timer_id_t >::type so_5::send_periodic (Target &&target, std::chrono::steady_clock::duration pause, std::chrono::steady_clock::duration period, mhood_t< Message > mhood)
 A utility function for delivering a periodic from an existing message hood. More...
 
template<typename Target , typename Message >
std::enable_if< is_signal< Message >::value, timer_id_t >::type so_5::send_periodic (Target &&target, std::chrono::steady_clock::duration pause, std::chrono::steady_clock::duration period, mhood_t< Message >)
 A utility function for periodic redirection of a signal from existing message hood. More...
 
template<typename Target , typename Message , message_ownership_t Ownership>
timer_id_t so_5::send_periodic (Target &&target, std::chrono::steady_clock::duration pause, std::chrono::steady_clock::duration period, message_holder_t< Message, Ownership > what)
 A version of send_periodic function for redirection of a message from exising message_holder instance. More...
 

Detailed Description

Implementation of free functions send/send_delayed.

Since
v.5.5.1