FastLED 3.9.15
Loading...
Searching...
No Matches
fl::Callback< Args > Class Template Reference

Detailed Description

template<typename ... Args>
class fl::Callback< Args >

Definition at line 13 of file callback.h.

#include <callback.h>

Public Member Functions

 Callback ()=default
 
 Callback (const Callback &)=default
 
 Callback (void *(*callback)(Args... args))
 
 Callback (void *self, void(*callback)(void *self, Args... args))
 
void clear ()
 
 operator bool () const
 
bool operator!= (const Callback &other) const
 
void operator() (Args... args) const
 
bool operator< (const Callback &other) const
 
Callbackoperator= (const Callback &other)
 
Callbackoperator= (void *(*other)(Args... args))
 
Callbackoperator= (void(*other)(void *self, Args... args))
 
bool operator== (const Callback &other) const
 

Private Attributes

void(* callback )(void *self, Args... args) = nullptr
 
void * self = nullptr
 

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