SObjectizer  5.5
Classes | Functions | Variables
so_5::anonymous_namespace{agent.cpp} Namespace Reference

Classes

struct  working_thread_id_sentinel_t
 A helper class for temporary setting and then dropping the ID of the current working thread. More...
 

Functions

std::string create_anonymous_state_name (const agent_t *agent, const state_t *st)
 
demand_handler_pfn_t 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 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 deadletter_state (nullptr, "<DEADLETTER_STATE>")
 A special object to be used as state for make subscriptions for deadletter handlers. More...
 

Function Documentation

◆ create_anonymous_state_name()

std::string so_5::anonymous_namespace{agent.cpp}::create_anonymous_state_name ( const agent_t agent,
const state_t st 
)
Since
v.5.4.0

◆ select_demand_handler_for_message()

demand_handler_pfn_t so_5::anonymous_namespace{agent.cpp}::select_demand_handler_for_message ( const agent_t agent,
const message_ref_t msg 
)
inline

A helper function to select actual demand handler in dependency of message kind.

Since
v.5.5.23

Variable Documentation

◆ awaiting_deregistration_state

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.

Since
v.5.4.0

This object will be shared between all agents.

◆ deadletter_state

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.

Since
v.5.5.21

This object will be shared between all agents.