ht::graph::NodeBase Class Reference

#include <NodeBase.h>

Inheritance diagram for ht::graph::NodeBase:

ht::graph::Node 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
virtual void configure (const options::Config *)
virtual void configured ()
virtual void start ()
virtual void stop ()
virtual void connect (Node *)
virtual void disconnect (Node *)

Detailed Description

A default Node class that does trivial things to make implementing Nodes simpler.


Member Function Documentation

const string & ht::graph::NodeBase::name (  )  const [virtual]

return the stored name

Implements ht::graph::Node.

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

Get the name from the config, or used "<unnamed node>"

Implements ht::graph::Node.

Reimplemented in ht::example::FileReader, ht::example::FileWriter, and ht::example::Spell.

void ht::graph::NodeBase::configured (  )  [virtual]

Do nothing

Implements ht::graph::Node.

Reimplemented in ht::example::FileReader, ht::example::Tee, ht::example::WordEmitter, and ht::example::WordFilter.

void ht::graph::NodeBase::start (  )  [virtual]

Do nothing

Implements ht::graph::Node.

Reimplemented in ht::example::FileReader.

void ht::graph::NodeBase::stop (  )  [virtual]

Do nothing

Implements ht::graph::Node.

Reimplemented in ht::example::FileWriter, ht::example::WordCount, and ht::example::WordParser.

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

Do nothing

Implements ht::graph::Node.

Reimplemented in ht::example::FileReader, ht::example::WordCount, ht::example::WordEmitter, and ht::example::WordFilter.

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

Do nothing

Implements ht::graph::Node.


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