SObjectizer  5.7
Classes | Namespaces | Functions | Variables
agent.cpp File Reference
#include <so_5/agent.hpp>
#include <so_5/mbox.hpp>
#include <so_5/enveloped_msg.hpp>
#include <so_5/environment.hpp>
#include <so_5/send_functions.hpp>
#include <so_5/impl/internal_env_iface.hpp>
#include <so_5/impl/coop_private_iface.hpp>
#include <so_5/impl/subscription_storage_iface.hpp>
#include <so_5/impl/process_unhandled_exception.hpp>
#include <so_5/impl/message_limit_internals.hpp>
#include <so_5/impl/delivery_filter_storage.hpp>
#include <so_5/impl/msg_tracing_helpers.hpp>
#include <so_5/impl/enveloped_msg_details.hpp>
#include <so_5/details/abort_on_fatal_error.hpp>
#include <so_5/spinlocks.hpp>
#include <algorithm>
#include <sstream>
#include <cstdlib>

Classes

struct  so_5::anonymous_namespace{agent.cpp}::working_thread_id_sentinel_t
 A helper class for temporary setting and then dropping the ID of the current working thread. More...
 
struct  so_5::state_t::time_limit_t
 
struct  so_5::state_t::time_limit_t::timeout
 
class  so_5::impl::state_switch_guard_t
 

Namespaces

 so_5
 Public part of message limit implementation.
 
 so_5::anonymous_namespace{agent.cpp}
 
 so_5::impl
 Details of SObjectizer run-time implementations.
 

Functions

std::string so_5::anonymous_namespace{agent.cpp}::create_anonymous_state_name (const agent_t *agent, const state_t *st)
 
mbox_t so_5::anonymous_namespace{agent.cpp}::make_direct_mbox_with_respect_to_custom_factory (partially_constructed_agent_ptr_t agent_ptr, const agent_tuning_options_t &tuning_options, mbox_t standard_mbox)
 Helper for creation of the direct mbox for an agent. More...
 
demand_handler_pfn_t so_5::anonymous_namespace{agent.cpp}::select_demand_handler_for_message (const agent_t &agent, const message_ref_t &msg)
 A helper function to select actual demand handler in dependency of message kind. More...
 

Variables

const state_t so_5::anonymous_namespace{agent.cpp}::awaiting_deregistration_state (nullptr, "<AWAITING_DEREGISTRATION_AFTER_UNHANDLED_EXCEPTION>")
 A special object for the state in which agent is awaiting for deregistration after unhandled exception. More...
 
const state_t so_5::anonymous_namespace{agent.cpp}::deadletter_state (nullptr, "<DEADLETTER_STATE>")
 A special object to be used as state for make subscriptions for deadletter handlers. More...