OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
OpalRBend.h
Go to the documentation of this file.
1//
2// Class OpalRBend
3// The RBEND 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_OpalRBend_HH
19#define OPAL_OpalRBend_HH
20
21#include "Elements/OpalBend.h"
22
23class OpalRBend : public OpalBend {
24public:
26 OpalRBend();
27
28 virtual ~OpalRBend();
29
31 virtual OpalRBend* clone(const std::string& name);
32
34 virtual void update();
35
36private:
37 // Not implemented.
39 void operator=(const OpalRBend&);
40
41 // Clone constructor.
42 OpalRBend(const std::string& name, OpalRBend* parent);
43};
44
45#endif // OPAL_OpalRBend_HH
Base class for all bending magnets.
Definition OpalBend.h:29
void operator=(const OpalRBend &)
OpalRBend(const OpalRBend &)
virtual OpalRBend * clone(const std::string &name)
Make clone.
Definition OpalRBend.cpp:40
OpalRBend()
Exemplar constructor.
Definition OpalRBend.cpp:27
virtual void update()
Update the embedded CLASSIC bend.
Definition OpalRBend.cpp:42
virtual ~OpalRBend()
Definition OpalRBend.cpp:38