hwsd  1.3.1
Local and remote ZeroConf service discovery for hardware resources
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 bool operator() (const GPUInfos &current, const GPUInfo &candidate)
 
virtual bool operator() (const NetInfos &current, 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...
 

Detailed Description

Filters all duplicates during discovery.

Definition at line 88 of file filter.h.

Member Function Documentation

virtual 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: