libcaf
0.17.1
|
Implementation class for spawning composable states directly as actors. More...
#include <composable_behavior_based_actor.hpp>
Public Types | |
using | super = stateful_actor< State, Base > |
using | behavior_type = typename State::behavior_type |
Public Member Functions | |
composable_behavior_based_actor (actor_config &cfg) | |
behavior_type | make_behavior () override |
![]() | |
stateful_actor (actor_config &cfg, Ts &&...xs) | |
void | on_exit () final |
Destroys the state of this actor (no further overriding allowed). | |
const char * | name () const final |
error | save_state (serializer &sink, unsigned int version) override |
error | load_state (deserializer &source, unsigned int version) override |
Additional Inherited Members | |
![]() | |
State & | state |
A reference to the actor's state. | |
State | state_ |
Implementation class for spawning composable states directly as actors.