17 Stopping::Stopping( my_context
c ): my_base(c)
26 outermost_context().updateHistory( tr );
29 outermost_context().getSharedResources();
33 sharedResources->diskWriterResources_->requestStreamDestruction();
37 sharedResources->dqmEventProcessorResources_->requestStoreDestruction();
48 outermost_context().updateHistory( tr );
53 return std::string(
"Stopping" );
58 outermost_context().getSharedResources()->moveToFailedState( exception );
63 outermost_context().unconsumed_event( request );
72 outermost_context().getSharedResources();
74 sharedResources->commandQueue_->enqWait( stMachEvent );
82 outermost_context().getSharedResources();
85 if ( sharedResources->diskWriterResources_->streamChangeOngoing() )
return false;
87 if ( sharedResources->dqmEventProcessorResources_->requestsOngoing() )
return false;
virtual std::string do_stateName() const
std::string stateName() const
bool destructionIsDone() const
boost::shared_ptr< SharedResources > SharedResourcesPtr
boost::shared_ptr< boost::statechart::event_base > EventPtr_t
virtual void do_noFragmentToProcess() const
virtual void do_exitActionWork()
void logHaltDoneRequest(const HaltDone &request)
virtual void do_entryActionWork()
virtual void do_moveToFailedState(xcept::Exception &exception) const