48 #ifndef _MIRA_SERVICESELECTORBOX_H_ 49 #define _MIRA_SERVICESELECTORBOX_H_ std::string mPreferredService
Definition: ServiceSelectorBox.h:134
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
void setInterfaces(const std::vector< std::string > &interfaces)
Set multiple interfaces to find (union of) services for.
Definition: ServiceSelectorBox.h:76
void preferInitially(const std::string &service)
Set a specific service to select automatically when it is discovered for the first time...
Definition: ServiceSelectorBox.h:85
std::vector< std::string > mServices
Definition: ServiceSelectorBox.h:133
bool mAutoHide
Definition: ServiceSelectorBox.h:136
std::vector< std::string > mInterfaces
Definition: ServiceSelectorBox.h:132
void selected(std::string service)
This is a combobox with a method to populate it with names of services providing one of a set of spec...
Definition: ServiceSelectorBox.h:62
void selected(int index)
Definition: ServiceSelectorBox.h:129
bool updateServices(bool localFirst=true)
Query available services for the selected interface and update the combobox.
void setAutoHide(bool hide)
By default, the widget automatically hides and stays hidden unless there is more than one service pro...
std::string getSelectedService()
Get the name of the selected service.
ServiceSelectorBox(QWidget *parent=nullptr)
void setInterface(const std::string &interface)
Set an interface to find services for.
Definition: ServiceSelectorBox.h:70