eq::NodeFactory Class Reference

#include <nodeFactory.h>

Inheritance diagram for eq::NodeFactory:

Inheritance graph
[legend]

List of all members.


Detailed Description

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

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

Definition at line 27 of file nodeFactory.h.


Public Member Functions

virtual ConfigcreateConfig (base::RefPtr< Server > parent)
 Creates a new config.
virtual NodecreateNode (Config *parent)
 Creates a new node.
virtual PipecreatePipe (Node *parent)
 Creates a new pipe.
virtual WindowcreateWindow (Pipe *parent)
 Creates a new window.
virtual ChannelcreateChannel (Window *parent)
 Creates a new channel.

Member Function Documentation

virtual Config* eq::NodeFactory::createConfig ( base::RefPtr< Server >  parent  )  [inline, virtual]

Creates a new config.

Returns:
the config.

Definition at line 35 of file nodeFactory.h.

virtual Node* eq::NodeFactory::createNode ( Config parent  )  [inline, virtual]

Creates a new node.

Returns:
the node.

Definition at line 43 of file nodeFactory.h.

virtual Pipe* eq::NodeFactory::createPipe ( Node parent  )  [inline, virtual]

Creates a new pipe.

Returns:
the pipe.

Definition at line 50 of file nodeFactory.h.

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

Creates a new window.

Returns:
the window.

Definition at line 57 of file nodeFactory.h.

virtual Channel* eq::NodeFactory::createChannel ( Window parent  )  [inline, virtual]

Creates a new channel.

Returns:
the channel.

Definition at line 65 of file nodeFactory.h.


The documentation for this class was generated from the following file:
Generated on Sat Dec 6 12:01:48 2008 for Equalizer 0.6 by  doxygen 1.5.5