OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
XMonitorRep.h
Go to the documentation of this file.
1 #ifndef CLASSIC_XMonitorRep_HH
2 #define CLASSIC_XMonitorRep_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: XMonitorRep.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: XMonitorRep
13 //
14 // ------------------------------------------------------------------------
15 // Class category: BeamlineCore
16 // ------------------------------------------------------------------------
17 //
18 // $Date: 2000/03/27 09:32:34 $
19 // $Author: fci $
20 //
21 // ------------------------------------------------------------------------
22 
24 
25 
26 // Class XMonitorRep
27 // ------------------------------------------------------------------------
29 // Acts on the horizontal plane.
30 
31 class XMonitorRep: public MonitorRep {
32 
33 public:
34 
36  explicit XMonitorRep(const std::string &name);
37 
38  XMonitorRep();
39  XMonitorRep(const XMonitorRep &);
40  virtual ~XMonitorRep();
41 
43  // Return an identical deep copy of the element.
44  virtual ElementBase *clone() const;
45 
47  // This method constructs a Channel permitting read/write access to
48  // the attribute [b]aKey[/b] and returns it.
49  // If the attribute does not exist, it returns NULL.
50  virtual Channel *getChannel(const std::string &aKey, bool = false);
51 
53  // Return the image of the element, containing the name and type string
54  // of the element, and a copy of the user-defined attributes.
55  virtual ElementImage *getImage() const;
56 
58  // Return the x-plane for this class.
59  virtual Plane getPlane() const;
60 
61 private:
62 
63  // Not implemented.
64  void operator=(const XMonitorRep &);
65 };
66 
67 #endif // CLASSIC_XMonitorRep_HH
void operator=(const XMonitorRep &)
Interface for basic beam line object.
Definition: ElementBase.h:128
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
Definition: XMonitorRep.cpp:74
Representation for a orbit position monitor.
Definition: XMonitorRep.h:31
virtual ElementBase * clone() const
Return clone.
Definition: XMonitorRep.cpp:69
An image of an element.
Definition: ElementImage.h:35
virtual ~XMonitorRep()
Definition: XMonitorRep.cpp:65
virtual ElementImage * getImage() const
Construct an image.
Definition: XMonitorRep.cpp:85
Abstract interface for read/write access to variable.
Definition: Channel.h:32
const std::string name
Representation for an orbit position monitor.
Definition: MonitorRep.h:32
virtual Plane getPlane() const
Get plane.
Definition: XMonitorRep.cpp:96
Plane
Plane selection.
Definition: Monitor.h:46