hwsd
1.2.1
Local and remote ZeroConf service discovery for hardware resources.
|
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... | |
|
explicit |
Matches the given name literally.
An empty name matches all sessions.
|
virtual |