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


Public Member Functions | |
| bool | operator() (led l, time t) const override |
Public Member Functions inherited from pixled::Function< LessThan< P1, P2 >, bool, P1, P2 > | |
| Function (Fcts &&... fcts) | |
| const base::Function< typename std::tuple_element< i, decltype(args)>::type::Type > & | arg () const |
| std::tuple_element< i, decltype(args)>::type::Type | call (led l, time t) const |
Additional Inherited Members | |
Public Types inherited from pixled::Function< LessThan< P1, P2 >, bool, P1, P2 > | |
| using | Type = typename base::Function< bool >::Type |
Public Types inherited from pixled::base::Function< R > | |
| typedef R | Type |
Protected Member Functions inherited from pixled::Function< LessThan< P1, P2 >, bool, P1, P2 > | |
| base::Function< bool > * | copy () const override |
Protected Attributes inherited from pixled::Function< LessThan< P1, P2 >, bool, P1, P2 > | |
| std::tuple< const FctWrapper< Args >... > | args |
Less than operator implementation.
| P1 | left operand type |
| P2 | right operand type |
| P1 | left operand |
| P2 | right operand |
| bool | result of the < operator |
|
inlineoverridevirtual |
Computes the value of this Function for led l at time t.
| l | led |
| t | time |
l at time t. Notice that evaluating a function usually requires the recursive evaluation of other Functions (that are actually parameters of this function) until a Constant is reached for example. Implements pixled::base::Function< R >.