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>
148 link (std::shared_ptr<Reference>& reference,
149 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
156 std::shared_ptr<double>
164 const std::shared_ptr<double>
173 setZoom (std::shared_ptr<double>& zoom);
180 std::shared_ptr<ome::xml::model::enums::Binning>
188 const std::shared_ptr<ome::xml::model::enums::Binning>
197 setBinning (std::shared_ptr<ome::xml::model::enums::Binning>& binning);
204 std::shared_ptr<ome::xml::model::primitives::PositiveInteger>
212 const std::shared_ptr<ome::xml::model::primitives::PositiveInteger>
221 setIntegration (std::shared_ptr<ome::xml::model::primitives::PositiveInteger>& integration);
228 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsFrequency > >&
236 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsFrequency > >&
252 std::shared_ptr<double>
260 const std::shared_ptr<double>
269 setGain (std::shared_ptr<double>& gain);
276 std::shared_ptr<double>
284 const std::shared_ptr<double>
293 setOffset (std::shared_ptr<double>& offset);
309 setID (
const std::string&
id);
316 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsElectricPotential > >&
324 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsElectricPotential > >&
340 std::weak_ptr<ome::xml::model::Detector>
348 const std::weak_ptr<ome::xml::model::Detector>
357 setDetector (std::weak_ptr<ome::xml::model::Detector>& detector);
375 #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:398
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:320
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:516
const std::string & elementName() const
Get the element name of this model object.
Definition: DetectorSettings.cpp:206
Settings model object.
Definition: Settings.h:78
std::weak_ptr< ome::xml::model::Detector > getDetector()
Get the Detector property.
Definition: DetectorSettings.cpp:496
void setVoltage(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsElectricPotential > > &voltage)
Set the Voltage property.
Definition: DetectorSettings.cpp:489
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:370
void setZoom(std::shared_ptr< double > &zoom)
Set the Zoom property.
Definition: DetectorSettings.cpp:349
std::shared_ptr< ome::xml::model::primitives::PositiveInteger > getIntegration()
Get the Integration property.
Definition: DetectorSettings.cpp:377
void setGain(std::shared_ptr< double > &gain)
Set the Gain property.
Definition: DetectorSettings.cpp:433
Private implementation details of DetectorSettings model object.
Definition: DetectorSettings.cpp:74
Open Microscopy Environment C++ implementation.
DetectorSettings()
Default constructor.
Definition: DetectorSettings.cpp:173
DetectorSettings model object.
Definition: DetectorSettings.h:83
const std::string & getID() const
Get the ID property.
Definition: DetectorSettings.cpp:461
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsElectricPotential > > & getVoltage()
Get the Voltage property.
Definition: DetectorSettings.cpp:475
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: DetectorSettings.cpp:213
void setIntegration(std::shared_ptr< ome::xml::model::primitives::PositiveInteger > &integration)
Set the Integration property.
Definition: DetectorSettings.cpp:391
virtual SKIP 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:219
std::shared_ptr< double > getGain()
Get the Gain property.
Definition: DetectorSettings.cpp:419
std::shared_ptr< double > getZoom()
Get the Zoom property.
Definition: DetectorSettings.cpp:335
void setID(const std::string &id)
Set the ID property.
Definition: DetectorSettings.cpp:468
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:197
std::shared_ptr< double > getOffset()
Get the Offset property.
Definition: DetectorSettings.cpp:440
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:356
void setOffset(std::shared_ptr< double > &offset)
Set the Offset property.
Definition: DetectorSettings.cpp:454
void setReadOutRate(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsFrequency > > &readOutRate)
Set the ReadOutRate property.
Definition: DetectorSettings.cpp:412
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: DetectorSettings.cpp:610
virtual ~DetectorSettings()
Destructor.
Definition: DetectorSettings.cpp:192
void setDetector(std::weak_ptr< ome::xml::model::Detector > &detector)
Set the Detector property.
Definition: DetectorSettings.cpp:510