39 virtual void update(set<Device *> devices) = 0;
47 virtual void init() = 0;
52 virtual void close() = 0;
63 virtual JSONNode toJSON() = 0;
73 virtual string getType() = 0;
80 virtual void deleteDevice(
string id) = 0;
Represents a physical lighting Device in Lumiverse.
void close()
Close the connection to node.
Definition: Dumiverse.cpp:37
void init(const char *jsonPatchStr, const char *filename)
Initializes data structures.
Definition: Dumiverse.cpp:29
A Patch maps devices to output channels and handles the output of data to the network.
Definition: Patch.h:24
virtual ~Patch()
Virtual destructor.
Definition: Patch.h:28
Contains all core Lumiverse functions and variables.
Definition: Device.cpp:2