C++ Actor Framework 1.0.0
|
Helper class for automating the creation of an event-based actor with managed state. More...
#include <actor_from_state.hpp>
Public Types | |
using | behavior_type = decltype(std::declval<State*>()->make_behavior()) |
The behavior type of the actor. | |
using | base_type = detail::actor_base_from_behavior_t<behavior_type> |
Make sure the state provides a valid behavior type. | |
using | handle_type = infer_handle_from_behavior_t<behavior_type> |
The handle type for the actor. | |
Friends | |
class | actor_system |
class | local_actor |
Helper class for automating the creation of an event-based actor with managed state.
using caf::actor_from_state_t< class >::base_type = detail::actor_base_from_behavior_t<behavior_type> |
Make sure the state provides a valid behavior type.
The base class for the actor implementation. Either event_based_actor
or typed_event_based_actor<...>
.