CMS 3D CMS Logo

Public Types | Public Member Functions

statemachine::HandleNewInputFile1 Class Reference

#include <EPStates.h>

Inheritance diagram for statemachine::HandleNewInputFile1:
state

List of all members.

Public Types

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

Public Member Functions

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

Detailed Description

Definition at line 199 of file EPStates.h.


Member Typedef Documentation

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

Definition at line 207 of file EPStates.h.


Constructor & Destructor Documentation

statemachine::HandleNewInputFile1::HandleNewInputFile1 ( my_context  ctx)

Definition at line 158 of file EPStates.cc.

                                                         : 
    my_base(ctx)
  { 
    context<HandleFiles>().goToNewInputFile();
  }
statemachine::HandleNewInputFile1::~HandleNewInputFile1 ( )

Definition at line 164 of file EPStates.cc.

{ }

Member Function Documentation

sc::result statemachine::HandleNewInputFile1::react ( File const &  file)

Definition at line 166 of file EPStates.cc.

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