Library to control NeoPixel strings of RGB leds
Dependents: NeoPixelI2cSlave NeoPixelI2cSlave
Effects/effects_manager.h@1:f544810b6598, 2015-11-23 (annotated)
- Committer:
- dwini
- Date:
- Mon Nov 23 18:50:01 2015 +0000
- Revision:
- 1:f544810b6598
Add effects and effectmanager
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 | }; |