OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
OpalRBend.h
Go to the documentation of this file.
1 #ifndef OPAL_OpalRBend_HH
2 #define OPAL_OpalRBend_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: OpalRBend.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.3 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: OpalRBend
13 //
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2001/08/24 19:35:09 $
17 // $Author: jsberg $
18 //
19 // ------------------------------------------------------------------------
20 
21 #include "Elements/OpalBend.h"
22 
23 class OpalWake;
25 
26 //
27 // Class OpalRBend
28 // ------------------------------------------------------------------------
30 
31 class OpalRBend: public OpalBend {
32 
33 public:
34 
36  OpalRBend();
37 
38  virtual ~OpalRBend();
39 
41  virtual OpalRBend *clone(const std::string &name);
42 
44  virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag);
45 
47  virtual void update();
48 
49 private:
50 
51  // Not implemented.
52  OpalRBend(const OpalRBend &);
53  void operator=(const OpalRBend &);
54 
55  // Clone constructor.
56  OpalRBend(const std::string &name, OpalRBend *parent);
57 
60 };
61 
62 #endif // OPAL_OpalRBend_HH
virtual void update()
Update the embedded CLASSIC bend.
Definition: OpalRBend.cpp:112
void operator=(const OpalRBend &)
Interface for basic beam line object.
Definition: ElementBase.h:128
ValueFlag
Switch for value desired on ATTLIST command.
Definition: OpalElement.h:71
ParticleMatterInteraction * parmatint_m
Definition: OpalRBend.h:59
The WAKE definition.
Definition: OpalWake.h:34
Base class for all bending magnets.
Definition: OpalBend.h:30
OpalRBend()
Exemplar constructor.
Definition: OpalRBend.cpp:34
OpalWake * owk_m
Definition: OpalRBend.h:58
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Fill in all registered attributes.
Definition: OpalRBend.cpp:68
The RBEND element.
Definition: OpalRBend.h:31
const std::string name
virtual OpalRBend * clone(const std::string &name)
Make clone.
Definition: OpalRBend.cpp:62
virtual ~OpalRBend()
Definition: OpalRBend.cpp:54