libcppa
Version 0.1
|
#include <local_actor.hpp>
Public Member Functions | |
virtual void | quit (std::uint32_t reason)=0 |
void | enqueue (actor *sender, const any_tuple &msg) |
Base class for local running Actors.
Default implementation of channel::enqueue(const message&).
Calls mailbox().enqueue(msg)
.
Implements cppa::channel.
virtual void cppa::local_actor::quit | ( | std::uint32_t | reason | ) | [pure virtual] |
Finishes execution of this actor.
Cause this actor to send an exit signal to all of its linked actors, sets its state to exited
and throws actor_exited to cleanup the stack.
reason | Exit reason that will be send to linked actors. |
actor_exited |
Implemented in cppa::detail::scheduled_actor, and cppa::detail::converted_thread_context.