Class to control USB Hubs.

#include <HubCtlManager.h>

Public Member Functions

virtual ~HubCtrlManager ()
 Destructor.
 
 HubCtrlManager (const HubCtrlManager &)=delete
 Delete copy constructor.
 
HubCtrlManageroperator= (const HubCtrlManager &)=delete
 Delete assignation constructor.
 
 HubCtrlManager (HubCtrlManager &&)=delete
 Delete copy constructor.
 
HubCtrlManageroperator= (HubCtrlManager &&)=delete
 Delete assignation constructor.
 
boost::system::error_code changePowerState (std::string hub, int port, dpyHubCtrl::portAction state)
 
int findHubs (std::vector< dpyHubCtrl::hubInfo > &hub_info)
 

Static Public Member Functions

static auto & getInstance ()
 

Member Function Documentation

static auto& getInstance ( )
static

Method for getting singleton instance

Returns
HubCtrlManager instance