C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::actor_from_state_t< class > Class Template Reference

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
 

Detailed Description

template<class>
class caf::actor_from_state_t< class >

Helper class for automating the creation of an event-based actor with managed state.

Member Typedef Documentation

◆ base_type

template<class >
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<...>.


The documentation for this class was generated from the following files: