src/graph/example/Tee.h

00001 #ifndef HT_EXAMPLE_TEE_
00002 #define HT_EXAMPLE_TEE_
00003 
00004 #include <graph/example/FileReader.h>
00005 
00006 namespace ht {
00007     namespace example {
00008 
00010         class Tee : public BlockReader
00011         {
00012             BlockReader *left_, *right_;
00013         public:
00014             Tee(): left_(0), right_(0) {}
00015             virtual void process(const ByteBuffer & buf);
00017             virtual void connect(Node *node);
00019             void disconnect(Node *n);
00021             virtual void configured();
00022         };
00023     }
00024 }
00025 
00026 #endif

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