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 212 of file EPStates.h.


Member Typedef Documentation

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

Definition at line 220 of file EPStates.h.


Constructor & Destructor Documentation

statemachine::NewInputAndOutputFiles::NewInputAndOutputFiles ( my_context  ctx)

Definition at line 176 of file EPStates.cc.

References goToNewInputAndOutputFiles().

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

Definition at line 183 of file EPStates.cc.

{ }

Member Function Documentation

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

Definition at line 185 of file EPStates.cc.

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

Member Data Documentation

Definition at line 228 of file EPStates.h.

Referenced by goToNewInputAndOutputFiles().