eqNbody::Pipe Class Reference

Inheritance diagram for eqNbody::Pipe:
Inheritance graph
[legend]
Collaboration diagram for eqNbody::Pipe:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Protected Member Functions

virtual ~Pipe ()
 Destructs the pipe.
virtual bool configInit (const uint32_t initID)
 Initialize this pipe.
virtual bool configExit ()
 Exit this pipe.
virtual void frameStart (const uint32_t frameID, const uint32_t frameNumber)
 Start rendering a frame.

Detailed Description

Definition at line 27 of file examples/eqNBody/pipe.h.


Constructor & Destructor Documentation

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

Constructs a new pipe.

Reimplemented from eq::Pipe.

Definition at line 30 of file examples/eqNBody/pipe.h.

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

Destructs the pipe.

Reimplemented from eq::Pipe.

Definition at line 35 of file examples/eqNBody/pipe.h.


Member Function Documentation

bool eqNbody::Pipe::configInit ( const uint32_t  initID  )  [protected, virtual]

Initialize this pipe.

Parameters:
initID the init identifier.

Reimplemented from eq::Pipe.

Definition at line 26 of file examples/eqNBody/pipe.cpp.

References eq::Pipe::configInit(), and eq::net::Session::mapObject().

Here is the call graph for this function:

void eqNbody::Pipe::frameStart ( const uint32_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:
frameID the per-frame identifier.
frameNumber the frame to start.
See also:
Config::beginFrame(), Node::startFrame(), Node::waitFrameStarted()

Reimplemented from eq::Pipe.

Definition at line 52 of file examples/eqNBody/pipe.cpp.

References eq::net::Object::sync().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Feb 6 13:15:17 2010 for Equalizer 0.9.1 by  doxygen 1.6.1