1 #ifndef IOPool_Streamer_StreamerOutputModule_h
2 #define IOPool_Streamer_StreamerOutputModule_h
8 template<
typename Consumer>
25 virtual void start()
const;
26 virtual void stop()
const;
31 std::auto_ptr<Consumer>
c_;
34 template<
typename Consumer>
37 c_(new Consumer(ps)) {
40 template<
typename Consumer>
43 template<
typename Consumer>
49 template<
typename Consumer>
55 template<
typename Consumer>
58 c_->doOutputHeader(init_message);
62 template<
typename Consumer>
65 c_->doOutputEvent(msg);
68 template<
typename Consumer>
73 Consumer::fillDescription(desc);
74 descriptions.
add(
"streamerOutput", desc);
static void fillDescription(ParameterSetDescription &desc)
virtual void doOutputEvent(EventMsgBuilder const &msg) const
std::auto_ptr< Consumer > c_
virtual ~StreamerOutputModule()
StreamerOutputModule(ParameterSet const &ps)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual void doOutputHeader(InitMsgBuilder const &init_message) const
virtual void start() const
virtual void stop() const