DeviceManager
The central device manager is used to povenrate all the connected StreamDock devices. This type of instance must be created to detect and use the StreamDock device.
Create a new StreamDock DeviceManager to detect the connected StreamDock device.
DeviceManager *manager = new DeviceManager();
enumerate()
Detect the connected StreamDock device.
Returns a List that contains all connected streamdock devices.
map<char *,streamDock *> StreamDocks = manager->enumerate();
listen()
Surveillance whether there is a new device connection or a device disconnected
std::thread t(&DeviceManager::listen, manager);