#include <RBStateMachine.h>
Public Types | |
typedef boost::mpl::list< SD > | reactions |
typedef bsc::transition < StopDone, Stopped > | SD |
Public Member Functions | |
virtual bool | discardDataEvent (MemRef_t *bufRef) const |
virtual bool | discardDqmEvent (MemRef_t *bufRef) const |
virtual void | do_stateAction () const |
virtual void | do_stateNotify () |
virtual int | stateID () const |
Stopping (my_context) | |
virtual | ~Stopping () |
Public Member Functions inherited from evf::rb_statemachine::BaseState | |
BaseState () | |
void | moveToFailedState (xcept::Exception &exception) const |
std::string | stateName () const |
virtual | ~BaseState ()=0 |
Private Member Functions | |
bool | destructionIsDone () const |
virtual void | do_entryActionWork () |
virtual void | do_exitActionWork () |
virtual void | do_moveToFailedState (xcept::Exception &exception) const |
virtual std::string | do_stateName () const |
void | emergencyStop () const |
Additional Inherited Members | |
Protected Member Functions inherited from evf::rb_statemachine::BaseState | |
void | fail () |
void | safeEntryAction () |
void | safeExitAction () |
Stopping state
Definition at line 598 of file RBStateMachine.h.
Definition at line 603 of file RBStateMachine.h.
typedef bsc::transition<StopDone, Stopped> evf::rb_statemachine::Stopping::SD |
Definition at line 602 of file RBStateMachine.h.
Stopping::Stopping | ( | my_context | c | ) |
Definition at line 132 of file Stopping.cc.
References evf::rb_statemachine::BaseState::safeEntryAction().
|
virtual |
Definition at line 137 of file Stopping.cc.
References evf::rb_statemachine::BaseState::safeExitAction().
|
private |
|
virtual |
Base callback on process buffer received via I2O_SM_DATA_DISCARD message
Reimplemented from evf::rb_statemachine::BaseState.
Definition at line 108 of file Stopping.cc.
References alignCSCRings::e, and evf::rb_statemachine::BaseState::moveToFailedState().
|
virtual |
Base callback on process buffer received via I2O_SM_DQM_DISCARD message
Reimplemented from evf::rb_statemachine::BaseState.
Definition at line 118 of file Stopping.cc.
References alignCSCRings::e, and evf::rb_statemachine::BaseState::moveToFailedState().
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
Implements evf::rb_statemachine::BaseState.
Definition at line 210 of file Stopping.cc.
References edm::hlt::Fail, and evf::rb_statemachine::BaseState::fail().
|
virtual |
State-dependent actions
EMERGENCY STOP IS TRIGGERED
Reimplemented from evf::rb_statemachine::BaseState.
Definition at line 36 of file Stopping.cc.
References prof2calltree::count, gather_cfg::cout, alignCSCRings::e, emergencyStop(), edm::hlt::Exception, evf::rb_statemachine::BaseState::moveToFailedState(), and cmsPerfSuiteHarvest::now.
|
privatevirtual |
Implements evf::rb_statemachine::BaseState.
Definition at line 206 of file Stopping.cc.
|
virtual |
State entry notifications
Implements evf::rb_statemachine::BaseState.
Definition at line 26 of file Stopping.cc.
References evf::rb_statemachine::BaseState::stateName().
|
private |
Definition at line 141 of file Stopping.cc.
References evf::IPCMethod::clientPrcIds(), gather_cfg::cout, evf::IPCMethod::handleCrashedEP(), i, evf::IPCMethod::isReadyToShutDown(), evf::IPCMethod::lastResort(), evf::utils::pid, evf::IPCMethod::shutdownStatus(), and stor::utils::sleep().
Referenced by do_stateAction().
|
inlinevirtual |
Return the current state ID
Implements evf::rb_statemachine::BaseState.
Definition at line 614 of file RBStateMachine.h.
References evf::rb_statemachine::STOPPING.