#include <StreamerOutputModule.h>
Public Member Functions | |
StreamerOutputModule (ParameterSet const &ps) | |
virtual | ~StreamerOutputModule () |
Static Public Member Functions | |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | doOutputEvent (EventMsgBuilder const &msg) const |
virtual void | doOutputHeader (InitMsgBuilder const &init_message) const |
virtual void | start () const |
virtual void | stop () const |
Private Attributes | |
std::auto_ptr< Consumer > | c_ |
Definition at line 9 of file StreamerOutputModule.h.
edm::StreamerOutputModule< Consumer >::StreamerOutputModule | ( | ParameterSet const & | ps | ) | [explicit] |
Consumers are suppose to provide void doOutputHeader(InitMsgBuilder const& init_message) void doOutputEvent(EventMsgBuilder const& msg) void start() void stop() static void fillDescription(ParameterSetDescription&)
Definition at line 35 of file StreamerOutputModule.h.
: StreamerOutputModuleBase(ps), c_(new Consumer(ps)) { }
edm::StreamerOutputModule< Consumer >::~StreamerOutputModule | ( | ) | [virtual] |
Definition at line 41 of file StreamerOutputModule.h.
{}
void edm::StreamerOutputModule< Consumer >::doOutputEvent | ( | EventMsgBuilder const & | msg | ) | const [private, virtual] |
Implements edm::StreamerOutputModuleBase.
Definition at line 64 of file StreamerOutputModule.h.
void edm::StreamerOutputModule< Consumer >::doOutputHeader | ( | InitMsgBuilder const & | init_message | ) | const [private, virtual] |
Implements edm::StreamerOutputModuleBase.
Definition at line 57 of file StreamerOutputModule.h.
{ c_->doOutputHeader(init_message); }
void edm::StreamerOutputModule< Consumer >::fillDescriptions | ( | ConfigurationDescriptions & | descriptions | ) | [static] |
Reimplemented from edm::OutputModule.
Definition at line 70 of file StreamerOutputModule.h.
References edm::ConfigurationDescriptions::add(), and edm::StreamerOutputModuleBase::fillDescription().
{ ParameterSetDescription desc; StreamerOutputModuleBase::fillDescription(desc); Consumer::fillDescription(desc); descriptions.add("streamerOutput", desc); }
void edm::StreamerOutputModule< Consumer >::start | ( | void | ) | const [private, virtual] |
Implements edm::StreamerOutputModuleBase.
Definition at line 45 of file StreamerOutputModule.h.
{ c_->start(); }
void edm::StreamerOutputModule< Consumer >::stop | ( | ) | const [private, virtual] |
Implements edm::StreamerOutputModuleBase.
Definition at line 51 of file StreamerOutputModule.h.
{ c_->stop(); }
std::auto_ptr<Consumer> edm::StreamerOutputModule< Consumer >::c_ [private] |
Definition at line 31 of file StreamerOutputModule.h.