FastLED 3.10.10
Loading...
Searching...
No Matches
engine_worker_defaults.h File Reference
+ Include dependency graph for engine_worker_defaults.h:

Go to the source code of this file.

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::detail
 Compile-time linker keep-alive hook for a single fl::Bus.
 

Macros

#define FL_ENGINE_WORKER_CORE   -1
 
#define FL_ENGINE_WORKER_PRIORITY   0
 

Typedefs

using fl::detail::EngineWorkerCoreType = fl::decay_t<decltype(FL_ENGINE_WORKER_CORE)>
 
using fl::detail::EngineWorkerPriorityType = fl::decay_t<decltype(FL_ENGINE_WORKER_PRIORITY)>
 

Functions

 fl::detail::FL_STATIC_ASSERT ((fl::is_integral< EngineWorkerCoreType >::value||fl::is_same< EngineWorkerCoreType, Core >::value), "FL_ENGINE_WORKER_CORE must be a valid fl::Core policy")
 
 fl::detail::FL_STATIC_ASSERT ((fl::is_integral< EngineWorkerPriorityType >::value||fl::is_same< EngineWorkerPriorityType, Priority >::value), "FL_ENGINE_WORKER_PRIORITY must be a valid fl::Priority policy")
 
 fl::detail::FL_STATIC_ASSERT ((fl::is_signed< EngineWorkerCoreType >::value||fl::is_same< EngineWorkerCoreType, Core >::value||static_cast< fl::u64 >(FL_ENGINE_WORKER_CORE)<=1) &&static_cast< fl::i64 >(FL_ENGINE_WORKER_CORE) >=-3 &&static_cast< fl::i64 >(FL_ENGINE_WORKER_CORE)<=1, "FL_ENGINE_WORKER_CORE must be a valid fl::Core policy")
 
 fl::detail::FL_STATIC_ASSERT (static_cast< fl::i64 >(FL_ENGINE_WORKER_PRIORITY) >=0 &&static_cast< fl::i64 >(FL_ENGINE_WORKER_PRIORITY)<=3, "FL_ENGINE_WORKER_PRIORITY must be a valid fl::Priority policy")
 

Variables

constexpr Core fl::detail::kEngineWorkerDefaultCore = static_cast<Core>(FL_ENGINE_WORKER_CORE)
 
constexpr Priority fl::detail::kEngineWorkerDefaultPriority = static_cast<Priority>(FL_ENGINE_WORKER_PRIORITY)