libcaf  0.13.2
Public Member Functions | Protected Types | Protected Member Functions | List of all members
caf::sb_actor< Derived, Base > Class Template Reference

A base class for state-based actors using the Curiously Recurring Template Pattern to initialize the derived actor with its init_state member. More...

#include <sb_actor.hpp>

Inherits Base.

Public Member Functions

behavior make_behavior () override
 Overrides event_based_actor::make_behavior() and sets the initial actor behavior to `Derived::init_state.
 

Protected Types

using combined_type = sb_actor
 

Protected Member Functions

template<class... Ts>
 sb_actor (Ts &&...xs)
 

Detailed Description

template<class Derived, class Base = event_based_actor>
class caf::sb_actor< Derived, Base >

A base class for state-based actors using the Curiously Recurring Template Pattern to initialize the derived actor with its init_state member.


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