48 #ifndef _MIRA_SERVICESELECTORBOX_H_ 49 #define _MIRA_SERVICESELECTORBOX_H_ 74 setInterfaces({interface});
80 mInterfaces = interfaces;
89 mPreferedService = service;
100 void updateServices();
108 std::string getSelectedService();
111 void selected(std::string service);
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:78
void preferInitially(const std::string &service)
Set a specific service to select automatically when it is discovered for the first time...
Definition: ServiceSelectorBox.h:87
std::vector< std::string > mServices
Definition: ServiceSelectorBox.h:118
std::vector< std::string > mInterfaces
Definition: ServiceSelectorBox.h:117
This is a combobox with a method to populate it with names of services providing one of a set of spec...
Definition: ServiceSelectorBox.h:64
std::string mPreferedService
Definition: ServiceSelectorBox.h:119
void selected(int index)
Definition: ServiceSelectorBox.h:114
void setInterface(const std::string &interface)
Set an interface to find services for.
Definition: ServiceSelectorBox.h:72