CMS 3D CMS Logo

statemachine::EndingLoop Class Reference

#include <FWCore/Framework/src/EPStates.h>

List of all members.

Public Types

typedef mpl::list
< sc::transition< Restart,
Starting, Machine,
&Machine::rewindAndPrepareForNextLoop >,
sc::custom_reaction< Stop > > 
reactions

Public Member Functions

 EndingLoop (my_context ctx)
sc::result react (Stop const &)
 ~EndingLoop ()

Private Attributes

edm::IEventProcessorep_


Detailed Description

Definition at line 143 of file EPStates.h.


Member Typedef Documentation

typedef mpl::list< sc::transition<Restart, Starting, Machine, &Machine::rewindAndPrepareForNextLoop>, sc::custom_reaction<Stop> > statemachine::EndingLoop::reactions

Definition at line 150 of file EPStates.h.


Constructor & Destructor Documentation

statemachine::EndingLoop::EndingLoop ( my_context  ctx  ) 

Definition at line 140 of file EPStates.cc.

References edm::IEventProcessor::alreadyHandlingException(), edm::IEventProcessor::endOfLoop(), and ep_.

00140                                        : 
00141     my_base(ctx),
00142     ep_(context<Machine>().ep())
00143   { 
00144     if (ep_.alreadyHandlingException() || ep_.endOfLoop()) post_event(Stop());
00145     else post_event(Restart());
00146   }

statemachine::EndingLoop::~EndingLoop (  ) 

Definition at line 148 of file EPStates.cc.

00148 { }


Member Function Documentation

sc::result statemachine::EndingLoop::react ( Stop const &   ) 

Definition at line 150 of file EPStates.cc.

00151   {
00152     return terminate();
00153   }


Member Data Documentation

edm::IEventProcessor& statemachine::EndingLoop::ep_ [private]

Definition at line 154 of file EPStates.h.

Referenced by EndingLoop().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:52:36 2009 for CMSSW by  doxygen 1.5.4