xentara-plugin v2.0.4
The Xentara Plugin Framework
|
An execution context for executing a task. More...
#include <xentara/process/ExecutionContext.hpp>
Public Member Functions | |
virtual | ~ExecutionContext ()=0 |
Virtual destructor. | |
virtual auto | scheduledTime () const noexcept -> std::chrono::system_clock::time_point=0 |
Gets the time the pipeline was scheduled for. | |
virtual auto | executionTime () const noexcept -> std::chrono::system_clock::time_point=0 |
Gets the time the pipeline was executed. | |
virtual auto | counter () const noexcept -> std::uint64_t=0 |
Gets the execution counter of the trigger. | |
An execution context for executing a task.
An object of this class is passed to the callbacks of tasks and provide access to some information about the current execution, like the execution time and execution counter of the pipeline.
|
pure virtualdefault |
Virtual destructor.
|
pure virtualnoexcept |
Gets the execution counter of the trigger.
|
pure virtualnoexcept |
Gets the time the pipeline was executed.
|
pure virtualnoexcept |
Gets the time the pipeline was scheduled for.