Equalizer
1.2.1
|
The Pipe holds the viewer and the frame data. More...
#include <pipe.h>
Public Member Functions | |
Pipe (eq::Node *parent) | |
Creates a Pipe. | |
const FrameData & | getFrameData () const |
Gets the FrameData object. | |
Protected Member Functions | |
virtual | ~Pipe () |
Destruct the pipe. | |
virtual bool | configInit (const eq::uint128_t &initID) |
Creates the scene graph and registers the frame data, so it can be synced with the server later. | |
virtual bool | configExit () |
Deregisters the frame data. | |
virtual void | frameStart (const eq::uint128_t &frameID, const uint32_t frameNumber) |
Syncs the frame data with the server and calls updateSceneGraph(). |
The Pipe holds the viewer and the frame data.
Each frame, it updates the scene graph of the viewer with the new data of the frame data. The frame data is synced with the server.
Definition at line 53 of file share/Equalizer/examples/osgScaleViewer/pipe.h.
osgScaleViewer::Pipe::Pipe | ( | eq::Node * | parent | ) |
Creates a Pipe.
parent | the pipe's parent. |
Reimplemented from eq::Pipe.
Definition at line 40 of file osgScaleViewer/pipe.cpp.
osgScaleViewer::Pipe::~Pipe | ( | ) | [protected, virtual] |
Destruct the pipe.
Reimplemented from eq::Pipe.
Definition at line 45 of file osgScaleViewer/pipe.cpp.
const FrameData & osgScaleViewer::Pipe::getFrameData | ( | ) | const |
Gets the FrameData object.
Definition at line 49 of file osgScaleViewer/pipe.cpp.
Referenced by osgScaleViewer::Channel::frameDraw(), and osgScaleViewer::Channel::frameViewFinish().