HW-SD  1.0.0
Public Member Functions | List of all members
hwsd::SessionFilter Class Reference

Filters for a specific session. More...

#include <filter.h>

+ Inheritance diagram for hwsd::SessionFilter:
+ Collaboration diagram for hwsd::SessionFilter:

Public Member Functions

 SessionFilter (const std::string &name)
 Matches the given name literally.
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.
virtual ~Filter ()
 Destruct this filter.
FilterPtr operator| (FilterPtr rhs)
 Chain another filter to this one.
FilterPtr operator|= (FilterPtr rhs)
 Chain another filter to this one.

Detailed Description

Filters for a specific session.

Definition at line 120 of file filter.h.

Constructor & Destructor Documentation

hwsd::SessionFilter::SessionFilter ( const std::string &  name)

Matches the given name literally.

An empty name matches all sessions.

Member Function Documentation

virtual bool hwsd::SessionFilter::operator() ( const GPUInfos current,
const GPUInfo candidate 
)
virtual
Returns
true if the candidate has the given session.
Version
1.0

Reimplemented from hwsd::Filter.


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