hwsd  1.2.1
Local and remote ZeroConf service discovery for hardware resources.
 All Classes Files Functions Variables Enumerations Enumerator Macros
hwsd::DuplicateFilter Class Reference

Filters all duplicates during discovery. More...

#include <filter.h>

+ Inheritance diagram for hwsd::DuplicateFilter:
+ Collaboration diagram for hwsd::DuplicateFilter:

Public Member Functions

virtual HWSD_API bool operator() (const GPUInfos &current, const GPUInfo &candidate)
 
virtual HWSD_API bool operator() (const NetInfos &current, 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...
 

Detailed Description

Filters all duplicates during discovery.

Definition at line 88 of file filter.h.

Member Function Documentation

virtual HWSD_API bool hwsd::DuplicateFilter::operator() ( const GPUInfos &  current,
const GPUInfo candidate 
)
virtual
Returns
true if the candidate is not in the current vector.
Version
1.0

Reimplemented from hwsd::Filter.


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