OPALX (Object Oriented Parallel Accelerator Library for Exascal)
master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
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
public
:
27
MonitorStatisticsWriter
(
const
std::string& fname,
bool
restart);
28
29
void
addRow
(
const
SetStatistics
& set);
30
31
private
:
32
void
fillHeader
();
33
};
34
35
#endif
SDDSWriter.h
MonitorStatisticsWriter
Definition
MonitorStatisticsWriter.h:25
MonitorStatisticsWriter::addRow
void addRow(const SetStatistics &set)
Definition
MonitorStatisticsWriter.cpp:72
MonitorStatisticsWriter::fillHeader
void fillHeader()
Definition
MonitorStatisticsWriter.cpp:27
SDDSWriter
Definition
SDDSWriter.h:38
SetStatistics
Definition
LossDataSink.h:36
src
Structure
MonitorStatisticsWriter.h
Generated on Mon Jun 1 2026 10:40:53 for OPALX (Object Oriented Parallel Accelerator Library for Exascal) by
1.9.8