OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
OpalVariableRFCavity.h
Go to the documentation of this file.
1//
2// Class OpalVariableRFCavity
3// The class provides the user interface for the VARIABLE_RF_CAVITY object.
4//
5// Copyright (c) 2014 - 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_OPALVARIABLERFCAVITY_H
19#define OPAL_OPALVARIABLERFCAVITY_H
20
22
24public:
26 enum {
32 SIZE // size of the enum
33 };
34
36 OpalVariableRFCavity(const std::string& name, OpalVariableRFCavity* parent);
37
40
46
51 OpalVariableRFCavity* clone(const std::string& name) override;
52
54 ~OpalVariableRFCavity() override = default;
55
57 void update() override;
58
59 // Not implemented.
61 void operator=(const OpalVariableRFCavity&) = delete;
62
63private:
64 static const std::string doc_string;
65};
66
67#endif // OPAL_OPALVARIABLERFCAVITY_H
OpalVariableRFCavity * clone()
void operator=(const OpalVariableRFCavity &)=delete
OpalVariableRFCavity(const OpalVariableRFCavity &)=delete
static const std::string doc_string
~OpalVariableRFCavity() override=default