Equalizer  1.6.1
Public Member Functions | List of all members
eq::SystemPipe Class Referenceabstract

The interface definition for system-specific GPU handling. More...

#include <systemPipe.h>

+ Inheritance diagram for eq::SystemPipe:
+ Collaboration diagram for eq::SystemPipe:

Public Member Functions

 SystemPipe (Pipe *parent)
 Create a new SstemPipe for the given eq::Pipe. More...
 
virtual ~SystemPipe ()
 Destroy the SystemPipe. More...
 
PipegetPipe ()
 
const PipegetPipe () const
 
eq::fabric::Error getError () const
 
Methods forwarded from eq::Pipe.
virtual bool configInit ()=0
 Initialize the GPU. More...
 
virtual void configExit ()=0
 De-initialize the GPU. More...
 

Protected Member Functions

Error information.
void setError (const uint32_t error)
 Set an error code why the last operation failed. More...
 

Detailed Description

The interface definition for system-specific GPU handling.

The SystemPipe abstracts all OS-system specific code for handling a GPU, which facilitates porting to new windowing systems. Each Pipe uses one SystemPipe, which is initialized in Pipe::configInit. The SystemPipe has to set the pipe's PixelViewport if it is invalid during configInit().

Definition at line 37 of file systemPipe.h.

Constructor & Destructor Documentation

eq::SystemPipe::SystemPipe ( Pipe parent)

Create a new SstemPipe for the given eq::Pipe.

Version
1.0
virtual eq::SystemPipe::~SystemPipe ( )
virtual

Destroy the SystemPipe.

Version
1.0

Member Function Documentation

virtual void eq::SystemPipe::configExit ( )
pure virtual

De-initialize the GPU.

Version
1.0

Implemented in eq::agl::Pipe, eq::glx::Pipe, and eq::wgl::Pipe.

virtual bool eq::SystemPipe::configInit ( )
pure virtual

Initialize the GPU.

Version
1.0

Implemented in eq::agl::Pipe, eq::glx::Pipe, and eq::wgl::Pipe.

eq::fabric::Error eq::SystemPipe::getError ( ) const
Returns
the last error.
Version
1.0
Pipe* eq::SystemPipe::getPipe ( )
inline
Returns
the parent Pipe.
Version
1.0

Definition at line 56 of file systemPipe.h.

const Pipe* eq::SystemPipe::getPipe ( ) const
inline
Returns
the parent Pipe.
Version
1.0

Definition at line 59 of file systemPipe.h.

void eq::SystemPipe::setError ( const uint32_t  error)
protected

Set an error code why the last operation failed.

Parameters
errorthe error code.
Version
1.0

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