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"
37 namespace stageprofi {
39 class StageProfiWidget;
47 const std::vector<std::string> &widget_paths,
48 WidgetCallback *callback);
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;
78 #endif // PLUGINS_STAGEPROFI_STAGEPROFIDETECTOR_H_
Definition: StageProfiDetector.h:41
Definition: TCPSocketFactory.h:46
A BidirectionalFileDescriptor that also generates notifications when closed.
Definition: Descriptor.h:282
Attempts to open a TCP connection until a failure limit is reached.
Definition: AdvancedTCPConnector.h:48
void * timeout_id
A timeout handle which can later be used to cancel a timeout.
Definition: SchedulerInterface.h:34
The interface for the SelectServer.
Definition: SelectServerInterface.h:42
Definition: TCPSocket.h:43
A 2 argument callback which can be called multiple times.
Definition: Callback.h:1895
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44