pixled-lib  1.0
Public Member Functions | List of all members
pixled::geometry::I Class Reference

#include <geometry.h>

Inheritance diagram for pixled::geometry::I:
Inheritance graph
[legend]
Collaboration diagram for pixled::geometry::I:
Collaboration graph
[legend]

Public Member Functions

index_t operator() (led l, time t) const override
 
Icopy () const override
 

Additional Inherited Members

- Public Types inherited from pixled::base::Function< index_t >
typedef index_t Type
 

Detailed Description

Index of the led on which the Function is currently evaluated.

Return values
currentled index
Examples
pixled/geometry/index.cpp.

Member Function Documentation

◆ operator()()

index_t pixled::geometry::I::operator() ( led  l,
time  t 
) const
inlineoverridevirtual

Computes the value of this Function for led l at time t.

Parameters
lled
ttime
Returns
Result of this Function, evaluated on led 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< index_t >.

◆ copy()

I* pixled::geometry::I::copy ( ) const
inlineoverridevirtual

Returns a dynamically allocated copy of this function.

Returns
copy of this function

Implements pixled::base::Function< index_t >.


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