C++ Actor Framework 1.0.0
|
Internal interface of action
.
More...
#include <action.hpp>
Public Member Functions | |
virtual state | current_state () const noexcept=0 |
subtype_t | subtype () const noexcept final |
Returns a subtype hint for this object. | |
void | ref_resumable () const noexcept final |
Add a strong reference count to this object. | |
void | deref_resumable () const noexcept final |
Remove a strong reference count from this object. | |
Public Member Functions inherited from caf::disposable::impl | |
virtual void | dispose ()=0 |
virtual bool | disposed () const noexcept=0 |
disposable | as_disposable () noexcept |
virtual void | ref_disposable () const noexcept=0 |
virtual void | deref_disposable () const noexcept=0 |
Public Member Functions inherited from caf::resumable | |
virtual resume_result | resume (scheduler *, size_t max_throughput)=0 |
Resume any pending computation until it is either finished or needs to be re-scheduled later. | |
Additional Inherited Members | |
Public Types inherited from caf::resumable | |
enum | resume_result { resume_later , awaiting_message , done , shutdown_execution_unit } |
Denotes the state in which a resumable returned from its last call to resume . | |
enum | subtype_t { unspecified , scheduled_actor , io_actor , function_object } |
Denotes common subtypes of resumable . More... | |
Internal interface of action
.
|
finalvirtualnoexcept |
Remove a strong reference count from this object.
Implements caf::resumable.
|
finalvirtualnoexcept |
Add a strong reference count to this object.
Implements caf::resumable.
|
finalvirtualnoexcept |
Returns a subtype hint for this object.
This allows an execution unit to limit processing to a specific set of resumables and delegate other subtypes to dedicated workers.
Reimplemented from caf::resumable.