CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DQMOldReceiver Class Reference

#include <DQMOldReceiver.h>

Public Member Functions

bool doMonitoring () DQM_DEPRECATED
 
 DQMOldReceiver () DQM_DEPRECATED
 
 DQMOldReceiver (const std::string &hostname, int port, const std::string &client_name, int unusedReconnectDelaySecs=-1, bool unusedActAsServer=false) DQM_DEPRECATED
 
DQMStore * getBEInterface () DQM_DEPRECATED
 
int getNumUpdates () const DQM_DEPRECATED
 
DQMStore * getStore () DQM_DEPRECATED
 get pointer to back-end interface More...
 
bool update () DQM_DEPRECATED
 
 ~DQMOldReceiver () DQM_DEPRECATED
 

Private Attributes

DQMStore * store_
 use to get hold of structure with monitoring elements that class owns More...
 

Detailed Description

Definition at line 11 of file DQMOldReceiver.h.

Constructor & Destructor Documentation

DQMOldReceiver::DQMOldReceiver ( )

Connect with monitoring server (DQM Collector) at <hostname> and <port_no> using <client_name>; if flag=true, client will accept downstream connections DQMOldReceiver(std::string hostname,int port_no,std::string client_name,

int reconnect_delay_secs = 5, bool actAsServer = false); Connect with monitoring server (DQM Collector) with a list of hostnames at <port_no> using <client_name>; if flag=true, client will accept downstream connections DQMOldReceiver::DQMOldReceiver(std::vector<std::string> hostnames, int port_no, std::string client_name, int reconnect_delay_secs=5, bool actAsServer=false); Use the default constructor for running in standalone mode (ie. without sources or collectors); if flag=true, client will accept downstream connections

Definition at line 6 of file DQMOldReceiver.cc.

References ~DQMOldReceiver().

6 : store_(nullptr) {}
DQMStore * store_
use to get hold of structure with monitoring elements that class owns
DQMOldReceiver::DQMOldReceiver ( const std::string &  hostname,
int  port,
const std::string &  client_name,
int  unusedReconnectDelaySecs = -1,
bool  unusedActAsServer = false 
)

Connect with monitoring server (DQM Collector) at <hostname> and <port_no> using <client_name>;

Definition at line 4 of file DQMOldReceiver.cc.

4 : store_(nullptr) {}
DQMStore * store_
use to get hold of structure with monitoring elements that class owns
DQMOldReceiver::~DQMOldReceiver ( )
default

Referenced by DQMOldReceiver().

Member Function Documentation

bool DQMOldReceiver::doMonitoring ( )

Definition at line 15 of file DQMOldReceiver.cc.

References raiseDQMError().

Referenced by getBEInterface().

15  {
16  raiseDQMError("DQMOldReceiver", "DQMOldReceiver::doMonitoring() is obsolete");
17  return true;
18 }
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:10
DQMStore* DQMOldReceiver::getBEInterface ( )
inline

Definition at line 45 of file DQMOldReceiver.h.

References doMonitoring(), DQM_DEPRECATED, store_, and update().

45 { return store_; }
DQMStore * store_
use to get hold of structure with monitoring elements that class owns
int DQMOldReceiver::getNumUpdates ( ) const
inline

Definition at line 54 of file DQMOldReceiver.h.

54 { return 0; }
DQMStore* DQMOldReceiver::getStore ( )
inline

get pointer to back-end interface

Definition at line 44 of file DQMOldReceiver.h.

References store_.

44 { return store_; }
DQMStore * store_
use to get hold of structure with monitoring elements that class owns
bool DQMOldReceiver::update ( )

this is the "main" loop where we receive monitoring or send subscription requests; if client acts as server, method runQTests is also sending monitoring & test results to clients downstream; returns success flag

Definition at line 10 of file DQMOldReceiver.cc.

References raiseDQMError().

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), getBEInterface(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

10  {
11  raiseDQMError("DQMOldReceiver", "DQMOldReceiver::update() is obsolete");
12  return true;
13 }
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:10

Member Data Documentation

DQMStore* DQMOldReceiver::store_
private

use to get hold of structure with monitoring elements that class owns

Definition at line 58 of file DQMOldReceiver.h.

Referenced by getBEInterface(), and getStore().