C++ Actor Framework 1.0.0
|
Callback utility class. More...
#include <attachable.hpp>
Inherited by caf::default_attachable, and caf::detail::functor_attachable< F >.
Classes | |
struct | token |
Represents a pointer to a value with its subtype as type ID number. More... | |
Public Member Functions | |
attachable (const attachable &)=delete | |
attachable & | operator= (const attachable &)=delete |
virtual void | actor_exited (const error &fail_state, scheduler *sched) |
Executed if the actor finished execution with given reason . | |
virtual bool | matches (const token &what) |
Returns true if what selects this instance, otherwise false . | |
template<class T > | |
bool | matches (const T &what) |
Returns true if what selects this instance, otherwise false . | |
Public Attributes | |
attachable_ptr | next |
Related Symbols | |
(Note that these are not member symbols.) | |
using | attachable_ptr = std::unique_ptr<attachable> |
Callback utility class.
Executed if the actor finished execution with given reason
.
The default implementation does nothing.
host
can be nullptr