CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

edm::StreamerOutputModule< Consumer > Class Template Reference

#include <StreamerOutputModule.h>

Inheritance diagram for edm::StreamerOutputModule< Consumer >:
edm::StreamerOutputModuleBase edm::OutputModule

List of all members.

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_

Detailed Description

template<typename Consumer>
class edm::StreamerOutputModule< Consumer >

Definition at line 9 of file StreamerOutputModule.h.


Constructor & Destructor Documentation

template<typename Consumer >
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)) {
  }
template<typename Consumer >
edm::StreamerOutputModule< Consumer >::~StreamerOutputModule ( ) [virtual]

Definition at line 41 of file StreamerOutputModule.h.

{}

Member Function Documentation

template<typename Consumer >
void edm::StreamerOutputModule< Consumer >::doOutputEvent ( EventMsgBuilder const &  msg) const [private, virtual]

Implements edm::StreamerOutputModuleBase.

Definition at line 64 of file StreamerOutputModule.h.

                                                                                {
    c_->doOutputEvent(msg); // You can't use msg in StreamerOutputModule after this point
  }
template<typename Consumer >
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);
  }
template<typename Consumer >
void edm::StreamerOutputModule< Consumer >::fillDescriptions ( ConfigurationDescriptions descriptions) [static]
template<typename Consumer >
void edm::StreamerOutputModule< Consumer >::start ( void  ) const [private, virtual]

Implements edm::StreamerOutputModuleBase.

Definition at line 45 of file StreamerOutputModule.h.

                                              {
    c_->start();
  }
template<typename Consumer >
void edm::StreamerOutputModule< Consumer >::stop ( ) const [private, virtual]

Implements edm::StreamerOutputModuleBase.

Definition at line 51 of file StreamerOutputModule.h.

                                             {
    c_->stop();
  }

Member Data Documentation

template<typename Consumer >
std::auto_ptr<Consumer> edm::StreamerOutputModule< Consumer >::c_ [private]

Definition at line 31 of file StreamerOutputModule.h.