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