OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
OpalInstrument.h
Go to the documentation of this file.
1 #ifndef OPAL_OpalInstrument_HH
2 #define OPAL_OpalInstrument_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: OpalInstrument.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: OpalInstrument
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 
24 // Class OpalInstrument
25 // ------------------------------------------------------------------------
27 
28 class OpalInstrument: public OpalElement {
29 
30 public:
31 
34 
35  virtual ~OpalInstrument();
36 
38  virtual OpalInstrument *clone(const std::string &name);
39 
41  virtual void update();
42 
43 private:
44 
45  // Not implemented.
47  void operator=(const OpalInstrument &);
48 
49  // Clone constructor.
50  OpalInstrument(const std::string &name, OpalInstrument *parent);
51 };
52 
53 #endif // OPAL_OpalInstrument_HH
virtual OpalInstrument * clone(const std::string &name)
Make clone.
OpalInstrument()
Exemplar constructor.
virtual ~OpalInstrument()
Base class for all beam line elements.
Definition: OpalElement.h:41
The INSTRUMENT element.
void operator=(const OpalInstrument &)
const std::string name
virtual void update()
Update the embedded CLASSIC drift.