Equalizer
1.2.1
|
The node factory is a per-node singleton used to create and release Equalizer resource instances. More...
#include <nodeFactory.h>
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. |
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 36 of file include/eq/client/nodeFactory.h.
virtual eq::NodeFactory::~NodeFactory | ( | ) | [inline, virtual] |
Destruct this node factory.
Definition at line 150 of file include/eq/client/nodeFactory.h.
virtual Canvas* eq::NodeFactory::createCanvas | ( | Config * | parent | ) | [virtual] |
Create a new canvas.
virtual Channel* eq::NodeFactory::createChannel | ( | Window * | parent | ) | [virtual] |
Create a new channel.
Reimplemented in osgScaleViewer::NodeFactory, NodeFactory, NodeFactory, NodeFactory, NodeFactory, and NodeFactory.
virtual Config* eq::NodeFactory::createConfig | ( | ServerPtr | parent | ) | [virtual] |
Create a new config.
Reimplemented in osgScaleViewer::NodeFactory, NodeFactory, NodeFactory, NodeFactory, and NodeFactory.
virtual Layout* eq::NodeFactory::createLayout | ( | Config * | parent | ) | [virtual] |
Create a new layout.
virtual Node* eq::NodeFactory::createNode | ( | Config * | parent | ) | [virtual] |
Create a new node.
Reimplemented in osgScaleViewer::NodeFactory, NodeFactory, NodeFactory, and NodeFactory.
virtual Observer* eq::NodeFactory::createObserver | ( | Config * | parent | ) | [virtual] |
Create a new observer.
virtual Pipe* eq::NodeFactory::createPipe | ( | Node * | parent | ) | [virtual] |
Create a new pipe.
Reimplemented in osgScaleViewer::NodeFactory, NodeFactory, NodeFactory, NodeFactory, and NodeFactory.
virtual Segment* eq::NodeFactory::createSegment | ( | Canvas * | parent | ) | [virtual] |
Create a new segment.
virtual View* eq::NodeFactory::createView | ( | Layout * | parent | ) | [virtual] |
virtual Window* eq::NodeFactory::createWindow | ( | Pipe * | parent | ) | [virtual] |
Create a new window.
Reimplemented in osgScaleViewer::NodeFactory, NodeFactory, NodeFactory, NodeFactory, NodeFactory, and NodeFactory.
virtual void eq::NodeFactory::releaseCanvas | ( | Canvas * | canvas | ) | [virtual] |
Release a canvas.
virtual void eq::NodeFactory::releaseChannel | ( | Channel * | channel | ) | [virtual] |
Release a channel.
virtual void eq::NodeFactory::releaseConfig | ( | Config * | config | ) | [virtual] |
Release a config.
virtual void eq::NodeFactory::releaseLayout | ( | Layout * | layout | ) | [virtual] |
Release a layout.
virtual void eq::NodeFactory::releaseNode | ( | Node * | node | ) | [virtual] |
Release a node.
virtual void eq::NodeFactory::releaseObserver | ( | Observer * | observer | ) | [virtual] |
Release a observer.
virtual void eq::NodeFactory::releasePipe | ( | Pipe * | pipe | ) | [virtual] |
Release a pipe.
virtual void eq::NodeFactory::releaseSegment | ( | Segment * | segment | ) | [virtual] |
Release a segment.
virtual void eq::NodeFactory::releaseView | ( | View * | view | ) | [virtual] |
Release a view.
virtual void eq::NodeFactory::releaseWindow | ( | Window * | window | ) | [virtual] |
Release a window.