25 :
OpalElement(COMMON,
"MONITOR",
"The \"MONITOR\" element defines a monitor for both planes.") {
virtual void setElementLength(double length)
Set design length.
void setOutputFN(std::string fn)
Set output filename.
ElementBase * getElement() const
Return the embedded OPALX element.
void setElement(ElementBase *)
Assign new OPALX element.
void setCollectionType(CollectionType type)
std::vector< Attribute > itsAttr
The object attributes.
virtual void updateUnknown(ElementBase *)
Transmit the `‘unknown’' (not known to OPALX) attributes to OPALX.
virtual void update()
Update the embedded OPALX element.
void registerOwnership() const
OpalMonitor()
Exemplar constructor.
virtual void update()
Update the embedded OPALX monitor.
virtual OpalMonitor * clone(const std::string &name)
Make clone.
double getReal(const Attribute &attr)
Return real value.
std::string getString(const Attribute &attr)
Get string value.