Equalizer  1.6.1
Public Member Functions | List of all members
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:
+ Collaboration diagram for eq::NodeFactory:

Public Member Functions

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

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 nodeFactory.h.

Constructor & Destructor Documentation

virtual eq::NodeFactory::~NodeFactory ( )
inlinevirtual

Destruct this node factory.

Version
1.0

Definition at line 150 of file 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 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 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 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 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 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: