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