CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 200 of file EPStates.h.

Member Typedef Documentation

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

Definition at line 208 of file EPStates.h.

Constructor & Destructor Documentation

statemachine::HandleNewInputFile1::HandleNewInputFile1 ( my_context  ctx)

Definition at line 145 of file EPStates.cc.

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

Definition at line 150 of file EPStates.cc.

150 { }

Member Function Documentation

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

Definition at line 152 of file EPStates.cc.

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