hwsd
1.1.1
|
Filters for a specific session. More...
#include <filter.h>
Public Member Functions | |
HWSD_API | SessionFilter (const std::string &name) |
Matches the given name literally. More... | |
virtual HWSD_API bool | operator() (const GPUInfos ¤t, const GPUInfo &candidate) |
virtual HWSD_API bool | operator() (const NetInfos ¤t, const NetInfo &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... | |
HWSD_API hwsd::SessionFilter::SessionFilter | ( | const std::string & | name | ) |
Matches the given name literally.
An empty name matches all sessions.
|
virtual |