|
FastLED 3.9.15
|
Definition at line 114 of file task.cpp.hpp.
#include <task.cpp.hpp>
Inheritance diagram for fl::task::TimeTask:
Collaboration diagram for fl::task::TimeTask:Public Member Functions | |
| TimeTask (TaskType type, int interval_ms, optional< TracePoint > trace=nullopt) | |
| void | auto_register_with_scheduler () override |
| void | execute_catch (const Error &error) override |
| void | execute_then () override |
| bool | has_catch () const override |
| bool | has_then () const override |
| int | id () const override |
| int | interval_ms () const override |
| bool | is_auto_registered () const override |
| bool | is_canceled () const override |
| bool | isRunning () const override |
| u32 | last_run_time () const override |
| bool | ready_to_run (u32 current_time) const override |
| bool | ready_to_run_frame_task (u32) const override |
| void | set_canceled () override |
| void | set_catch (function< void(const Error &)> on_catch) override |
| void | set_id (int id) override |
| void | set_interval_ms (int interval_ms) override |
| void | set_last_run_time (u32 time) override |
| void | set_then (function< void()> on_then) override |
| void | stop () override |
| string | trace_label () const override |
| TaskType | type () const override |
Public Member Functions inherited from fl::task::ITaskImpl | |
| virtual | ~ITaskImpl () FL_NOEXCEPT=default |
Private Attributes | |
| bool | mAutoRegistered = false |
| bool | mCanceled = false |
| function< void(const Error &)> | mCatchCallback |
| bool | mHasCatch = false |
| bool | mHasThen = false |
| int | mIntervalMs |
| u32 | mLastRunTime |
| bool | mRunning = true |
| int | mTaskId |
| function< void()> | mThenCallback |
| unique_ptr< string > | mTraceLabel |
| TaskType | mType |