|
pixled-lib
1.0
|
#include <function.h>


Public Member Functions | |
| Constant (const T &value) | |
| T | operator() (led, time) const override |
| Constant< T > * | copy () const override |
Additional Inherited Members | |
Public Types inherited from pixled::base::Function< T > | |
| typedef T | Type |
A base::Function that returns a constant value on any point at any time.
| T | type of the Constant |
|
inline |
Constant constructor.
Initializes the constant with the specified value.
|
inlineoverridevirtual |
Returns the value specified in the constructor, on any point at any time.
Implements pixled::base::Function< T >.
|
inlineoverridevirtual |
Returns a dynamically copy of this Constant, with the same value.
Implements pixled::base::Function< T >.