class executor::delegate
Declaration
class executor::delegate { /* full declaration omitted */ };
Description
Implement this as the owner of an executor to receive callbacks on completed horizons and epochs.
Member Function Overview
- epoch_reached(task_id tid) → virtual void
- horizon_reached(task_id tid) → virtual void
- delegate()
- delegate(const delegate &)
- delegate(delegate &&)
- operator=(const delegate &) → delegate &
- operator=(delegate &&) → delegate &
- ~delegate()
Member Functions
¶virtual void epoch_reached(task_id tid)
virtual void epoch_reached(task_id tid)
Description
Called from the executor thread as soon as an epoch_instruction has finished executing.
Parameters
- task_id tid
¶virtual void horizon_reached(task_id tid)
virtual void horizon_reached(task_id tid)
Description
Called from the executor thread as soon as a horizon_instruction has finished executing.
Parameters
- task_id tid
¶delegate()
delegate()
¶delegate(const delegate&)
delegate(const delegate&)
Parameters
- const delegate&
¶delegate(delegate&&)
delegate(delegate&&)
Parameters
- delegate&&
¶delegate& operator=(const delegate&)
delegate& operator=(const delegate&)
Parameters
- const delegate&
¶delegate& operator=(delegate&&)
delegate& operator=(delegate&&)
Parameters
- delegate&&
¶~delegate()
~delegate()