A cooperatively scheduled, event-based actor implementation with static type-checking.
More...
#include <typed_event_based_actor.hpp>
|
using | super |
|
using | trait = statically_typed<T1, T2, Ts...> |
|
using | signatures = typename trait::signatures |
|
using | behavior_type = typed_behavior<T1, T2, Ts...> |
|
using | actor_hdl = typed_actor<T1, T2, Ts...> |
|
|
std::set< std::string > | message_types () const override |
|
void | initialize () override |
|
template<class... Args> |
auto | mail (Args &&... args) |
|
template<class Arg , class... Args> |
void | become (Arg &&arg, Args &&... args) |
|
void | unbecome () |
|
|
virtual behavior_type | make_behavior () |
|
template<class T1, class T2, class... Ts>
class caf::typed_event_based_actor< T1, T2, Ts... >
A cooperatively scheduled, event-based actor implementation with static type-checking.
actor
- Note
- This is a specialization for backwards compatibility with pre v1.0 releases. Please use the trait based implementation.
◆ super
template<class T1 , class T2 , class... Ts>
using caf::typed_event_based_actor< T1, T2, Ts... >::super |
Initial value:
typename extend<scheduled_actor, typed_event_based_actor<T1, T2, Ts...>>::
template with<mixin::sender, mixin::requester>
◆ become()
template<class T1 , class T2 , class... Ts>
template<class Arg , class... Args>
void caf::typed_event_based_actor< T1, T2, Ts... >::become |
( |
Arg && | arg, |
|
|
Args &&... | args ) |
◆ unbecome()
template<class T1 , class T2 , class... Ts>
void caf::typed_event_based_actor< T1, T2, Ts... >::unbecome |
( |
| ) |
|
The documentation for this class was generated from the following file:
- libcaf_core/caf/typed_event_based_actor.hpp