hwsd
1.2.1
Local and remote ZeroConf service discovery for hardware resources.
|
Filters for a specific GPU regex. More...
#include <filter.h>
Public Member Functions | |
HWSD_API | GPUFilter (const std::string ®ex) |
Matches the GPU agaings the given regex. More... | |
virtual HWSD_API bool | operator() (const hwsd::GPUInfos ¤t, const hwsd::GPUInfo &candidate) |
Public Member Functions inherited from hwsd::Filter | |
HWSD_API | Filter () |
Create a new filter. More... | |
virtual HWSD_API | ~Filter () |
Destruct this filter. More... | |
HWSD_API FilterPtr | operator| (FilterPtr rhs) |
Chain another filter to this one. More... | |
HWSD_API FilterPtr | operator|= (FilterPtr rhs) |
Chain another filter to this one. More... | |
virtual HWSD_API bool | operator() (const NetInfos ¤t, const NetInfo &candidate) |
|
explicit |
Matches the GPU agaings the given regex.
An empty regex matches all GPUs.
|
virtual |