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