CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
XrdAdaptor::QualityMetricSource Class Referencefinal

#include <QualityMetric.h>

Inheritance diagram for XrdAdaptor::QualityMetricSource:
XrdAdaptor::QualityMetric

Public Member Functions

void startWatch (QualityMetricWatch &)
 
- Public Member Functions inherited from XrdAdaptor::QualityMetric
unsigned get ()
 
QualityMetricoperator= (const QualityMetric &)=delete
 
 QualityMetric (timespec now, int default_value=260)
 
 QualityMetric (const QualityMetric &)=delete
 

Private Member Functions

 QualityMetricSource (QualityMetricUniqueSource &parent, timespec now, int default_value)
 

Private Attributes

QualityMetricUniqueSourcem_parent
 

Friends

class QualityMetricUniqueSource
 

Detailed Description

This QM implementation is meant to be held by each XrdAdaptor::Source instance

Definition at line 83 of file QualityMetric.h.

Constructor & Destructor Documentation

◆ QualityMetricSource()

QualityMetricSource::QualityMetricSource ( QualityMetricUniqueSource parent,
timespec  now,
int  default_value 
)
private

Definition at line 148 of file QualityMetric.cc.

149  : QualityMetric(now, default_value), m_parent(parent) {}
QualityMetric(timespec now, int default_value=260)
QualityMetricUniqueSource & m_parent
Definition: QualityMetric.h:92

Member Function Documentation

◆ startWatch()

void QualityMetricSource::startWatch ( QualityMetricWatch watch)

Definition at line 151 of file QualityMetric.cc.

References m_parent, XrdAdaptor::QualityMetricWatch::swap(), and createJobs::tmp.

151  {
153  watch.swap(tmp);
154 }
QualityMetricUniqueSource & m_parent
Definition: QualityMetric.h:92
void swap(QualityMetricWatch &)
tmp
align.sh
Definition: createJobs.py:716

Friends And Related Function Documentation

◆ QualityMetricUniqueSource

friend class QualityMetricUniqueSource
friend

Definition at line 84 of file QualityMetric.h.

Member Data Documentation

◆ m_parent

QualityMetricUniqueSource& XrdAdaptor::QualityMetricSource::m_parent
private

Definition at line 92 of file QualityMetric.h.

Referenced by startWatch().