00001 #ifndef _HT_EXAMPLE_EMITTER_H 00002 #define _HT_EXAMPLE_EMITTER_H 00003 00004 #include <graph/example/WordParser.h> 00005 00006 namespace ht { 00007 namespace example { 00008 class FileReader; 00010 class WordEmitter : public WordReader 00011 { 00012 BlockReader *next_; 00013 public: 00014 WordEmitter() : next_(0) {} 00015 void connect(ht::graph::Node *node); 00016 void configured(); 00017 void process(const WordBuffer &buf); 00018 }; 00019 } 00020 } 00021 00022 #endif 00023
1.5.2