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 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 ()
 
 QualityMetric (timespec now, int default_value=260)
 

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 77 of file QualityMetric.h.

Constructor & Destructor Documentation

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

Definition at line 174 of file QualityMetric.cc.

175  : QualityMetric(now, default_value),
176  m_parent(parent)
177 {}
QualityMetric(timespec now, int default_value=260)
QualityMetricUniqueSource & m_parent
Definition: QualityMetric.h:87

Member Function Documentation

void QualityMetricSource::startWatch ( QualityMetricWatch watch)

Definition at line 180 of file QualityMetric.cc.

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

181 {
183  watch.swap(tmp);
184 }
QualityMetricUniqueSource & m_parent
Definition: QualityMetric.h:87
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
void swap(QualityMetricWatch &)

Friends And Related Function Documentation

friend class QualityMetricUniqueSource
friend

Definition at line 79 of file QualityMetric.h.

Member Data Documentation

QualityMetricUniqueSource& XrdAdaptor::QualityMetricSource::m_parent
private

Definition at line 87 of file QualityMetric.h.

Referenced by startWatch().