18 #ifndef EQFABRIC_GPUINFO_H 19 #define EQFABRIC_GPUINFO_H 21 #include <eq/fabric/pixelViewport.h> 22 #include <eq/fabric/types.h> 34 :
port(LB_UNDEFINED_UINT32)
35 ,
device(LB_UNDEFINED_UINT32)
66 os <<
"hostname " << info.
hostname << std::endl;
67 if (info.
port != LB_UNDEFINED_UINT32)
68 os <<
"port " << info.
port << std::endl;
69 if (info.
device != LB_UNDEFINED_UINT32)
70 os <<
"device " << info.
device << std::endl;
72 os <<
"viewport " << info.
pvp << std::endl;
77 #endif // EQFABRIC_GPUINFO_H PixelViewport pvp
The size and location of the GPU.
uint32_t device
The screen (GLX), GPU (Win32) or virtual screen (AGL).
bool operator==(const GPUInfo &rhs) const
The Equalizer client library.
GPUInfo()
Default constructor pointing to default display.
std::ostream & operator<<(std::ostream &os, const AxisEvent &event)
Print the axis event to the given output stream.
uint32_t port
The display (GLX) or ignored (Win32, AGL).
A structure containing GPU-specific information.
std::string hostname
remote system hostname, empty for local GPUs
Holds a 2D pixel viewport with methods for manipulation.
bool operator!=(const GPUInfo &rhs) const