OpenVideo Documentation

   Main Page       Modules       Class Hierarchy       Alphabetical List       Compound List       File List       Compound Members       Related Pages   

openvideo::NodeFactory Class Reference
[Core Classes]

#include <NodeFactory.h>

Inherited by openvideo::DSVLSrcFactory, openvideo::GL_TEXTURE_2D_SinkFactory, openvideo::GLUTSinkFactory, openvideo::ImageSrcFactory, openvideo::OpenCVSrcFactory, openvideo::TestSrcFactory, openvideo::V4L2SrcFactory, openvideo::VideoSinkFactory, and openvideo::VideoWrapperSrcFactory.

List of all members.

Public Member Functions

 NodeFactory ()
virtual ~NodeFactory ()
virtual openvideo::NodecreateNode ()=0
virtual const char * getNodeTypeId ()=0


Detailed Description

The NodeFactory class implements the 'AbstractFactory' part from the 'AbstractFactory' pattern [POSA96].

Definition at line 49 of file NodeFactory.h.


Constructor & Destructor Documentation

openvideo::NodeFactory::NodeFactory  )  [inline]
 

Constructor.

Definition at line 55 of file NodeFactory.h.

virtual openvideo::NodeFactory::~NodeFactory  )  [inline, virtual]
 

Definition at line 57 of file NodeFactory.h.


Member Function Documentation

virtual openvideo::Node* openvideo::NodeFactory::createNode  )  [pure virtual]
 

The function to construct a Node.

Implemented in openvideo::DSVLSrcFactory, openvideo::GL_TEXTURE_2D_SinkFactory, openvideo::GLUTSinkFactory, openvideo::ImageSrcFactory, openvideo::OpenCVSrcFactory, openvideo::TestSrcFactory, openvideo::V4L2SrcFactory, openvideo::VideoSinkFactory, and openvideo::VideoWrapperSrcFactory.

Referenced by openvideo::Manager::addNode().

virtual const char* openvideo::NodeFactory::getNodeTypeId  )  [pure virtual]
 

Returns the node name.

With this function a factory can be 'asked' which type of nodes it can 'produce'.

Implemented in openvideo::DSVLSrcFactory, openvideo::GL_TEXTURE_2D_SinkFactory, openvideo::GLUTSinkFactory, openvideo::ImageSrcFactory, openvideo::OpenCVSrcFactory, openvideo::TestSrcFactory, openvideo::V4L2SrcFactory, openvideo::VideoSinkFactory, and openvideo::VideoWrapperSrcFactory.


The documentation for this class was generated from the following file:
 This page was generated at Wed May 31 13:04:18 2006 for OpenVideo by Doxygen.
 If you have any comments, please send a message to schmalstieg@icg.tu-graz.ac.at.
www.studierstube.org