![]() |
![]() |
00001 #ifndef FRDOUTPUTSERVICE_H 00002 #define FRDOUTPUTSERVICE_H 00003 00004 // $Id: FRDOutputService.h,v 1.1 2008/08/13 22:48:11 biery Exp $ 00005 00006 #include <EventFilter/StorageManager/interface/OutputService.h> 00007 #include <IOPool/Streamer/interface/FRDEventFileWriter.h> 00008 00009 namespace edm { 00010 00011 class FRDOutputService : public OutputService 00012 { 00013 public: 00014 FRDOutputService(boost::shared_ptr<FileRecord>); 00015 ~FRDOutputService(); 00016 00017 void writeEvent(const uint8 * const); 00018 void report(std::ostream &os, int indentation) const; 00019 00020 private: 00021 void closeFile(); 00022 00023 boost::shared_ptr<FRDEventFileWriter> writer_; 00024 }; 00025 00026 } // edm namespace 00027 #endif