CMS 3D CMS Logo

Public Types | Public Member Functions | Private Member Functions | Private Attributes

statemachine::NewInputAndOutputFiles Class Reference

#include <EPStates.h>

Inheritance diagram for statemachine::NewInputAndOutputFiles:
state

List of all members.

Public Types

typedef mpl::list
< sc::transition< Run,
HandleRuns >
, sc::custom_reaction< File > > 
reactions

Public Member Functions

 NewInputAndOutputFiles (my_context ctx)
sc::result react (File const &file)
 ~NewInputAndOutputFiles ()

Private Member Functions

void goToNewInputAndOutputFiles ()

Private Attributes

edm::IEventProcessorep_

Detailed Description

Definition at line 214 of file EPStates.h.


Member Typedef Documentation

typedef mpl::list< sc::transition<Run, HandleRuns>, sc::custom_reaction<File> > statemachine::NewInputAndOutputFiles::reactions

Definition at line 222 of file EPStates.h.


Constructor & Destructor Documentation

statemachine::NewInputAndOutputFiles::NewInputAndOutputFiles ( my_context  ctx)

Definition at line 162 of file EPStates.cc.

References goToNewInputAndOutputFiles().

                                                               :
      my_base(ctx),
      ep_(context<Machine>().ep()) {
    goToNewInputAndOutputFiles();
  }
statemachine::NewInputAndOutputFiles::~NewInputAndOutputFiles ( )

Definition at line 168 of file EPStates.cc.

{ }

Member Function Documentation

void statemachine::NewInputAndOutputFiles::goToNewInputAndOutputFiles ( ) [private]
sc::result statemachine::NewInputAndOutputFiles::react ( File const &  file)

Definition at line 170 of file EPStates.cc.

                                                    {
    if(context<HandleFiles>().shouldWeCloseOutput()) {
      return transit<NewInputAndOutputFiles>();
    } else {
      return transit<HandleNewInputFile1>();
    }
  }

Member Data Documentation

Definition at line 230 of file EPStates.h.

Referenced by goToNewInputAndOutputFiles().