#include <DataPointMonitor.h>
Public Member Functions | |
DataPointMonitor (const std::vector< JsonMonitorable * > &monitorableVariables, string defPath) | |
void | snap (DataPoint &outputDataPoint) |
virtual | ~DataPointMonitor () |
Private Member Functions | |
JsonMonitorable * | getVarForName (string name) const |
bool | isStringMonitorable (string key) const |
Private Attributes | |
string | defPath_ |
DataPointDefinition | dpd_ |
vector< JsonMonitorable * > | monitorableVars_ |
vector< JsonMonitorable * > | monitoredVars_ |
vector< string > | toBeMonitored_ |
Definition at line 23 of file DataPointMonitor.h.
DataPointMonitor::DataPointMonitor | ( | const std::vector< JsonMonitorable * > & | monitorableVariables, |
string | defPath | ||
) |
Definition at line 13 of file DataPointMonitor.cc.
References defPath_, dpd_, jsoncollector::ObjectMerger::getDataPointDefinitionFor(), jsoncollector::DataPointDefinition::getLegend(), getVarForName(), i, jsoncollector::DataPointDefinition::isPopulated(), and monitoredVars_.
|
virtual |
Definition at line 26 of file DataPointMonitor.cc.
|
private |
Definition at line 44 of file DataPointMonitor.cc.
References i, and monitorableVars_.
Referenced by DataPointMonitor().
|
private |
Definition at line 37 of file DataPointMonitor.cc.
References i, and toBeMonitored_.
void DataPointMonitor::snap | ( | DataPoint & | outputDataPoint | ) |
Definition at line 29 of file DataPointMonitor.cc.
References jsoncollector::DataPoint::addToData(), defPath_, i, monitoredVars_, jsoncollector::DataPoint::resetData(), jsoncollector::DataPoint::setDefinition(), and jsoncollector::DataPoint::setSource().
Referenced by RawEventFileWriterForBU::endOfLS(), MTRawEventFileWriterForBU::endOfLS(), and RawEventFileWriterForBU::initialize().
|
private |
Definition at line 41 of file DataPointMonitor.h.
Referenced by DataPointMonitor(), and snap().
|
private |
Definition at line 40 of file DataPointMonitor.h.
Referenced by DataPointMonitor().
|
private |
Definition at line 37 of file DataPointMonitor.h.
Referenced by getVarForName().
|
private |
Definition at line 39 of file DataPointMonitor.h.
Referenced by DataPointMonitor(), and snap().
|
private |
Definition at line 38 of file DataPointMonitor.h.
Referenced by isStringMonitorable().