CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
statemachine::HandleNewInputFile1 Class Reference

#include <EPStates.h>

Inheritance diagram for statemachine::HandleNewInputFile1:

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

Member Typedef Documentation

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

Definition at line 210 of file EPStates.h.

Constructor & Destructor Documentation

statemachine::HandleNewInputFile1::HandleNewInputFile1 ( my_context  ctx)

Definition at line 146 of file EPStates.cc.

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

Definition at line 151 of file EPStates.cc.

151 { }

Member Function Documentation

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

Definition at line 153 of file EPStates.cc.

153  {
154  if(context<HandleFiles>().shouldWeCloseOutput()) {
155  return transit<NewInputAndOutputFiles>();
156  } else {
157  return transit<HandleNewInputFile1>();
158  }
159  }