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