#include <EventRetriever.h>
Public Types | |
typedef boost::shared_ptr < RegInfo > | RegInfoPtr |
Public Member Functions | |
void | addConsumer (const RegInfoPtr) |
EventRetriever (StateMachine *, const RegInfoPtr) | |
size_t | getConnectedSMCount () const |
const stor::QueueIDs & | getQueueIDs () const |
void | stop () |
~EventRetriever () | |
Private Types | |
typedef std::vector< ConnectionID > | ConnectionIDs |
typedef stor::EventServerProxy < RegInfo > | EventServer |
typedef boost::shared_ptr < EventServer > | EventServerPtr |
typedef std::map< ConnectionID, EventServerPtr > | EventServers |
Private Member Functions | |
void | activity (const edm::ParameterSet &) |
bool | adjustMinEventRequestInterval (const stor::utils::Duration_t &) |
bool | anyActiveConsumers (QueueCollectionPtr) const |
bool | connect (const edm::ParameterSet &) |
void | connectToSM (const std::string &sourceURL, const edm::ParameterSet &) |
void | disconnectFromCurrentSM () |
void | do_stop () |
void | doIt (const edm::ParameterSet &) |
EventRetriever (EventRetriever const &) | |
void | getInitMsg () |
bool | getNextEvent (stor::CurlInterface::Content &) |
bool | openConnection (const ConnectionID &, const RegInfoPtr) |
EventRetriever & | operator= (EventRetriever const &) |
void | processCompletedTopLevelFolders () |
bool | tryToReconnect () |
void | updateConsumersSetting (const stor::utils::Duration_t &) |
Private Attributes | |
ConnectionIDs | connectionIDs_ |
boost::mutex | connectionIDsLock_ |
DataRetrieverMonitorCollection & | dataRetrieverMonitorCollection_ |
const DataRetrieverParams | dataRetrieverParams_ |
stor::DQMEventStore < DQMEventMsg, EventRetriever < RegInfo, QueueCollectionPtr > , StateMachine > | dqmEventStore_ |
EventServers | eventServers_ |
size_t | instance_ |
stor::utils::Duration_t | minEventRequestInterval_ |
stor::utils::TimePoint_t | nextReconnectTry_ |
stor::utils::TimePoint_t | nextRequestTime_ |
EventServers::iterator | nextSMtoUse_ |
stor::QueueIDs | queueIDs_ |
boost::mutex | queueIDsLock_ |
StateMachine * | stateMachine_ |
boost::scoped_ptr< boost::thread > | thread_ |
Static Private Attributes | |
static size_t | retrieverCount_ |
Retrieve events from the event server
Definition at line 42 of file EventRetriever.h.
|
private |
Definition at line 117 of file EventRetriever.h.
|
private |
Definition at line 111 of file EventRetriever.h.
|
private |
Definition at line 112 of file EventRetriever.h.
|
private |
Definition at line 113 of file EventRetriever.h.
typedef boost::shared_ptr<RegInfo> smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::RegInfoPtr |
Definition at line 46 of file EventRetriever.h.
smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::EventRetriever | ( | StateMachine * | , |
const RegInfoPtr | |||
) |
smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::~EventRetriever | ( | ) |
|
private |
|
private |
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::addConsumer | ( | const RegInfoPtr | ) |
Add a consumer
|
private |
|
private |
|
private |
Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::__init__(), Vispa.Views.PropertyView.BooleanProperty::__init__(), Vispa.Gui.FindDialog.FindDialog::_addScript(), Vispa.Gui.FindDialog.FindDialog::_addStringProperty(), Vispa.Main.Application.Application::_connectSignals(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::_createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog::addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer::addWidget(), Vispa.Views.PropertyView.PropertyView::append(), Vispa.Views.PropertyView.PropertyView::appendAddRow(), Vispa.Main.Application.Application::createAction(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createButton(), Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createLineEdit(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createTextEdit(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filterDialog(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Gui.PortWidget.PortWidget::mouseMoveEvent(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Main.SplitterTab.SplitterTab::setController(), Vispa.Plugins.Browser.BrowserTab.BrowserTab::setController(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setTab(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
|
private |
|
private |
|
private |
|
private |
|
inline |
Return the number of active connections to SMs
Definition at line 75 of file EventRetriever.h.
References smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::eventServers_.
|
private |
|
private |
|
inline |
Return the list of QueueIDs attached to the EventRetriever
Definition at line 69 of file EventRetriever.h.
References smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::queueIDs_.
|
private |
|
private |
|
private |
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::stop | ( | ) |
Stop retrieving events
|
private |
|
private |
|
private |
Definition at line 118 of file EventRetriever.h.
|
mutableprivate |
Definition at line 119 of file EventRetriever.h.
|
private |
Definition at line 102 of file EventRetriever.h.
|
private |
Definition at line 101 of file EventRetriever.h.
|
private |
Definition at line 129 of file EventRetriever.h.
|
private |
Definition at line 114 of file EventRetriever.h.
Referenced by smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::getConnectedSMCount().
|
private |
Definition at line 109 of file EventRetriever.h.
|
private |
Definition at line 105 of file EventRetriever.h.
|
private |
Definition at line 121 of file EventRetriever.h.
|
private |
Definition at line 104 of file EventRetriever.h.
|
private |
Definition at line 115 of file EventRetriever.h.
|
private |
Definition at line 123 of file EventRetriever.h.
Referenced by smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::getQueueIDs().
|
mutableprivate |
Definition at line 124 of file EventRetriever.h.
|
staticprivate |
Definition at line 108 of file EventRetriever.h.
|
private |
Definition at line 100 of file EventRetriever.h.
|
private |
Definition at line 107 of file EventRetriever.h.