Equalizer 1.0

eq::SystemPipe Class Reference

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

#include <systemPipe.h>

Inheritance diagram for eq::SystemPipe:
Collaboration 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 38 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::AGLPipe, eq::GLXPipe, and eq::WGLPipe.

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

Initialize the GPU.

Version:
1.0

Implemented in eq::AGLPipe, eq::GLXPipe, and eq::WGLPipe.

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

Definition at line 60 of file systemPipe.h.

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

Definition at line 57 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 Sun May 8 2011 19:11:10 for Equalizer 1.0 by  doxygen 1.7.3