00001 #ifndef OUTPUTCONNECTION_H 00002 #define OUTPUTCONNECTION_H 00003 #include "FilterConnection.h" 00007 template<class SAMPLE> 00008 class OutputConnection : public FilterConnection<SAMPLE> { 00009 public: 00013 bool readable() { 00014 return false; 00015 } 00019 string xmlType() { 00020 return "OUTPUT"; 00021 } 00025 OutputConnection(BufferedFile * fd): FilterConnection<SAMPLE>::FilterConnection(fd) { 00026 } 00030 void process() { 00031 FilterConnection<SAMPLE>::process(); 00032 } 00036 OutputConnection(BufferedFile * fd,string name): FilterConnection<SAMPLE>::FilterConnection(fd,name) { 00037 } 00038 private: 00039 }; 00040 #endif