21#ifndef PLUGINS_STAGEPROFI_STAGEPROFIWIDGET_H_
22#define PLUGINS_STAGEPROFI_STAGEPROFIWIDGET_H_
29#include "ola/io/SelectServerInterface.h"
50 const std::string &widget_path,
62 std::string
GetPath()
const {
return m_widget_path; }
67 enum { DMX_MSG_LEN = 255 };
68 enum { DMX_HEADER_SIZE = 4};
71 std::auto_ptr<ola::io::ConnectedDescriptor> m_descriptor;
72 const std::string m_widget_path;
73 DisconnectCallback *m_disconnect_cb;
78 void DiscoveryTimeout();
79 bool Send255(uint16_t start,
const uint8_t *buf,
unsigned int len)
const;
80 void SendQueryPacket();
81 void RunDisconnectHandler();
A class used to hold a single universe of DMX data.
Used to hold a single universe of DMX data.
Definition DmxBuffer.h:49
A 0 arg, single use callback that returns void.
Definition Callback.h:157
A 0 argument callback which deletes itself after it's run.
Definition Callback.h:141
A BidirectionalFileDescriptor that also generates notifications when closed.
Definition Descriptor.h:283
The interface for the SelectServer.
Definition SelectServerInterface.h:42
void * timeout_id
A timeout handle which can later be used to cancel a timeout.
Definition SchedulerInterface.h:34
The namespace containing all OLA symbols.
Definition Credentials.cpp:44