|
FastLED 3.10.8
|
#include "fl/task/task.h"#include "fl/stl/limits.h"#include "fl/task/scheduler.h"#include "fl/stl/sstream.h"#include "fl/stl/unique_ptr.h"#include "fl/stl/atomic.h"#include "platforms/coroutine.h"#include "fl/stl/noexcept.h"
Include dependency graph for task.cpp.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | fl::task::Coroutine |
| class | fl::task::CoroutineTask |
| class | fl::task::ITaskImpl |
| class | fl::task::TimeTask |
Namespaces | |
| namespace | fl |
| Base definition for an LED controller. | |
| namespace | fl::task |
| namespace | fl::task::anonymous_namespace{task.cpp.hpp} |
Functions | |
| Handle | fl::task::after_frame () FL_NO_EXCEPT |
| Creates a task that runs after every FastLED frame until canceled. | |
| Handle | fl::task::after_frame (const TracePoint &trace) FL_NO_EXCEPT |
| Creates a traced task that runs after every FastLED frame until canceled. | |
| Handle | fl::task::after_frame (function< void()> on_then) FL_NO_EXCEPT |
| Creates an after-frame task, running until canceled, with its success callback already configured. | |
| Handle | fl::task::after_frame (function< void()> on_then, const TracePoint &trace) FL_NO_EXCEPT |
| Creates a traced after-frame task, running until canceled, with its success callback already configured. | |
| Handle | fl::task::at_framerate (int fps) FL_NO_EXCEPT |
| Creates a task that runs at a fixed frame rate. | |
| Handle | fl::task::at_framerate (int fps, const TracePoint &trace) FL_NO_EXCEPT |
| Creates a traced task that runs at a fixed frame rate. | |
| Handle | fl::task::before_frame () FL_NO_EXCEPT |
| Frame tasks recur: every overload below schedules a task that runs once per FastLED frame and keeps doing so until Handle::cancel() is called on it, so keep the returned handle whenever the task will need to be canceled. | |
| Handle | fl::task::before_frame (const TracePoint &trace) FL_NO_EXCEPT |
| Creates a traced task that runs before every FastLED frame until canceled. | |
| Handle | fl::task::coroutine (const CoroutineConfig &config) FL_NO_EXCEPT |
| Creates and starts an OS-level coroutine task. | |
| Handle | fl::task::every_ms (int interval_ms) FL_NO_EXCEPT |
| Creates a task that runs at a fixed millisecond interval. | |
| Handle | fl::task::every_ms (int interval_ms, const TracePoint &trace) FL_NO_EXCEPT |
| Creates a traced task that runs at a fixed millisecond interval. | |
| void | fl::task::exit_current () FL_NO_EXCEPT |
| Terminates the currently executing coroutine. | |
| string | fl::task::anonymous_namespace{task.cpp.hpp}::make_trace_label (const TracePoint &trace) FL_NO_EXCEPT |
| int | fl::task::anonymous_namespace{task.cpp.hpp}::next_task_id () FL_NO_EXCEPT |