OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
OpalProbe.h
Go to the documentation of this file.
1//
2// Class OpalProbe
3// The Probe 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_OpalProbe_HH
19#define OPAL_OpalProbe_HH
20
22
23class OpalProbe : public OpalElement {
24public:
26 enum {
27 XSTART = COMMON, // Start of x coordinate
28 XEND, // End of x coordinate
29 YSTART, // Start of y coordinate
30 YEND, // End of y coordinate
31 WIDTH, // Width of the probe
32 STEP, // Step size of the probe
34 };
36 OpalProbe();
37
38 virtual ~OpalProbe();
39
41 virtual OpalProbe* clone(const std::string& name);
42
44 virtual void update();
45
46private:
47 // Not implemented.
49 void operator=(const OpalProbe&);
50
51 // Clone constructor.
52 OpalProbe(const std::string& name, OpalProbe* parent);
53};
54
55#endif // OPAL_OpalProbe_HH
OpalElement(int size, const char *name, const char *help)
Exemplar constructor.
OpalProbe(const OpalProbe &)
void operator=(const OpalProbe &)
OpalProbe()
Exemplar constructor.
Definition OpalProbe.cpp:25
virtual ~OpalProbe()
Definition OpalProbe.cpp:42
virtual OpalProbe * clone(const std::string &name)
Make clone.
Definition OpalProbe.cpp:45
virtual void update()
Update the embedded CLASSIC probe.
Definition OpalProbe.cpp:49