Equalizer  1.4.1
Public Member Functions
eq::NodeFactory Class Reference

The node factory is a per-node singleton used to create and release Equalizer resource instances. More...

#include <nodeFactory.h>

+ Inheritance diagram for eq::NodeFactory:

List of all members.

Public Member Functions

virtual Config * createConfig (ServerPtr parent)
 Create a new config.
virtual void releaseConfig (Config *config)
 Release a config.
virtual Node * createNode (Config *parent)
 Create a new node.
virtual void releaseNode (Node *node)
 Release a node.
virtual Pipe * createPipe (Node *parent)
 Create a new pipe.
virtual void releasePipe (Pipe *pipe)
 Release a pipe.
virtual Window * createWindow (Pipe *parent)
 Create a new window.
virtual void releaseWindow (Window *window)
 Release a window.
virtual Channel * createChannel (Window *parent)
 Create a new channel.
virtual void releaseChannel (Channel *channel)
 Release a channel.
virtual Observer * createObserver (Config *parent)
 Create a new observer.
virtual void releaseObserver (Observer *observer)
 Release a observer.
virtual Layout * createLayout (Config *parent)
 Create a new layout.
virtual void releaseLayout (Layout *layout)
 Release a layout.
virtual View * createView (Layout *parent)
 Create a new view.
virtual void releaseView (View *view)
 Release a view.
virtual Canvas * createCanvas (Config *parent)
 Create a new canvas.
virtual void releaseCanvas (Canvas *canvas)
 Release a canvas.
virtual Segment * createSegment (Canvas *parent)
 Create a new segment.
virtual void releaseSegment (Segment *segment)
 Release a segment.
virtual ~NodeFactory ()
 Destruct this node factory.

Detailed Description

The node factory is a per-node singleton used to create and release Equalizer resource instances.

The instances have to be subclasses of the corresponding Equalizer classes, and are used to selectively override task methods and store additional, application-specific data.

See also:
eq::init()

Definition at line 36 of file include/eq/client/nodeFactory.h.


Constructor & Destructor Documentation

virtual eq::NodeFactory::~NodeFactory ( ) [inline, virtual]

Destruct this node factory.

Version:
1.0

Definition at line 150 of file include/eq/client/nodeFactory.h.


Member Function Documentation

virtual Canvas* eq::NodeFactory::createCanvas ( Config *  parent) [virtual]

Create a new canvas.

Returns:
the canvas.
Version:
1.0
virtual Channel* eq::NodeFactory::createChannel ( Window *  parent) [virtual]

Create a new channel.

Returns:
the channel.
Version:
1.0

Reimplemented in osgScaleViewer::NodeFactory, NodeFactory, NodeFactory, NodeFactory, NodeFactory, and NodeFactory.

virtual Config* eq::NodeFactory::createConfig ( ServerPtr  parent) [virtual]

Create a new config.

Returns:
the config.
Version:
1.0

Reimplemented in osgScaleViewer::NodeFactory, NodeFactory, NodeFactory, NodeFactory, and NodeFactory.

virtual Layout* eq::NodeFactory::createLayout ( Config *  parent) [virtual]

Create a new layout.

Returns:
the layout.
Version:
1.0
virtual Node* eq::NodeFactory::createNode ( Config *  parent) [virtual]

Create a new node.

Returns:
the node.
Version:
1.0

Reimplemented in osgScaleViewer::NodeFactory, NodeFactory, NodeFactory, and NodeFactory.

virtual Observer* eq::NodeFactory::createObserver ( Config *  parent) [virtual]

Create a new observer.

Returns:
the observer.
Version:
1.0
virtual Pipe* eq::NodeFactory::createPipe ( Node *  parent) [virtual]

Create a new pipe.

Returns:
the pipe.
Version:
1.0

Reimplemented in osgScaleViewer::NodeFactory, NodeFactory, NodeFactory, NodeFactory, and NodeFactory.

virtual Segment* eq::NodeFactory::createSegment ( Canvas *  parent) [virtual]

Create a new segment.

Returns:
the segment.
Version:
1.0
virtual View* eq::NodeFactory::createView ( Layout *  parent) [virtual]

Create a new view.

Returns:
the view.
Version:
1.0

Reimplemented in NodeFactory.

virtual Window* eq::NodeFactory::createWindow ( Pipe *  parent) [virtual]

Create a new window.

Returns:
the window.
Version:
1.0

Reimplemented in osgScaleViewer::NodeFactory, NodeFactory, NodeFactory, NodeFactory, NodeFactory, and NodeFactory.

virtual void eq::NodeFactory::releaseCanvas ( Canvas *  canvas) [virtual]

Release a canvas.

Version:
1.0
virtual void eq::NodeFactory::releaseChannel ( Channel *  channel) [virtual]

Release a channel.

Version:
1.0
virtual void eq::NodeFactory::releaseConfig ( Config *  config) [virtual]

Release a config.

Version:
1.0
virtual void eq::NodeFactory::releaseLayout ( Layout *  layout) [virtual]

Release a layout.

Version:
1.0
virtual void eq::NodeFactory::releaseNode ( Node *  node) [virtual]

Release a node.

Version:
1.0
virtual void eq::NodeFactory::releaseObserver ( Observer *  observer) [virtual]

Release a observer.

Version:
1.0
virtual void eq::NodeFactory::releasePipe ( Pipe *  pipe) [virtual]

Release a pipe.

Version:
1.0
virtual void eq::NodeFactory::releaseSegment ( Segment *  segment) [virtual]

Release a segment.

Version:
1.0
virtual void eq::NodeFactory::releaseView ( View *  view) [virtual]

Release a view.

Version:
1.0
virtual void eq::NodeFactory::releaseWindow ( Window *  window) [virtual]

Release a window.

Version:
1.0

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