ht::graph::Node Class Reference

#include <Node.h>

Inheritance diagram for ht::graph::Node:

ht::graph::NodeBase ht::example::BlockReader ht::example::FileReader ht::example::WordReader ht::example::FileWriter ht::example::Tee ht::example::WordParser ht::example::WordCount ht::example::WordEmitter ht::example::WordFilter ht::example::CommentsOnly ht::example::Spell List of all members.

Public Member Functions

virtual const std::string & name () const=0
virtual void connect (Node *)=0
virtual void disconnect (Node *)=0
virtual void configure (const options::Config *)=0
virtual void configured ()=0
virtual void start ()=0
virtual void stop ()=0

Detailed Description

A processing node in Graph


Member Function Documentation

virtual const std::string& ht::graph::Node::name (  )  const [pure virtual]

A node's name: used for making edges

Implemented in ht::graph::NodeBase.

virtual void ht::graph::Node::connect ( Node  )  [pure virtual]

Connect this node to the next processing step

Implemented in ht::example::FileReader, ht::example::WordCount, ht::example::WordEmitter, ht::example::WordFilter, and ht::graph::NodeBase.

virtual void ht::graph::Node::disconnect ( Node  )  [pure virtual]

Disconnect the attached node

Implemented in ht::graph::NodeBase.

virtual void ht::graph::Node::configure ( const options::Config  )  [pure virtual]

Consume the config object

Implemented in ht::example::FileReader, ht::example::FileWriter, ht::example::Spell, and ht::graph::NodeBase.

virtual void ht::graph::Node::configured (  )  [pure virtual]

Test the node to make sure it has everything it needs for configuration.

Implemented in ht::example::FileReader, ht::example::Tee, ht::example::WordEmitter, ht::example::WordFilter, and ht::graph::NodeBase.

virtual void ht::graph::Node::start (  )  [pure virtual]

Start processing.

Implemented in ht::example::FileReader, and ht::graph::NodeBase.

virtual void ht::graph::Node::stop (  )  [pure virtual]

Stop processing.

Implemented in ht::example::FileWriter, ht::example::WordCount, ht::example::WordParser, and ht::graph::NodeBase.


The documentation for this class was generated from the following files:
Generated on Thu Jan 3 15:26:45 2008 by  doxygen 1.5.2