C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::actor_system_module Class Referenceabstract

An (optional) component of the actor system. More...

#include <actor_system_module.hpp>

Inheritance diagram for caf::actor_system_module:
caf::actor_system::networking_module caf::net::middleman caf::io::middleman

Public Types

enum  id_t {
  middleman ,
  openssl_manager ,
  network_manager ,
  num_ids
}
 

Public Member Functions

const char * name () const noexcept
 Returns the human-readable 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.
 
virtual id_t id () const =0
 Returns the identifier of this module.
 
virtual void * subtype_ptr ()=0
 Returns a pointer to the subtype.
 

Detailed Description

An (optional) component of the actor system.

Member Function Documentation

◆ id()

virtual id_t caf::actor_system_module::id ( ) const
pure virtual

Returns the identifier of this module.

Implemented in caf::io::middleman, and caf::net::middleman.

◆ init()

virtual void caf::actor_system_module::init ( actor_system_config & )
pure virtual

Allows the module to change the configuration of the actor system during startup.

Implemented in caf::io::middleman, and caf::net::middleman.

◆ start()

virtual void caf::actor_system_module::start ( )
pure virtual

Starts any background threads needed by the module.

Implemented in caf::io::middleman, and caf::net::middleman.

◆ stop()

virtual void caf::actor_system_module::stop ( )
pure virtual

Stops all background threads of the module.

Implemented in caf::io::middleman, and caf::net::middleman.

◆ subtype_ptr()

virtual void * caf::actor_system_module::subtype_ptr ( )
pure virtual

Returns a pointer to the subtype.

Implemented in caf::io::middleman, and caf::net::middleman.


The documentation for this class was generated from the following files: