C++ Actor Framework
0.18
|
An (optional) component of the actor system. More...
#include <actor_system.hpp>
Public Types | |
enum | id_t { scheduler, middleman, openssl_manager, network_manager, num_ids } |
Public Member Functions | |
const char * | name () const noexcept |
Returns the human-redable name of the module. | |
virtual void | start ()=0 |
Starts any background threads needed by the module. | |
virtual void | stop ()=0 |
Stops all background threads of the module. | |
virtual void | init (actor_system_config &)=0 |
Allows the module to change the configuration of the actor system during startup. More... | |
virtual id_t | id () const =0 |
Returns the identifier of this module. | |
virtual void * | subtype_ptr ()=0 |
Returns a pointer to the subtype. | |
An (optional) component of the actor system.
|
pure virtual |
Allows the module to change the configuration of the actor system during startup.
Implemented in caf::io::middleman, caf::scheduler::profiled_coordinator< Policy >, and caf::scheduler::abstract_coordinator.