hwsd  1.1.1
 All Classes Files Functions Variables Enumerations Enumerator Pages
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

HWSD_API SessionFilter (const std::string &name)
 Matches the given name literally. More...
 
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 for a specific session.

Definition at line 120 of file filter.h.

Constructor & Destructor Documentation

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

Matches the given name literally.

An empty name matches all sessions.

Member Function Documentation

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