hwsd
2.0.0
Local and remote ZeroConf service discovery for hardware resources
|
Filters for a specific session. More...
#include <filter.h>
Public Member Functions | |
SessionFilter (const std::string &name) | |
Matches the given name literally. More... | |
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. More... | |
virtual | ~Filter () |
Destruct this filter. More... | |
FilterPtr | operator| (FilterPtr rhs) |
Chain another filter to this one. More... | |
FilterPtr | operator|= (FilterPtr rhs) |
Chain another filter to this one. More... | |
|
explicit |
Matches the given name literally.
An empty name matches all sessions.
|
virtual |