#include <StateMachine.h>
Public Types | |
typedef bsc::in_state_reaction < EndRun, DrainingQueues,&DrainingQueues::logEndRunRequest > | EndRunIR |
typedef bsc::transition < QueuesEmpty, FinishingDQM > | FT |
typedef boost::mpl::list< FT, EndRunIR > | reactions |
Public Member Functions | |
DrainingQueues (my_context) | |
void | logEndRunRequest (const EndRun &request) |
virtual | ~DrainingQueues () |
Public Member Functions inherited from stor::Operations | |
void | moveToFailedState (xcept::Exception &exception) const |
void | noFragmentToProcess () const |
Operations () | |
void | processI2OFragment (I2OChain &frag) const |
std::string | stateName () const |
virtual | ~Operations ()=0 |
Private Member Functions | |
bool | allQueuesAndWorkersAreEmpty () const |
virtual void | do_entryActionWork () |
virtual void | do_exitActionWork () |
virtual void | do_moveToFailedState (xcept::Exception &exception) const |
virtual void | do_noFragmentToProcess () const |
virtual std::string | do_stateName () const |
void | processStaleFragments () const |
Additional Inherited Members | |
Protected Member Functions inherited from stor::Operations | |
virtual void | do_processI2OFragment (I2OChain &frag) const |
void | safeEntryAction () |
void | safeExitAction () |
DrainingQueues state
Definition at line 535 of file StateMachine.h.
typedef bsc::in_state_reaction<EndRun,DrainingQueues,&DrainingQueues::logEndRunRequest> stor::DrainingQueues::EndRunIR |
Definition at line 543 of file StateMachine.h.
typedef bsc::transition<QueuesEmpty,FinishingDQM> stor::DrainingQueues::FT |
Definition at line 542 of file StateMachine.h.
Definition at line 544 of file StateMachine.h.
DrainingQueues::DrainingQueues | ( | my_context | c | ) |
|
virtual |
|
private |
Definition at line 73 of file DrainingQueues.cc.
References stor::FragmentStore::clear(), stor::FragmentStore::empty(), stor::EventDistributor::full(), and processStaleFragments().
Referenced by do_noFragmentToProcess().
|
privatevirtual |
Implements stor::Operations.
Definition at line 28 of file DrainingQueues.cc.
References stor::Operations::stateName().
|
privatevirtual |
Implements stor::Operations.
Definition at line 39 of file DrainingQueues.cc.
References stor::Operations::stateName().
|
privatevirtual |
|
privatevirtual |
Reimplemented from stor::Operations.
Definition at line 61 of file DrainingQueues.cc.
References allQueuesAndWorkersAreEmpty().
|
privatevirtual |
Implements stor::Operations.
Definition at line 45 of file DrainingQueues.cc.
void DrainingQueues::logEndRunRequest | ( | const EndRun & | request | ) |
Definition at line 55 of file DrainingQueues.cc.
|
private |
Definition at line 100 of file DrainingQueues.cc.
References stor::EventDistributor::addEventToRelevantQueues(), stor::EventDistributor::full(), and seconds().
Referenced by allQueuesAndWorkersAreEmpty().