1 #ifndef IOPool_Streamer_StreamerOutputModule_h
2 #define IOPool_Streamer_StreamerOutputModule_h
9 template <
class Consumer>
26 virtual void start()
const;
27 virtual void stop()
const;
32 std::auto_ptr<Consumer>
c_;
37 template <
class Consumer>
40 c_(new Consumer(ps)) {
43 template <
class Consumer>
46 template <
class Consumer>
52 template <
class Consumer>
58 template <
class Consumer>
61 c_->doOutputHeader(init_message);
65 template <
class Consumer>
68 c_->doOutputEvent(msg);
71 template <
class Consumer>
76 Consumer::fillDescription(desc);
77 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