pixled-lib  1.0
chrono.h
1 #ifndef PIXLED_TIME_TIME_H
2 #define PIXLED_TIME_TIME_H
3 
4 #include "../function.h"
5 
6 namespace pixled {
10  namespace chrono {
14  class T : public base::Function<time> {
15  public:
16  time operator()(led l, time t) const override {
17  return t;
18  }
19 
20  T* copy() const override {return new T;}
21  };
22  }
23 }
24 #endif
Definition: function.h:33
Definition: chrono.h:14
time operator()(led l, time t) const override
Definition: chrono.h:16
T * copy() const override
Definition: chrono.h:20
Definition: animation.cpp:3
unsigned long time
Definition: time.h:10
Definition: mapping.h:19