hwsd
1.1.1
|
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) |
HWSD_API hwsd::GPUFilter::GPUFilter | ( | const std::string & | regex | ) |
Matches the GPU agaings the given regex.
An empty regex matches all GPUs.
|
virtual |