Equalizer  1.4.1
Public Member Functions | Protected Member Functions
eqPixelBench::Channel Class Reference
+ Inheritance diagram for eqPixelBench::Channel:
+ Collaboration diagram for eqPixelBench::Channel:

List of all members.

Public Member Functions

 Channel (eq::Window *parent)
 Construct a new channel.
virtual ~Channel ()
 Destruct the channel.

Protected Member Functions

virtual void frameStart (const eq::uint128_t &frameID, const uint32_t frameNumber)
 Start rendering a frame.
virtual void frameDraw (const eq::uint128_t &frameID)
 Draw the scene.
virtual bool configExit ()
 Exit this channel.
ConfigEvent _createConfigEvent ()

Detailed Description

Definition at line 38 of file share/Equalizer/examples/eqPixelBench/channel.h.


Constructor & Destructor Documentation

Construct a new channel.

Version:
1.0

Reimplemented from eq::Channel.

Definition at line 68 of file eqPixelBench/channel.cpp.

References eq::Channel::getDrawableConfig(), eq::Frame::setFrameData(), and eq::fabric::Frame::TYPE_MEMORY.

+ Here is the call graph for this function:

virtual eqPixelBench::Channel::~Channel ( ) [inline, virtual]

Destruct the channel.

Version:
1.0

Reimplemented from eq::Channel.

Definition at line 42 of file share/Equalizer/examples/eqPixelBench/channel.h.


Member Function Documentation

bool eqPixelBench::Channel::configExit ( ) [protected, virtual]

Exit this channel.

Version:
1.0

Reimplemented from eq::Channel.

Definition at line 78 of file eqPixelBench/channel.cpp.

References eq::Frame::getData(), and eq::FrameData::resetPlugins().

+ Here is the call graph for this function:

void eqPixelBench::Channel::frameDraw ( const eq::uint128_t &  frameID) [protected, virtual]

Draw the scene.

Called 0 to n times during one frame.

Parameters:
frameIDthe per-frame identifier.
Version:
1.0

Reimplemented from eq::Channel.

Definition at line 114 of file eqPixelBench/channel.cpp.

References eq::Channel::applyBuffer(), eq::Channel::applyFrustum(), eq::Channel::applyHeadTransform(), eq::Channel::applyViewport(), eq::Channel::resetAssemblyState(), and eq::Channel::setupAssemblyState().

+ Here is the call graph for this function:

void eqPixelBench::Channel::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 channel-specific data. This method has to call startFrame().

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

Reimplemented from eq::Channel.

Definition at line 84 of file eqPixelBench/channel.cpp.

References eq::ConfigEvent::data, eq::UserEvent::data, eqPixelBench::Config::getClock(), eq::Channel::getConfig(), eq::fabric::Object::getName(), eq::Config::sendEvent(), and eq::Event::user.

+ Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Nov 26 2012 14:41:51 for Equalizer 1.4.1 by  doxygen 1.7.6.1