C++ Actor Framework 0.19
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | List of all members
caf::event_based_actor Class Reference

A cooperatively scheduled, event-based actor implementation. More...

#include <event_based_actor.hpp>

Inheritance diagram for caf::event_based_actor:
caf::dynamically_typed_actor_base

Public Types

using signatures = none_t
 Required by spawn for type deduction.
 
using behavior_type = behavior
 Required by spawn for type deduction.
 
using handle_type = actor
 

Public Member Functions

 event_based_actor (actor_config &cfg)
 
void initialize () override
 

Protected Member Functions

virtual behavior make_behavior ()
 Returns the initial actor behavior.
 

Detailed Description

A cooperatively scheduled, event-based actor implementation.

This is the recommended base class for user-defined actors.

Examples
dancing_kirby.cpp, dining_philosophers.cpp, and hello_world.cpp.

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