test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
DQMOldReceiver Class Reference

#include <DQMOldReceiver.h>

Public Member Functions

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

Private Attributes

DQMStorestore_
 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 ( void  )

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 8 of file DQMOldReceiver.cc.

9  : store_ (0)
10 {}
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.

5  : store_ (0)
6 {}
DQMStore * store_
use to get hold of structure with monitoring elements that class owns
DQMOldReceiver::~DQMOldReceiver ( void  )

Definition at line 12 of file DQMOldReceiver.cc.

13 {}

Member Function Documentation

bool DQMOldReceiver::doMonitoring ( void  )

Definition at line 23 of file DQMOldReceiver.cc.

References raiseDQMError().

24 {
25  raiseDQMError("DQMOldReceiver", "DQMOldReceiver::doMonitoring() is obsolete");
26  return true;
27 }
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
DQMStore* DQMOldReceiver::getBEInterface ( void  )
inline

Definition at line 48 of file DQMOldReceiver.h.

References store_.

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

Definition at line 58 of file DQMOldReceiver.h.

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

get pointer to back-end interface

Definition at line 46 of file DQMOldReceiver.h.

References store_.

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

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 16 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(), 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().

17 {
18  raiseDQMError("DQMOldReceiver", "DQMOldReceiver::update() is obsolete");
19  return true;
20 }
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11

Member Data Documentation

DQMStore* DQMOldReceiver::store_
private

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

Definition at line 62 of file DQMOldReceiver.h.

Referenced by getBEInterface(), and getStore().