46 #ifndef OME_XML_MODEL_DETECTORSETTINGS_H 47 #define OME_XML_MODEL_DETECTORSETTINGS_H 57 #include <ome/common/xml/dom/Document.h> 58 #include <ome/common/xml/dom/Element.h> 59 #include <ome/common/xml/dom/Node.h> 61 #include <ome/xml/model/primitives/Quantity.h> 63 #include <ome/xml/model/Detector.h> 64 #include <ome/xml/model/Settings.h> 65 #include <ome/xml/model/enums/Binning.h> 66 #include <ome/xml/model/enums/UnitsElectricPotential.h> 67 #include <ome/xml/model/enums/UnitsFrequency.h> 68 #include <ome/xml/model/primitives/PositiveInteger.h> 88 std::shared_ptr<Impl>
impl;
119 static std::shared_ptr<DetectorSettings>
149 link (std::shared_ptr<Reference>& reference,
150 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
157 std::shared_ptr<double>
165 const std::shared_ptr<double>
174 setZoom (std::shared_ptr<double>& zoom);
181 std::shared_ptr<ome::xml::model::enums::Binning>
189 const std::shared_ptr<ome::xml::model::enums::Binning>
198 setBinning (std::shared_ptr<ome::xml::model::enums::Binning>& binning);
205 std::shared_ptr<ome::xml::model::primitives::PositiveInteger>
213 const std::shared_ptr<ome::xml::model::primitives::PositiveInteger>
222 setIntegration (std::shared_ptr<ome::xml::model::primitives::PositiveInteger>& integration);
229 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsFrequency > >&
237 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsFrequency > >&
253 std::shared_ptr<double>
261 const std::shared_ptr<double>
270 setGain (std::shared_ptr<double>& gain);
277 std::shared_ptr<double>
285 const std::shared_ptr<double>
294 setOffset (std::shared_ptr<double>& offset);
310 setID (
const std::string&
id);
317 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsElectricPotential > >&
325 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsElectricPotential > >&
341 std::weak_ptr<ome::xml::model::Detector>
349 const std::weak_ptr<ome::xml::model::Detector>
358 setDetector (std::weak_ptr<ome::xml::model::Detector>& detector);
376 #endif // OME_XML_MODEL_DETECTORSETTINGS_H OME model interface (abstract top-level container)
Definition: OMEModel.h:61
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsFrequency > > & getReadOutRate()
Get the ReadOutRate property.
Definition: DetectorSettings.cpp:390
bool link(std::shared_ptr< Reference > &reference, std::shared_ptr< ome::xml::model::OMEModelObject > &object)
Link a given OME model object to this model object.
Definition: DetectorSettings.cpp:312
virtual void asXMLElementInternal(common::xml::dom::Document &document, common::xml::dom::Element &element) const
Transform the object hierarchy rooted at this element to XML.
Definition: DetectorSettings.cpp:508
const std::string & elementName() const
Get the element name of this model object.
Definition: DetectorSettings.cpp:198
Settings model object.
Definition: Settings.h:78
std::weak_ptr< ome::xml::model::Detector > getDetector()
Get the Detector property.
Definition: DetectorSettings.cpp:488
void setVoltage(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsElectricPotential > > &voltage)
Set the Voltage property.
Definition: DetectorSettings.cpp:481
std::shared_ptr< Impl > impl
Private implementation details.
Definition: DetectorSettings.h:86
void setBinning(std::shared_ptr< ome::xml::model::enums::Binning > &binning)
Set the Binning property.
Definition: DetectorSettings.cpp:362
void setZoom(std::shared_ptr< double > &zoom)
Set the Zoom property.
Definition: DetectorSettings.cpp:341
std::shared_ptr< ome::xml::model::primitives::PositiveInteger > getIntegration()
Get the Integration property.
Definition: DetectorSettings.cpp:369
void setGain(std::shared_ptr< double > &gain)
Set the Gain property.
Definition: DetectorSettings.cpp:425
Private implementation details of DetectorSettings model object.
Definition: DetectorSettings.cpp:74
Open Microscopy Environment C++ implementation.
DetectorSettings()
Default constructor.
Definition: DetectorSettings.cpp:169
DetectorSettings model object.
Definition: DetectorSettings.h:83
const std::string & getID() const
Get the ID property.
Definition: DetectorSettings.cpp:453
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsElectricPotential > > & getVoltage()
Get the Voltage property.
Definition: DetectorSettings.cpp:467
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: DetectorSettings.cpp:205
void setIntegration(std::shared_ptr< ome::xml::model::primitives::PositiveInteger > &integration)
Set the Integration property.
Definition: DetectorSettings.cpp:383
virtual void update(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Update the object hierarchy recursively from an XML DOM tree.
Definition: DetectorSettings.cpp:211
std::shared_ptr< double > getGain()
Get the Gain property.
Definition: DetectorSettings.cpp:411
std::shared_ptr< double > getZoom()
Get the Zoom property.
Definition: DetectorSettings.cpp:327
DetectorSettings & operator=(const DetectorSettings &)
Assignment operator (deleted).
void setID(const std::string &id)
Set the ID property.
Definition: DetectorSettings.cpp:460
static std::shared_ptr< DetectorSettings > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a DetectorSettings model object from DOM element.
Definition: DetectorSettings.cpp:189
std::shared_ptr< double > getOffset()
Get the Offset property.
Definition: DetectorSettings.cpp:432
A quantity of a defined unit.
Definition: Quantity.h:57
std::shared_ptr< ome::xml::model::enums::Binning > getBinning()
Get the Binning property.
Definition: DetectorSettings.cpp:348
void setOffset(std::shared_ptr< double > &offset)
Set the Offset property.
Definition: DetectorSettings.cpp:446
void setReadOutRate(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsFrequency > > &readOutRate)
Set the ReadOutRate property.
Definition: DetectorSettings.cpp:404
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: DetectorSettings.cpp:602
virtual ~DetectorSettings()
Destructor.
Definition: DetectorSettings.cpp:184
void setDetector(std::weak_ptr< ome::xml::model::Detector > &detector)
Set the Detector property.
Definition: DetectorSettings.cpp:502