Equalizer  1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
eq::fabric::GPUInfo Struct Reference

A structure containing GPU-specific information. More...

#include <gpuInfo.h>

+ Collaboration diagram for eq::fabric::GPUInfo:

Public Member Functions

 GPUInfo ()
 Default constructor pointing to default display. More...
 
bool operator== (const GPUInfo &rhs) const
 
bool operator!= (const GPUInfo &rhs) const
 

Public Attributes

uint32_t port
 The display (GLX) or ignored (Win32, AGL). More...
 
uint32_t device
 The screen (GLX), GPU (Win32) or virtual screen (AGL). More...
 
PixelViewport pvp
 The size and location of the GPU. More...
 
std::string hostname
 remote system hostname, empty for local GPUs
 

Detailed Description

A structure containing GPU-specific information.

Definition at line 30 of file gpuInfo.h.

Constructor & Destructor Documentation

eq::fabric::GPUInfo::GPUInfo ( )
inline

Default constructor pointing to default display.

Definition at line 33 of file gpuInfo.h.

Member Function Documentation

bool eq::fabric::GPUInfo::operator!= ( const GPUInfo rhs) const
inline
Returns
true if both infos are not identical.
Version
1.0

Definition at line 41 of file gpuInfo.h.

References device, port, and pvp.

bool eq::fabric::GPUInfo::operator== ( const GPUInfo rhs) const
inline
Returns
true if both infos are identical.
Version
1.0

Definition at line 37 of file gpuInfo.h.

References device, port, and pvp.

Member Data Documentation

uint32_t eq::fabric::GPUInfo::device

The screen (GLX), GPU (Win32) or virtual screen (AGL).

Definition at line 48 of file gpuInfo.h.

Referenced by operator!=(), and operator==().

uint32_t eq::fabric::GPUInfo::port

The display (GLX) or ignored (Win32, AGL).

Definition at line 45 of file gpuInfo.h.

Referenced by operator!=(), and operator==().

PixelViewport eq::fabric::GPUInfo::pvp

The size and location of the GPU.

Definition at line 51 of file gpuInfo.h.

Referenced by operator!=(), and operator==().


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