Equalizer 1.0

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 ConfigcreateConfig (ServerPtr parent)
 Create a new config.
virtual void releaseConfig (Config *config)
 Release a config.
virtual NodecreateNode (Config *parent)
 Create a new node.
virtual void releaseNode (Node *node)
 Release a node.
virtual ObservercreateObserver (Config *parent)
 Create a new observer.
virtual void releaseObserver (Observer *observer)
 Release a observer.
virtual LayoutcreateLayout (Config *parent)
 Create a new layout.
virtual void releaseLayout (Layout *layout)
 Release a layout.
virtual ViewcreateView (Layout *parent)
 Create a new view.
virtual void releaseView (View *view)
 Release a view.
virtual CanvascreateCanvas (Config *parent)
 Create a new canvas.
virtual void releaseCanvas (Canvas *canvas)
 Release a canvas.
virtual SegmentcreateSegment (Canvas *parent)
 Create a new segment.
virtual void releaseSegment (Segment *segment)
 Release a segment.
virtual PipecreatePipe (Node *parent)
 Create a new pipe.
virtual void releasePipe (Pipe *pipe)
 Release a pipe.
virtual WindowcreateWindow (Pipe *parent)
 Create a new window.
virtual void releaseWindow (Window *window)
 Release a window.
virtual ChannelcreateChannel (Window *parent)
 Create a new channel.
virtual void releaseChannel (Channel *channel)
 Release a channel.
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/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/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 eqHello::NodeFactory, NodeFactory, NodeFactory, NodeFactory, NodeFactory, and osgScaleViewer::NodeFactory.

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

Create a new config.

Returns:
the config.
Version:
1.0

Reimplemented in NodeFactory, NodeFactory, NodeFactory, NodeFactory, and osgScaleViewer::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 NodeFactory, NodeFactory, NodeFactory, and osgScaleViewer::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 NodeFactory, NodeFactory, NodeFactory, and osgScaleViewer::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 NodeFactory, NodeFactory, NodeFactory, NodeFactory, and osgScaleViewer::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 Sun May 8 2011 19:11:09 for Equalizer 1.0 by  doxygen 1.7.3