4 #ifndef _DMXINTERFACE_H_
5 #define _DMXINTERFACE_H_
9 #include "../lib/libjson/libjson.h"
36 virtual void init() = 0;
47 virtual void sendDMX(
unsigned char* data,
unsigned int universe) = 0;
52 virtual void closeInt() = 0;
59 virtual void reset() = 0;
65 virtual JSONNode toJSON() = 0;
74 virtual string getInterfaceType() = 0;
string m_ifaceName
Name of the DMX interface.
Definition: DMXInterface.h:103
string m_ifaceId
Unique string identifying this particular interface.
Definition: DMXInterface.h:108
string getInterfaceId()
Returns the ID of this DMX interface.
Definition: DMXInterface.h:91
void init(const char *jsonPatchStr, const char *filename)
Initializes data structures.
Definition: Dumiverse.cpp:29
Provides a common interface to various DMX devices.
Definition: DMXInterface.h:24
virtual ~DMXInterface()
Virtual destructor yay.
Definition: DMXInterface.h:28
string getInterfaceName()
Returns the name of this DMX interface.
Definition: DMXInterface.h:84
Contains all core Lumiverse functions and variables.
Definition: Device.cpp:2
void setInterfaceId(string id)
Sets the interface ID.
Definition: DMXInterface.h:97