Library to control NeoPixel strings of RGB leds
Dependents: NeoPixelI2cSlave NeoPixelI2cSlave
Effects/effects_manager.h@3:7d32f46a38d3, 2016-04-15 (annotated)
- Committer:
- dwini
- Date:
- Fri Apr 15 14:38:13 2016 +0000
- Revision:
- 3:7d32f46a38d3
- Parent:
- 1:f544810b6598
Been to long since i coded this.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dwini | 1:f544810b6598 | 1 | #pragma once |
dwini | 1:f544810b6598 | 2 | |
dwini | 1:f544810b6598 | 3 | #include "effect.h" |
dwini | 1:f544810b6598 | 4 | |
dwini | 1:f544810b6598 | 5 | namespace Effects { |
dwini | 1:f544810b6598 | 6 | |
dwini | 1:f544810b6598 | 7 | class EffectsManager { |
dwini | 1:f544810b6598 | 8 | |
dwini | 1:f544810b6598 | 9 | private: |
dwini | 1:f544810b6598 | 10 | Effect * effect; |
dwini | 1:f544810b6598 | 11 | |
dwini | 1:f544810b6598 | 12 | public: |
dwini | 1:f544810b6598 | 13 | EffectsManager(void); |
dwini | 1:f544810b6598 | 14 | |
dwini | 1:f544810b6598 | 15 | public: |
dwini | 1:f544810b6598 | 16 | void registerEffect(Effect * effect); |
dwini | 1:f544810b6598 | 17 | void unregisterEffect(void); |
dwini | 1:f544810b6598 | 18 | void execute(void); |
dwini | 1:f544810b6598 | 19 | }; |
dwini | 1:f544810b6598 | 20 | |
dwini | 1:f544810b6598 | 21 | }; |