src/graph/NodeBase.h

00001 // -*- c++ -*-
00002 #ifndef HT_GRAPH_NODEBASE_H_
00003 #define HT_GRAPH_NODEBASE_H_
00004 
00005 #include "hightest/config.h"
00006 
00007 #include <graph/Node.h>
00008 
00009 namespace ht {
00010     namespace options { class Config; }
00011     namespace graph {
00016         class NodeBase : public Node {
00017             std::string name_;
00018         public:
00019             virtual                    ~NodeBase();
00020 
00022             virtual const std::string & name() const;
00023 
00025             virtual void                configure(const options::Config *);
00026 
00028             virtual void                configured();
00029 
00031             virtual void                start();
00032 
00034             virtual void                stop();
00035 
00037             virtual void                connect(Node *);
00038 
00040             virtual void                disconnect(Node *);
00041         };
00042     }
00043 }
00044 
00045 #endif

Generated on Thu Jan 3 15:26:45 2008 by  doxygen 1.5.2