FastLED 3.9.15
Loading...
Searching...
No Matches
fl::task::CoroutineTask Class Reference

Detailed Description

Definition at line 216 of file task.cpp.hpp.

#include <task.cpp.hpp>

+ Inheritance diagram for fl::task::CoroutineTask:
+ Collaboration diagram for fl::task::CoroutineTask:

Public Member Functions

 CoroutineTask (const CoroutineConfig &config)
 
void auto_register_with_scheduler () override
 
void execute_catch (const 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
 
fl::u32 last_run_time () const override
 
bool ready_to_run (fl::u32) const override
 
bool ready_to_run_frame_task (fl::u32) const override
 
void set_canceled () override
 
void set_catch (function< void(const Error &)>) override
 
void set_id (int id) override
 
void set_interval_ms (int) override
 
void set_last_run_time (fl::u32) override
 
void set_then (function< void()>) 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
 
virtual bool ready_to_run (u32 current_time) const =0
 
virtual bool ready_to_run_frame_task (u32 current_time) const =0
 
virtual void set_last_run_time (u32 time)=0
 

Private Attributes

bool mAutoRegistered = false
 
bool mCanceled = false
 
unique_ptr< CoroutinemCoroutine
 
int mTaskId
 
unique_ptr< stringmTraceLabel
 

The documentation for this class was generated from the following file: