Rob Dobson / Mbed 2 deprecated SpideyWallWeb

Dependencies:   EthernetInterfacePlusHostname RdWebServer mbed-rtos mbed

Committer:
Bobty
Date:
Tue Aug 18 16:03:29 2015 +0000
Revision:
0:887096209439
Initial - unchanged since 2013

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Bobty 0:887096209439 1 // Led Command Handler
Bobty 0:887096209439 2 #include <list>
Bobty 0:887096209439 3 #include "ledstrip.h"
Bobty 0:887096209439 4 #include "Effect.h"
Bobty 0:887096209439 5
Bobty 0:887096209439 6 class LedCmdHandler
Bobty 0:887096209439 7 {
Bobty 0:887096209439 8 private:
Bobty 0:887096209439 9 std::list<Effect*> effects;
Bobty 0:887096209439 10 ledstrip* pLedStrip;
Bobty 0:887096209439 11 Effect* pCurEffect;
Bobty 0:887096209439 12
Bobty 0:887096209439 13 public:
Bobty 0:887096209439 14 LedCmdHandler(ledstrip* pleds)
Bobty 0:887096209439 15 {
Bobty 0:887096209439 16 pLedStrip = pleds;
Bobty 0:887096209439 17 AddEffects();
Bobty 0:887096209439 18 pCurEffect = NULL;
Bobty 0:887096209439 19 }
Bobty 0:887096209439 20 void AddEffects();
Bobty 0:887096209439 21 void DoCommand(char* cmdStr);
Bobty 0:887096209439 22 void NextGen();
Bobty 0:887096209439 23 void Stop();
Bobty 0:887096209439 24 };