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<class Consumer>
class edm::StreamerOutputModule< Consumer >

Definition at line 10 of file StreamerOutputModule.h.


Constructor & Destructor Documentation

template<class 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 38 of file StreamerOutputModule.h.

                                                                             :
    StreamerOutputModuleBase(ps),
    c_(new Consumer(ps)) {
  }
template<class Consumer >
edm::StreamerOutputModule< Consumer >::~StreamerOutputModule ( ) [virtual]

Definition at line 44 of file StreamerOutputModule.h.

{}

Member Function Documentation

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

Implements edm::StreamerOutputModuleBase.

Definition at line 67 of file StreamerOutputModule.h.

                                                                                {
    c_->doOutputEvent(msg); // You can't use msg in StreamerOutputModule after this point
  }
template<class Consumer >
void edm::StreamerOutputModule< Consumer >::doOutputHeader ( InitMsgBuilder const &  init_message) const [private, virtual]

Implements edm::StreamerOutputModuleBase.

Definition at line 60 of file StreamerOutputModule.h.

                                                                                         {
    c_->doOutputHeader(init_message);
  }
template<class Consumer >
void edm::StreamerOutputModule< Consumer >::fillDescriptions ( ConfigurationDescriptions descriptions) [static]
template<class Consumer >
void edm::StreamerOutputModule< Consumer >::start ( void  ) const [private, virtual]

Implements edm::StreamerOutputModuleBase.

Definition at line 48 of file StreamerOutputModule.h.

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

Implements edm::StreamerOutputModuleBase.

Definition at line 54 of file StreamerOutputModule.h.

                                             {
    c_->stop();
  }

Member Data Documentation

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

Definition at line 32 of file StreamerOutputModule.h.