CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

statemachine::FirstFile Class Reference

#include <EPStates.h>

Inheritance diagram for statemachine::FirstFile:
state

List of all members.

Public Types

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

Public Member Functions

 FirstFile (my_context ctx)
void openFiles ()
sc::result react (File const &file)
 ~FirstFile ()

Private Attributes

edm::IEventProcessorep_

Detailed Description

Definition at line 185 of file EPStates.h.


Member Typedef Documentation

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

Definition at line 193 of file EPStates.h.


Constructor & Destructor Documentation

statemachine::FirstFile::FirstFile ( my_context  ctx)

Definition at line 123 of file EPStates.cc.

References openFiles().

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

Definition at line 129 of file EPStates.cc.

{ }

Member Function Documentation

void statemachine::FirstFile::openFiles ( )
sc::result statemachine::FirstFile::react ( File const &  file)

Definition at line 131 of file EPStates.cc.

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

Member Data Documentation

Definition at line 198 of file EPStates.h.

Referenced by openFiles().