OPAL (Object Oriented Parallel Accelerator Library)
2022.1
OPAL
src
src
Structure
MonitorStatisticsWriter.h
Go to the documentation of this file.
1
//
2
// Class MonitorStatisticsWriter
3
// This class writes statistics of monitor element.
4
//
5
// Copyright (c) 2019, Christof Metzger-Kraus, Open Sourcerer
6
// All rights reserved
7
//
8
// This file is part of OPAL.
9
//
10
// OPAL is free software: you can redistribute it and/or modify
11
// it under the terms of the GNU General Public License as published by
12
// the Free Software Foundation, either version 3 of the License, or
13
// (at your option) any later version.
14
//
15
// You should have received a copy of the GNU General Public License
16
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
17
//
18
#ifndef OPAL_MONITOR_STATISTICS_WRITER_H
19
#define OPAL_MONITOR_STATISTICS_WRITER_H
20
21
#include "
Structure/SDDSWriter.h
"
22
23
struct
SetStatistics
;
24
25
class
MonitorStatisticsWriter
:
public
SDDSWriter
{
26
27
public
:
28
MonitorStatisticsWriter
(
const
std::string& fname,
bool
restart);
29
30
void
addRow
(
const
SetStatistics
& set);
31
32
private
:
33
void
fillHeader
();
34
};
35
36
#endif
SDDSWriter.h
SetStatistics
Definition:
LossDataSink.h:37
MonitorStatisticsWriter
Definition:
MonitorStatisticsWriter.h:25
MonitorStatisticsWriter::addRow
void addRow(const SetStatistics &set)
Definition:
MonitorStatisticsWriter.cpp:77
MonitorStatisticsWriter::fillHeader
void fillHeader()
Definition:
MonitorStatisticsWriter.cpp:29
MonitorStatisticsWriter::MonitorStatisticsWriter
MonitorStatisticsWriter(const std::string &fname, bool restart)
Definition:
MonitorStatisticsWriter.cpp:24
SDDSWriter
Definition:
SDDSWriter.h:41
Generated on Thu Oct 20 2022 17:40:12 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.3