| LightHub v4.0.0 Smarthome controller firmware

out_dmx.h
Go to the documentation of this file.
1
2 #pragma once
3 #include "options.h"
4 #ifndef DMX_DISABLE
5
6 #include <abstractout.h>
7 #include <item.h>
8 #include "colorchannel.h"
9
10 class out_dmx : public colorChannel {
11 public:
12
13 out_dmx(Item * _item):colorChannel(_item){};
14 int Setup() override;
15 int Poll(short cause) override;
16 int Stop() override;
17 int Status() override;
18
19 int getChanType() override;
20 // int Ctrl(itemCmd cmd, char* subItem=NULL) override;
21 // int PixelCtrl(itemCmd cmd) override;
22 virtual int PixelCtrl(itemCmd cmd, char* subItem=NULL, bool show=true ) override;
23
24 protected:
25 };
26 #endif
itemCmd
Definition: itemCmd.h:153
out_dmx
Definition: out_dmx.h:10
options.h
out_dmx::Poll
int Poll(short cause) override
Definition: out_dmx.cpp:35
out_dmx::PixelCtrl
virtual int PixelCtrl(itemCmd cmd, char *subItem=NULL, bool show=true) override
Definition: out_dmx.cpp:60
out_dmx::Setup
int Setup() override
Remove?? Now getChanType used instead.
Definition: out_dmx.cpp:14
out_dmx::getChanType
int getChanType() override
Definition: out_dmx.cpp:40
colorChannel
Definition: colorchannel.h:9
out_dmx::Status
int Status() override
Definition: out_dmx.cpp:29
colorchannel.h
Item
Definition: item.h:104
out_dmx::out_dmx
out_dmx(Item *_item)
Definition: out_dmx.h:13
abstractout.h
out_dmx::Stop
int Stop() override
Definition: out_dmx.cpp:22
item.h