OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
OpalVerticalFFAMagnet.h
Go to the documentation of this file.
1//
2// Class OpalVerticalFFAMagnet
3// The class provides the user interface for the VERTICALFFA object
4//
5// Copyright (c) 2019 - 2023 Chris Rogers, STFC Rutherford Appleton Laboratory, Didcot, UK
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_OPALVERTICALFFAMAGNET_H
19#define OPAL_OPALVERTICALFFAMAGNET_H
20
22
24
25public:
27 enum {
37 SIZE // size of the enum
38 };
39
42
44 virtual ~OpalVerticalFFAMagnet();
45
47 virtual OpalVerticalFFAMagnet* clone(const std::string& name);
48
50 virtual void update();
51
52private:
53 // Not implemented.
56
57 // Clone constructor.
58 OpalVerticalFFAMagnet(const std::string& name, OpalVerticalFFAMagnet* parent);
59
60 static const std::string docstring_m;
61};
62
63#endif // OPAL_OPALVERTICALFFAMAGNET_H
64
const std::string name
OpalElement(int size, const char *name, const char *help)
Exemplar constructor.
void operator=(const OpalVerticalFFAMagnet &)
OpalVerticalFFAMagnet(const OpalVerticalFFAMagnet &)
static const std::string docstring_m
virtual OpalVerticalFFAMagnet * clone(const std::string &name)