FastLED 3.9.15
Loading...
Searching...
No Matches

◆ TaskImpl() [2/4]

fl::TaskImpl::TaskImpl ( TaskType type,
int interval_ms,
const fl::TracePoint & trace )
private

Definition at line 30 of file task.cpp.

31 : mType(type),
33 mCanceled(false),
34 mTraceLabel(fl::make_unique<string>(make_trace_label(trace))), // Optional. Put it in the heap.
35 mHasThen(false),
36 mHasCatch(false),
37 mLastRunTime(UINT32_MAX) { // Use UINT32_MAX to indicate "never run"
38}
bool mHasThen
Definition task.h:180
TaskType type() const
Definition task.h:154
unique_ptr< string > mTraceLabel
Definition task.h:179
bool mCanceled
Definition task.h:177
uint32_t mLastRunTime
Definition task.h:182
int mIntervalMs
Definition task.h:176
bool mHasCatch
Definition task.h:181
int interval_ms() const
Definition task.h:155
TaskType mType
Definition task.h:175
fl::string make_trace_label(const fl::TracePoint &trace)
Definition task.cpp:10
fl::enable_if<!fl::is_array< T >::value, unique_ptr< T > >::type make_unique(Args &&... args)
Definition memory.h:42

References interval_ms(), fl::make_unique(), mCanceled, mHasCatch, mHasThen, mIntervalMs, mLastRunTime, mTraceLabel, mType, and type().

+ Here is the call graph for this function: