hwsd  1.4.0
Local and remote ZeroConf service discovery for hardware resources
hwsd::NetFilter Class Reference

Filter for network interfaces matching prefixes and/or type. More...

#include <filter.h>

+ Inheritance diagram for hwsd::NetFilter:
+ Collaboration diagram for hwsd::NetFilter:

Public Member Functions

 NetFilter (const lunchbox::Strings &prefixes, const uint32_t type)
 
virtual bool operator() (const hwsd::NetInfos &current, const hwsd::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...
 
virtual bool operator() (const GPUInfos &current, const GPUInfo &candidate)
 Call all chained operators. More...
 

Detailed Description

Filter for network interfaces matching prefixes and/or type.

Definition at line 159 of file filter.h.

Member Function Documentation

virtual bool hwsd::NetFilter::operator() ( const hwsd::NetInfos &  current,
const hwsd::NetInfo candidate 
)
virtual
Returns
true if matching prefix and type
Version
1.0

Reimplemented from hwsd::Filter.


The documentation for this class was generated from the following file: