SObjectizer 5.8
Loading...
Searching...
No Matches
coop.hpp File Reference

Cooperation of agents. More...

#include <so_5/compiler_features.hpp>
#include <so_5/declspec.hpp>
#include <so_5/exception.hpp>
#include <so_5/types.hpp>
#include <so_5/coop_handle.hpp>
#include <so_5/agent.hpp>
#include <so_5/disp_binder.hpp>
#include <functional>
#include <memory>
#include <mutex>
#include <vector>
#include <string>
#include <type_traits>

Go to the source code of this file.

Classes

class  so_5::coop_dereg_reason_t
 It's a kind of strong typedef for coop's deregistration reason. More...
 
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::impl::coop_impl_t
 An internal class with real implementation of coop's logic. More...
 
class  so_5::coop_t
 Agent cooperation. More...
 
struct  so_5::coop_t::resource_deleter_t
 Type of user resource deleter. More...
 
class  so_5::coop_unique_holder_t
 A special type that plays role of unique_ptr for coop. More...
 

Namespaces

namespace  so_5
 Private part of message limit implementation.
 
namespace  so_5::dereg_reason
 Enumeration of cooperation deregistration reasons.
 
namespace  so_5::impl
 Details of SObjectizer run-time implementations.
 

Typedefs

using so_5::coop_reg_notificator_t
 Type of cooperation registration notificator.
 
using so_5::coop_reg_notificators_container_ref_t
 Typedef for smart pointer to notificators_container.
 
using so_5::coop_dereg_notificator_t
 Type of cooperation deregistration notificator.
 
using so_5::coop_dereg_notificators_container_ref_t
 Typedef for smart pointer to notificators_container.
 

Variables

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

Detailed Description

Cooperation of agents.

Since
v.5.6.0

Definition in file coop.hpp.