HW-SD  1.0.0
Static Public Member Functions | Protected Member Functions | List of all members
hwsd::gpu::dns_sd::Module Class Reference

The DNS_SD implementation for remote GPU discovery. More...

#include <module.h>

+ Inheritance diagram for hwsd::gpu::dns_sd::Module:
+ Collaboration diagram for hwsd::gpu::dns_sd::Module:

Static Public Member Functions

static void use ()
 Instantiate the dns_sd discovery module for the process.
static void dispose ()
 Unload the dns_sd discovery module for the process.

Protected Member Functions

virtual bool announce (const std::string &session) const
 Announce the information about all found resources.
virtual GPUInfos discover () const

Additional Inherited Members

- Public Member Functions inherited from hwsd::Module< T >
 Module ()
 Register and construct a new module.
virtual ~Module ()
 Destruct this module.
- Public Attributes inherited from hwsd::Module< T >
Module< T > * next_
- Static Public Attributes inherited from hwsd::Module< T >
static HWSD_INL Module< T > * stack_

Detailed Description

The DNS_SD implementation for remote GPU discovery.

Definition at line 34 of file gpu/dns_sd/module.h.

Member Function Documentation

virtual bool hwsd::gpu::dns_sd::Module::announce ( const std::string &  session) const
protectedvirtual

Announce the information about all found resources.

The default announcement goes to std::cout.

Returns
true if announcement was successful
Version
1.0

Reimplemented from hwsd::Module< T >.

virtual GPUInfos hwsd::gpu::dns_sd::Module::discover ( ) const
protectedvirtual
Returns
information about all found resources.
Version
1.0

Implements hwsd::Module< T >.

static void hwsd::gpu::dns_sd::Module::dispose ( )
static

Unload the dns_sd discovery module for the process.

static void hwsd::gpu::dns_sd::Module::use ( )
static

Instantiate the dns_sd discovery module for the process.


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