hwsd  1.4.0
Local and remote ZeroConf service discovery for hardware resources
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. More...
 
static void dispose ()
 Unload the dns_sd discovery module for the process. More...
 

Protected Member Functions

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

Additional Inherited Members

- Public Member Functions inherited from hwsd::Module< T >
 Module ()
 Register and construct a new module. More...
 
- 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: