21#ifndef PLUGINS_STAGEPROFI_STAGEPROFIDETECTOR_H_
22#define PLUGINS_STAGEPROFI_STAGEPROFIDETECTOR_H_
30#include "ola/io/SelectServerInterface.h"
32#include "ola/network/AdvancedTCPConnector.h"
33#include "ola/util/Backoff.h"
39class StageProfiWidget;
47 const std::vector<std::string> &widget_paths,
54 void ReleaseWidget(
const std::string &widget_path);
57 typedef std::map<std::string, ola::io::ConnectedDescriptor*> DescriptorMap;
60 std::auto_ptr<WidgetCallback> m_callback;
62 DescriptorMap m_usb_widgets;
63 DescriptorMap m_tcp_widgets;
A 2 argument callback which can be called multiple times.
Definition Callback.h:1895
A BidirectionalFileDescriptor that also generates notifications when closed.
Definition Descriptor.h:283
The interface for the SelectServer.
Definition SelectServerInterface.h:42
Attempts to open a TCP connection until a failure limit is reached.
Definition AdvancedTCPConnector.h:48
Definition TCPSocketFactory.h:46
Definition TCPSocket.h:43
Definition StageProfiDetector.h:41
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