#include <StateMachine.h>
Private Attributes | |
xdaq::Application * | app_ |
std::string | appNameAndInstance_ |
ConfigurationPtr | configuration_ |
DataManagerPtr | dataManager_ |
stor::DQMEventQueueCollectionPtr | dqmEventQueueCollection_ |
boost::mutex | eventMutex_ |
EventQueueCollectionPtr | eventQueueCollection_ |
stor::InitMsgCollectionPtr | initMsgCollection_ |
xdaq2rc::RcmsStateNotifier | rcmsStateNotifier_ |
std::string | reasonForFailed_ |
stor::RegistrationCollectionPtr | registrationCollection_ |
stor::RegistrationQueuePtr | registrationQueue_ |
xdata::String | stateName_ |
StatisticsReporterPtr | statisticsReporter_ |
Definition at line 68 of file StateMachine.h.
smproxy::StateMachine::StateMachine | ( | xdaq::Application * | app | ) |
Definition at line 20 of file StateMachine.cc.
References edm::errors::Configuration.
void smproxy::StateMachine::clearConsumerRegistrations | ( | ) |
Definition at line 178 of file StateMachine.cc.
References dqmEventQueueCollection_, eventQueueCollection_, and registrationCollection_.
void smproxy::StateMachine::clearInitMsgCollection | ( | ) |
Definition at line 166 of file StateMachine.cc.
References initMsgCollection_.
void smproxy::StateMachine::clearQueues | ( | ) |
Definition at line 200 of file StateMachine.cc.
References dqmEventQueueCollection_, eventQueueCollection_, and registrationQueue_.
void smproxy::StateMachine::disableConsumerRegistration | ( | ) |
Definition at line 193 of file StateMachine.cc.
References dataManager_, and registrationCollection_.
void smproxy::StateMachine::enableConsumerRegistration | ( | ) |
Definition at line 186 of file StateMachine.cc.
References configuration_, dataManager_, and registrationCollection_.
void smproxy::StateMachine::failEvent | ( | const Fail & | evt | ) |
Definition at line 92 of file StateMachine.cc.
References app_, smproxy::Fail::getException(), smproxy::Fail::getReason(), smproxy::Fail::getTraceback(), rcmsStateNotifier_, reasonForFailed_, and stateName_.
|
inline |
|
inline |
Definition at line 93 of file StateMachine.h.
References configuration_.
Referenced by smproxy::DQMArchiver::createRegistration().
|
inline |
|
inline |
Definition at line 105 of file StateMachine.h.
References dqmEventQueueCollection_.
Referenced by smproxy::DataManager::checkForStaleConsumers().
|
inline |
Definition at line 103 of file StateMachine.h.
References eventQueueCollection_.
Referenced by smproxy::DataManager::checkForStaleConsumers().
|
inline |
|
inline |
Definition at line 101 of file StateMachine.h.
References initMsgCollection_.
|
inline |
|
inline |
Definition at line 97 of file StateMachine.h.
References registrationCollection_.
Referenced by smproxy::DQMArchiver::createRegistration(), and smproxy::DQMArchiver::doIt().
|
inline |
Definition at line 99 of file StateMachine.h.
References registrationQueue_.
|
inline |
Definition at line 88 of file StateMachine.h.
|
inline |
Definition at line 107 of file StateMachine.h.
References statisticsReporter_.
|
inline |
Definition at line 79 of file StateMachine.h.
References edm::hlt::Fail, and processEvent().
Referenced by smproxy::DQMArchiver::activity(), smproxy::DataManager::activity(), updateConfiguration(), and smproxy::DataManager::watchDog().
std::string smproxy::StateMachine::processEvent | ( | const boost::statechart::event_base & | event | ) |
Definition at line 75 of file StateMachine.cc.
References eventMutex_.
Referenced by moveToFailedState().
void smproxy::StateMachine::resetStatistics | ( | ) |
Definition at line 172 of file StateMachine.cc.
References statisticsReporter_.
void smproxy::StateMachine::setAlarms | ( | ) |
Definition at line 157 of file StateMachine.cc.
References configuration_, and statisticsReporter_.
void smproxy::StateMachine::setExternallyVisibleStateName | ( | const std::string & | stateName | ) |
Definition at line 83 of file StateMachine.cc.
References appNameAndInstance_, rcmsStateNotifier_, and stateName_.
void smproxy::StateMachine::setQueueSizes | ( | ) |
Definition at line 148 of file StateMachine.cc.
References configuration_, registrationQueue_, and smproxy::QueueConfigurationParams::registrationQueueSize_.
void smproxy::StateMachine::unconsumed_event | ( | const boost::statechart::event_base & | evt | ) |
Definition at line 106 of file StateMachine.cc.
References app_, mergeVDriftHistosByStation::name, and stateName_.
void smproxy::StateMachine::updateConfiguration | ( | ) |
Definition at line 115 of file StateMachine.cc.
References edm::errors::Configuration, configuration_, alignCSCRings::e, cppFunctionSkipper::exception, edm::hlt::Exception, and moveToFailedState().
|
private |
Definition at line 125 of file StateMachine.h.
Referenced by failEvent(), getApplicationDescriptor(), and unconsumed_event().
|
private |
Definition at line 138 of file StateMachine.h.
Referenced by setExternallyVisibleStateName().
|
private |
Definition at line 127 of file StateMachine.h.
Referenced by enableConsumerRegistration(), getConfiguration(), setAlarms(), setQueueSizes(), and updateConfiguration().
|
private |
Definition at line 128 of file StateMachine.h.
Referenced by disableConsumerRegistration(), enableConsumerRegistration(), and getDataManager().
|
private |
Definition at line 134 of file StateMachine.h.
Referenced by clearConsumerRegistrations(), clearQueues(), and getDQMEventQueueCollection().
|
mutableprivate |
Definition at line 136 of file StateMachine.h.
Referenced by processEvent().
|
private |
Definition at line 133 of file StateMachine.h.
Referenced by clearConsumerRegistrations(), clearQueues(), and getEventQueueCollection().
|
private |
Definition at line 131 of file StateMachine.h.
Referenced by clearInitMsgCollection(), and getInitMsgCollection().
|
private |
Definition at line 126 of file StateMachine.h.
Referenced by failEvent(), and setExternallyVisibleStateName().
|
private |
Definition at line 139 of file StateMachine.h.
Referenced by failEvent(), and getReasonForFailed().
|
private |
Definition at line 129 of file StateMachine.h.
Referenced by clearConsumerRegistrations(), disableConsumerRegistration(), enableConsumerRegistration(), and getRegistrationCollection().
|
private |
Definition at line 130 of file StateMachine.h.
Referenced by clearQueues(), getRegistrationQueue(), and setQueueSizes().
|
private |
Definition at line 140 of file StateMachine.h.
Referenced by failEvent(), getExternallyVisibleStateName(), setExternallyVisibleStateName(), and unconsumed_event().
|
private |
Definition at line 132 of file StateMachine.h.
Referenced by getStatisticsReporter(), resetStatistics(), and setAlarms().