OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
OpalCyclotronValley.h
Go to the documentation of this file.
1 #ifndef OPAL_OpalCyclotronValley_HH
2 #define OPAL_OpalCyclotronValley_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: OpalCyclotronValley.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: OpalCyclotronValley
13 //
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/27 09:33:39 $
17 // $Author: Andreas Adelmann $
18 //
19 // ------------------------------------------------------------------------
20 
21 #include "Elements/OpalElement.h"
22 
23 // Class OpalCyclotronValley
24 // ------------------------------------------------------------------------
26 
27 class OpalWake;
28 
30 
31 public:
32 
34  enum {
35  FMAPFN = COMMON, // The filename of the fieldmap
38  };
39 
42 
43  virtual ~OpalCyclotronValley();
44 
46  virtual OpalCyclotronValley *clone(const std::string &name);
47 
49  virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag);
50 
52  virtual void update();
53 
54 private:
55 
56  // Not implemented.
58  void operator=(const OpalCyclotronValley &);
59 
60  // Clone constructor.
61  OpalCyclotronValley(const std::string &name, OpalCyclotronValley *parent);
62 
63 
64 };
65 
66 #endif // OPAL_OpalCyclotronValley_HH
Interface for basic beam line object.
Definition: ElementBase.h:128
ValueFlag
Switch for value desired on ATTLIST command.
Definition: OpalElement.h:71
virtual OpalCyclotronValley * clone(const std::string &name)
Make clone.
virtual void update()
Update the embedded CLASSIC cavity.
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Fill in all registered attributes.
The WAKE definition.
Definition: OpalWake.h:34
OpalCyclotronValley()
Exemplar constructor.
Base class for all beam line elements.
Definition: OpalElement.h:41
const std::string name
void operator=(const OpalCyclotronValley &)