hwsd  1.2.1
Local and remote ZeroConf service discovery for hardware resources.
 All Classes Files Functions Variables Enumerations Enumerator Macros
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

HWSD_API NetFilter (const lunchbox::Strings &prefixes, const uint32_t type)
 
virtual HWSD_API bool operator() (const hwsd::NetInfos &current, const hwsd::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...
 
virtual HWSD_API 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 HWSD_API 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: