Base type for statically and dynamically typed event-based actors.
More...
#include <abstract_event_based_actor.hpp>
Inherits Base, and caf::statically_typed_actor_base< BehaviorType >.
|
|
using | behavior_type = BehaviorType |
| |
|
|
template<class... Ts> |
| | abstract_event_based_actor (Ts &&...xs) |
| |
|
void | become (behavior_type bhvr) |
| |
|
void | become (const keep_behavior_t &, behavior_type bhvr) |
| |
|
template<class T0 , class T1 , class... Ts> |
| std::enable_if< !std::is_same< keep_behavior_t, typename std::decay< T0 >::type >::value >::type | become (T0 &&x0, T1 &&x1, Ts &&...xs) |
| |
|
template<class T0 , class T1 , class... Ts> |
| void | become (const keep_behavior_t &, T0 &&x0, T1 &&x1, Ts &&...xs) |
| |
|
void | unbecome () |
| |
template<class BehaviorType, bool HasSyncSend, class Base = local_actor>
class caf::abstract_event_based_actor< BehaviorType, HasSyncSend, Base >
Base type for statically and dynamically typed event-based actors.
- Template Parameters
-
| BehaviorType | Denotes the expected type for become(). |
| HasSyncSend | Configures whether this base extends sync_sender. |
| Base | Either local_actor (default) or a subtype thereof. |
The documentation for this class was generated from the following file:
- libcaf_core/caf/abstract_event_based_actor.hpp