Equalizer  1.2.1
Public Member Functions
eq::SystemPipe Class Reference

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

#include <systemPipe.h>

+ Inheritance diagram for eq::SystemPipe:

List of all members.

Public Member Functions

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

Protected Member Functions

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

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

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.

Returns:
the last error.
Version:
1.0
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:
Generated on Fri Jun 8 2012 15:44:35 for Equalizer 1.2.1 by  doxygen 1.8.0