#include <EPStates.h>
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::IEventProcessor & | ep_ |
Definition at line 157 of file EPStates.h.
typedef mpl::list< sc::transition<Restart, Starting, Machine, &Machine::rewindAndPrepareForNextLoop>, sc::custom_reaction<Stop> > statemachine::EndingLoop::reactions |
Definition at line 164 of file EPStates.h.
statemachine::EndingLoop::EndingLoop | ( | my_context | ctx | ) |
Definition at line 103 of file EPStates.cc.
References edm::IEventProcessor::alreadyHandlingException(), edm::IEventProcessor::endOfLoop(), and ep_.
: my_base(ctx), ep_(context<Machine>().ep()) { if (ep_.alreadyHandlingException() || ep_.endOfLoop()) post_event(Stop()); else post_event(Restart()); }
statemachine::EndingLoop::~EndingLoop | ( | ) |
Definition at line 111 of file EPStates.cc.
{ }
sc::result statemachine::EndingLoop::react | ( | Stop const & | ) |
Definition at line 113 of file EPStates.cc.
{
return terminate();
}
Definition at line 168 of file EPStates.h.
Referenced by EndingLoop().