#include <EPStates.h>
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::IEventProcessor & | ep_ |
Definition at line 212 of file EPStates.h.
typedef mpl::list< sc::transition<Run, HandleRuns>, sc::custom_reaction<File> > statemachine::NewInputAndOutputFiles::reactions |
Definition at line 220 of file EPStates.h.
statemachine::NewInputAndOutputFiles::NewInputAndOutputFiles | ( | my_context | ctx | ) |
Definition at line 162 of file EPStates.cc.
References goToNewInputAndOutputFiles().
: my_base(ctx), ep_(context<Machine>().ep()) { goToNewInputAndOutputFiles(); }
statemachine::NewInputAndOutputFiles::~NewInputAndOutputFiles | ( | ) |
Definition at line 168 of file EPStates.cc.
{ }
void statemachine::NewInputAndOutputFiles::goToNewInputAndOutputFiles | ( | ) | [private] |
Definition at line 178 of file EPStates.cc.
References edm::IEventProcessor::closeInputFile(), edm::IEventProcessor::closeOutputFiles(), ep_, edm::IEventProcessor::openOutputFiles(), edm::IEventProcessor::readFile(), edm::IEventProcessor::respondToCloseInputFile(), edm::IEventProcessor::respondToCloseOutputFiles(), edm::IEventProcessor::respondToOpenInputFile(), and edm::IEventProcessor::respondToOpenOutputFiles().
Referenced by NewInputAndOutputFiles().
{ ep_.respondToCloseInputFile(); ep_.closeInputFile(false); ep_.respondToCloseOutputFiles(); ep_.closeOutputFiles(); ep_.readFile(); ep_.respondToOpenInputFile(); ep_.openOutputFiles(); ep_.respondToOpenOutputFiles(); }
sc::result statemachine::NewInputAndOutputFiles::react | ( | File const & | file | ) |
Definition at line 170 of file EPStates.cc.
{ if(context<HandleFiles>().shouldWeCloseOutput()) { return transit<NewInputAndOutputFiles>(); } else { return transit<HandleNewInputFile1>(); } }
Definition at line 228 of file EPStates.h.
Referenced by goToNewInputAndOutputFiles().