Callback utility class.
More...
#include <attachable.hpp>
Inherited by caf::default_attachable, caf::detail::functor_attachable< F, Args >, caf::detail::functor_attachable< F, 0 >, caf::detail::functor_attachable< F, 2 >, and caf::stream_aborter.
|
| struct | token |
| | Represents a pointer to a value with its subtype as type ID number. More...
|
| |
|
|
| attachable (const attachable &)=delete |
| |
|
attachable & | operator= (const attachable &)=delete |
| |
| virtual void | actor_exited (const error &fail_state, execution_unit *host) |
| | Executed if the actor finished execution with given reason. More...
|
| |
|
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.
|
| |
◆ actor_exited()
Executed if the actor finished execution with given reason.
The default implementation does nothing.
- Warning
host can be nullptr
◆ attachable_ptr
The documentation for this class was generated from the following file:
- /build/actor-framework-0.17.6/libcaf_core/caf/attachable.hpp