double getReal(const Attribute &attr)
Return real value.
Attribute makeReal(const std::string &name, const std::string &help)
Make real attribute.
std::string getString(const Attribute &attr)
Get string value.
virtual void setElementLength(double length)
Set design length.
void setOutputFN(std::string fn)
Set output filename.
void setDimensions(double xstart, double xend, double ystart, double yend)
Set dimensions and consistency checks.
void setStep(double step)
Set probe histogram bin width.
ElementBase * getElement() const
Return the embedded CLASSIC element.
void setElement(ElementBase *)
Assign new CLASSIC element.
std::vector< Attribute > itsAttr
The object attributes.
virtual void updateUnknown(ElementBase *)
Transmit the ``unknown'' (not known to OPAL) attributes to CLASSIC.
virtual void update()
Update the embedded CLASSIC element.
OpalElement(int size, const char *name, const char *help)
Exemplar constructor.
void registerOwnership() const
OpalProbe()
Exemplar constructor.
virtual OpalProbe * clone(const std::string &name)
Make clone.
virtual void update()
Update the embedded CLASSIC probe.