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:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ConfigcreateConfig (ServerPtr parent)
 Creates a new config.
virtual void releaseConfig (Config *config)
 Release a config.
virtual NodecreateNode (Config *parent)
 Creates a new node.
virtual void releaseNode (Node *node)
 Release a node.
virtual ObservercreateObserver ()
 Creates a new observer.
virtual void releaseObserver (Observer *observer)
 Release a observer.
virtual LayoutcreateLayout ()
 Creates a new layout.
virtual void releaseLayout (Layout *layout)
 Release a layout.
virtual ViewcreateView ()
 Creates a new view.
virtual void releaseView (View *view)
 Release a view.
virtual CanvascreateCanvas ()
 Creates a new canvas.
virtual void releaseCanvas (Canvas *canvas)
 Release a canvas.
virtual SegmentcreateSegment ()
 Creates a new segment.
virtual void releaseSegment (Segment *segment)
 Release a segment.
virtual PipecreatePipe (Node *parent)
 Creates a new pipe.
virtual void releasePipe (Pipe *pipe)
 Release a pipe.
virtual WindowcreateWindow (Pipe *parent)
 Creates a new window.
virtual void releaseWindow (Window *window)
 Release a window.
virtual ChannelcreateChannel (Window *parent)
 Creates a new channel.
virtual void releaseChannel (Channel *channel)
 Release a channel.


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.

Definition at line 34 of file nodeFactory.h.


Member Function Documentation

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

Creates a new config.

Returns:
the config.

Definition at line 36 of file nodeFactory.cpp.

void NodeFactory::releaseConfig ( Config config  )  [virtual]

Release a config.

Definition at line 40 of file nodeFactory.cpp.

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

Creates a new node.

Returns:
the node.

Definition at line 45 of file nodeFactory.cpp.

void NodeFactory::releaseNode ( Node node  )  [virtual]

Release a node.

Definition at line 49 of file nodeFactory.cpp.

Observer * NodeFactory::createObserver (  )  [virtual]

Creates a new observer.

Returns:
the observer.

Definition at line 54 of file nodeFactory.cpp.

Referenced by eq::ConfigDeserializer::applyInstanceData().

Here is the caller graph for this function:

void NodeFactory::releaseObserver ( Observer observer  )  [virtual]

Release a observer.

Definition at line 58 of file nodeFactory.cpp.

Layout * NodeFactory::createLayout (  )  [virtual]

Creates a new layout.

Returns:
the layout.

Definition at line 63 of file nodeFactory.cpp.

Referenced by eq::ConfigDeserializer::applyInstanceData().

Here is the caller graph for this function:

void NodeFactory::releaseLayout ( Layout layout  )  [virtual]

Release a layout.

Definition at line 67 of file nodeFactory.cpp.

Referenced by eq::ConfigDeserializer::applyInstanceData().

Here is the caller graph for this function:

View * NodeFactory::createView (  )  [virtual]

Creates a new view.

Returns:
the view.

Definition at line 72 of file nodeFactory.cpp.

Referenced by eq::Layout::deserialize(), and eq::Pipe::getView().

Here is the caller graph for this function:

void NodeFactory::releaseView ( View view  )  [virtual]

Release a view.

Definition at line 76 of file nodeFactory.cpp.

Referenced by eq::Layout::deregister().

Here is the caller graph for this function:

Canvas * NodeFactory::createCanvas (  )  [virtual]

Creates a new canvas.

Returns:
the canvas.

Definition at line 81 of file nodeFactory.cpp.

Referenced by eq::ConfigDeserializer::applyInstanceData().

Here is the caller graph for this function:

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

Release a canvas.

Definition at line 85 of file nodeFactory.cpp.

Referenced by eq::ConfigDeserializer::applyInstanceData().

Here is the caller graph for this function:

Segment * NodeFactory::createSegment (  )  [virtual]

Creates a new segment.

Returns:
the segment.

Definition at line 90 of file nodeFactory.cpp.

Referenced by eq::Canvas::deserialize().

Here is the caller graph for this function:

void NodeFactory::releaseSegment ( Segment segment  )  [virtual]

Release a segment.

Definition at line 94 of file nodeFactory.cpp.

Referenced by eq::Canvas::deregister().

Here is the caller graph for this function:

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

Creates a new pipe.

Returns:
the pipe.

Definition at line 99 of file nodeFactory.cpp.

void NodeFactory::releasePipe ( Pipe pipe  )  [virtual]

Release a pipe.

Definition at line 103 of file nodeFactory.cpp.

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

Creates a new window.

Returns:
the window.

Definition at line 108 of file nodeFactory.cpp.

void NodeFactory::releaseWindow ( Window window  )  [virtual]

Release a window.

Definition at line 112 of file nodeFactory.cpp.

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

Creates a new channel.

Returns:
the channel.

Definition at line 117 of file nodeFactory.cpp.

void NodeFactory::releaseChannel ( Channel channel  )  [virtual]

Release a channel.

Definition at line 122 of file nodeFactory.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Aug 10 18:58:43 2009 for Equalizer 0.9 by  doxygen 1.5.8