dmxprogram.h 451 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef DMXPROGRAM_H
#define DMXPROGRAM_H

#include "programm.hpp"

namespace Modules {

class DMXProgram : public BrightnessProgramm
{
    time_diff_t time;
public:
    DMXProgram();
    virtual const char* getName()const override{return "DMXProgramm";}
    virtual void start()override{time = 0;}
    virtual ProgrammState doStep(time_diff_t)override;
    virtual int getProgrammLengthInMS()override {return INFINITE;}
};

}

#endif // DMXPROGRAM_H