hwsd  1.2.1
Local and remote ZeroConf service discovery for hardware resources.
 All Classes Files Functions Variables Enumerations Enumerator Macros
hwsd::gpu::glx::Module Class Reference

The GLX implementation for local GPU discovery. More...

#include <module.h>

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

Static Public Member Functions

static HWSD_API void use ()
 Instantiate an GLX discovery module for the process. More...
 
static HWSD_API void dispose ()
 Unload the GLX discovery module for the process. More...
 

Protected Member Functions

virtual GPUInfos discover () const
 

Additional Inherited Members

- Public Member Functions inherited from hwsd::Module< T >
 Module ()
 Register and construct a new module. More...
 
virtual bool announce (const std::string &session) const
 Announce the information about all found resources. 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 GLX implementation for local GPU discovery.

The GLX module tries to open X server :0 to :9. For each server which can be opened, all available screens on the server are added as a separate GPUInfo.

Definition at line 38 of file gpu/glx/module.h.

Member Function Documentation

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

Implements hwsd::Module< T >.

static HWSD_API void hwsd::gpu::glx::Module::dispose ( )
static

Unload the GLX discovery module for the process.

static HWSD_API void hwsd::gpu::glx::Module::use ( )
static

Instantiate an GLX discovery module for the process.


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