SObjectizer  5.5
Classes | Namespaces | Typedefs | Variables
agent_coop.hpp File Reference

Agent cooperation definition. More...

#include <so_5/h/compiler_features.hpp>
#include <so_5/h/declspec.hpp>
#include <so_5/h/exception.hpp>
#include <so_5/h/types.hpp>
#include <so_5/rt/h/nonempty_name.hpp>
#include <so_5/rt/h/agent.hpp>
#include <so_5/rt/h/adhoc_agent_wrapper.hpp>
#include <so_5/rt/h/disp_binder.hpp>
#include <functional>
#include <memory>
#include <mutex>
#include <vector>

Go to the source code of this file.

Classes

class  so_5::coop_dereg_reason_t
 
class  so_5::coop_reg_notificators_container_t
 Container for cooperation registration notificators. More...
 
class  so_5::coop_dereg_notificators_container_t
 Container for cooperation deregistration notificators. More...
 
class  so_5::coop_t
 Agent cooperation. More...
 
struct  so_5::coop_t::agent_with_disp_binder_t
 Information about agent and its dispatcher binding. More...
 
class  so_5::coop_deleter_t
 A custom deleter for cooperation. More...
 

Namespaces

 so_5
 Public part of message limit implementation.
 
 so_5::dereg_reason
 Enumeration of cooperation deregistration reasons.
 
 so_5::rt
 All code related to implementation of SObjectizer run-time.
 
 so_5::rt::dereg_reason
 Enumeration of cooperation deregistration reasons.
 

Typedefs

typedef std::function< void(environment_t &, const std::string &) > so_5::coop_reg_notificator_t
 Type of cooperation registration notificator. More...
 
typedef intrusive_ptr_t< coop_reg_notificators_container_t > so_5::coop_reg_notificators_container_ref_t
 Typedef for smart pointer to notificators_container. More...
 
typedef std::function< void(environment_t &, const std::string &, const coop_dereg_reason_t &) > so_5::coop_dereg_notificator_t
 Type of cooperation deregistration notificator. More...
 
typedef intrusive_ptr_t< coop_dereg_notificators_container_t > so_5::coop_dereg_notificators_container_ref_t
 Typedef for smart pointer to notificators_container. More...
 
typedef std::unique_ptr< coop_t, coop_deleter_t > so_5::coop_unique_ptr_t
 Typedef for the agent_coop autopointer. More...
 
typedef std::shared_ptr< coop_t > so_5::coop_ref_t
 Typedef for the agent_coop smart pointer. More...
 
using so_5::rt::coop_dereg_reason_t = so_5::coop_dereg_reason_t
 
using so_5::rt::coop_reg_notificator_t = so_5::coop_reg_notificator_t
 
using so_5::rt::coop_reg_notificators_container_t = so_5::coop_reg_notificators_container_t
 
using so_5::rt::coop_reg_notificators_container_ref_t = so_5::coop_reg_notificators_container_ref_t
 
using so_5::rt::coop_dereg_notificator_t = so_5::coop_dereg_notificator_t
 
using so_5::rt::coop_dereg_notificators_container_t = so_5::coop_dereg_notificators_container_t
 
using so_5::rt::coop_dereg_notificators_container_ref_t = so_5::coop_dereg_notificators_container_ref_t
 
using so_5::rt::coop_t = so_5::coop_t
 
using so_5::rt::agent_coop_t = so_5::coop_t
 A typedef for compatibility with previous versions. More...
 
using so_5::rt::coop_deleter_t = so_5::coop_deleter_t
 
using so_5::rt::agent_coop_deleter_t = so_5::coop_deleter_t
 A typedef for compatibility with previous versions. More...
 
using so_5::rt::coop_unique_ptr_t = so_5::coop_unique_ptr_t
 
using so_5::rt::agent_coop_unique_ptr_t = coop_unique_ptr_t
 A typedef for compatibility with previous versions. More...
 
using so_5::rt::coop_ref_t = so_5::coop_ref_t
 
using so_5::rt::agent_coop_ref_t = so_5::coop_ref_t
 A typedef for compatibility with previous versions. More...
 

Variables

const int so_5::rt::dereg_reason::normal = so_5::dereg_reason::normal
 
const int so_5::rt::dereg_reason::shutdown = so_5::dereg_reason::shutdown
 
const int so_5::rt::dereg_reason::parent_deregistration = so_5::dereg_reason::parent_deregistration
 
const int so_5::rt::dereg_reason::unhandled_exception = so_5::dereg_reason::unhandled_exception
 
const int so_5::rt::dereg_reason::unknown_error = so_5::dereg_reason::unknown_error
 
const int so_5::rt::dereg_reason::undefined = so_5::dereg_reason::undefined
 
const int so_5::rt::dereg_reason::user_defined_reason = so_5::dereg_reason::user_defined_reason
 
Cooperation deregistration reasons.
const int so_5::dereg_reason::normal = 0
 Normal deregistration. More...
 
const int so_5::dereg_reason::shutdown = 1
 Deregistration because SObjectizer Environment shutdown. More...
 
const int so_5::dereg_reason::parent_deregistration = 2
 Deregistration because parent cooperation deregistration. More...
 
const int so_5::dereg_reason::unhandled_exception = 3
 Deregistration because of unhandled exception. More...
 
const int so_5::dereg_reason::unknown_error = 4
 Deregistration because of unknown error. More...
 
const int so_5::dereg_reason::undefined = -1
 Reason is not properly defined. More...
 
const int so_5::dereg_reason::user_defined_reason = 0x1000
 A starting point for user-defined reasons. More...
 

Detailed Description

Agent cooperation definition.