OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
OpalMonitor.h
Go to the documentation of this file.
1//
2// Class OpalMonitor
3// The MONITOR element.
4//
5// Copyright (c) 200x - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
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_OpalMonitor_HH
19#define OPAL_OpalMonitor_HH
20
22
23class OpalMonitor: public OpalElement {
24
25public:
26
29
30 virtual ~OpalMonitor();
31
33 virtual OpalMonitor* clone(const std::string& name);
34
36 virtual void update();
37
38private:
39
40 // Not implemented.
42 void operator=(const OpalMonitor&);
43
44 // Clone constructor.
45 OpalMonitor(const std::string& name, OpalMonitor* parent);
46};
47
48#endif // OPAL_OpalMonitor_HH
const std::string name
virtual ~OpalMonitor()
Definition: OpalMonitor.cpp:41
void operator=(const OpalMonitor &)
OpalMonitor(const OpalMonitor &)
OpalMonitor()
Exemplar constructor.
Definition: OpalMonitor.cpp:25
virtual void update()
Update the embedded CLASSIC monitor.
Definition: OpalMonitor.cpp:50
virtual OpalMonitor * clone(const std::string &name)
Make clone.
Definition: OpalMonitor.cpp:45