|
libcaf
0.16.3
|
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 |
Public Member Functions inherited from caf::stateful_actor< State, Base > | |
| template<class... Ts> | |
| 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 | |
Public Attributes inherited from caf::stateful_actor< State, Base > | |
| State & | state |
| A reference to the actor's state. | |
| State | state_ |
Implementation class for spawning composable states directly as actors.
1.8.16