Equalizer 1.0

eqPly::Pipe Class Reference

The representation of one GPU. More...

#include <pipe.h>

Inheritance diagram for eqPly::Pipe:
Collaboration diagram for eqPly::Pipe:

List of all members.

Public Member Functions

 Pipe (eq::Node *parent)
 Construct a new pipe.
const FrameDatagetFrameData () const

Protected Member Functions

virtual ~Pipe ()
 Destruct the pipe.
virtual eq::WindowSystem selectWindowSystem () const
 Choose the window system to be used by this pipe.
virtual bool configInit (const eq::uint128_t &initID)
 Initialize this pipe.
virtual bool configExit ()
 De-initialize this pipe.
virtual void frameStart (const eq::uint128_t &frameID, const uint32_t frameNumber)
 Start rendering a frame.

Detailed Description

The representation of one GPU.

The pipe object is responsible for maintaining GPU-specific and frame-specific data. The identifier passed by the configuration contains the version of the frame data corresponding to the rendered frame. The pipe's start frame callback synchronizes the thread-local instance of the frame data to this version.

Definition at line 47 of file share/Equalizer/examples/eqPly/pipe.h.


Constructor & Destructor Documentation

eqPly::Pipe::Pipe ( eq::Node parent) [inline]

Construct a new pipe.

Version:
1.0

Reimplemented from eq::Pipe.

Definition at line 50 of file share/Equalizer/examples/eqPly/pipe.h.

virtual eqPly::Pipe::~Pipe ( ) [inline, protected, virtual]

Destruct the pipe.

Version:
1.0

Reimplemented from eq::Pipe.

Definition at line 55 of file share/Equalizer/examples/eqPly/pipe.h.


Member Function Documentation

bool eqPly::Pipe::configExit ( ) [protected, virtual]

De-initialize this pipe.

Version:
1.0

Reimplemented from eq::Pipe.

Definition at line 72 of file eqPly/pipe.cpp.

References eq::Pipe::getConfig(), and eq::Config::unmapObject().

Here is the call graph for this function:

bool eqPly::Pipe::configInit ( const eq::uint128_t initID) [protected, virtual]

Initialize this pipe.

Parameters:
initIDthe init identifier.
Version:
1.0

Reimplemented from eq::Pipe.

Definition at line 57 of file eqPly/pipe.cpp.

References eq::Pipe::configInit(), eq::Pipe::getConfig(), and eq::Config::mapObject().

Here is the call graph for this function:

void eqPly::Pipe::frameStart ( const eq::uint128_t frameID,
const uint32_t  frameNumber 
) [protected, virtual]

Start rendering a frame.

Called once at the beginning of each frame, to do per-frame updates of pipe-specific data, for example updating the rendering engine. Waits for the node to start the frame, unless the thread model is async. If the thread model is async, the local synchronization is released immediately.

This method has to call startFrame().

Parameters:
frameIDthe per-frame identifier.
frameNumberthe frame to start.
See also:
Config::startFrame(), Node::startFrame(), Node::waitFrameStarted()
Version:
1.0

Reimplemented from eq::Pipe.

Definition at line 80 of file eqPly/pipe.cpp.

References co::Object::sync().

Here is the call graph for this function:

eq::WindowSystem eqPly::Pipe::selectWindowSystem ( ) const [protected, virtual]

Choose the window system to be used by this pipe.

This function determines which of the supported windowing systems is used by this pipe instance.

Returns:
the window system currently used by this pipe.
Version:
1.0

Reimplemented from eq::Pipe.

Definition at line 39 of file eqPly/pipe.cpp.

References EQWARN, eq::Pipe::getConfig(), and eq::Pipe::supportsWindowSystem().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sun May 8 2011 19:11:11 for Equalizer 1.0 by  doxygen 1.7.3