rotor
Event loop friendly C++ actor micro-framework
 
Loading...
Searching...
No Matches
rotor::actor_config_t Struct Reference

basic actor configuration: init and shutdown timeouts, etc. More...

#include <actor_config.h>

Inheritance diagram for rotor::actor_config_t:
rotor::supervisor_config_t rotor::asio::supervisor_config_asio_t rotor::ev::supervisor_config_ev_t rotor::wx::supervisor_config_wx_t

Public Types

using plugins_constructor_t = std::function< plugin_storage_ptr_t()>
 constructs plugin_storage_ptr_t (type)
 

Public Member Functions

 actor_config_t (supervisor_t *supervisor_)
 constructs actor_config_t from raw supervisor pointer
 

Public Attributes

plugins_constructor_t plugins_constructor
 constructs plugin_storage_ptr_t
 
supervisor_tsupervisor
 raw pointer to supervisor_t
 
pt::time_duration init_timeout
 max actor initialization time
 
pt::time_duration shutdown_timeout
 max actor shutdown time
 
address_ptr_t spawner_address
 address of the spawner
 
bool escalate_failure = false
 shutdown supervisor upon child failure
 
bool autoshutdown_supervisor = false
 shutdown supervisor upon child down
 

Detailed Description

basic actor configuration: init and shutdown timeouts, etc.


The documentation for this struct was generated from the following file: