25 double(MonitorRep::*get)()
const;
26 void (MonitorRep::*set)(double);
65 for(
const Entry *entry =
entries; entry->name != 0; ++entry) {
66 if(aKey == entry->name) {
const SingleMultipole< 4 >::Entry SingleMultipole< 4 >::entries[]
virtual Channel * getChannel(const std::string &aKey, bool create=false)
Construct a read/write channel.
virtual double getElementLength() const
Get design length.
virtual void setElementLength(double length)
Set design length.
ElementBase(const std::string &name)
Constructor with given name.
@ XY
Monitor acts on both planes.
@ OFF
Monitor is off (inactive).
Monitor(const std::string &name)
Constructor with given name.
NullField field
The zero magnetic field.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
virtual ElementBase * clone() const
Return clone.
virtual NullField & getField()
Get field.
StraightGeometry geometry
The monitor geometry.
virtual StraightGeometry & getGeometry()
Get geometry.
MonitorRep(const std::string &name)
Constructor with given name.
virtual Plane getPlane() const
Get planes.
virtual void setActive(bool=true)
Set active flag.
bool active
The active/inactive flag.
A geometry representing a straight line.
Abstract interface for read/write access to variable.
Access to a [b]double[/b] data member.
A zero electromagnetic field.