46 #ifndef OME_XML_MODEL_LASER_H 47 #define OME_XML_MODEL_LASER_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/LightSource.h> 64 #include <ome/xml/model/enums/LaserMedium.h> 65 #include <ome/xml/model/enums/LaserType.h> 66 #include <ome/xml/model/enums/Pulse.h> 67 #include <ome/xml/model/enums/UnitsFrequency.h> 68 #include <ome/xml/model/enums/UnitsLength.h> 69 #include <ome/xml/model/primitives/PositiveFloat.h> 70 #include <ome/xml/model/primitives/PositiveInteger.h> 90 std::shared_ptr<Impl>
impl;
121 static std::shared_ptr<Laser>
135 operator= (
const Laser&) =
delete;
150 link (std::shared_ptr<Reference>& reference,
151 std::shared_ptr<ome::xml::model::OMEModelObject>&
object);
158 std::shared_ptr<bool>
166 const std::shared_ptr<bool>
182 std::shared_ptr<bool>
190 const std::shared_ptr<bool>
206 std::shared_ptr<ome::xml::model::enums::LaserMedium>
214 const std::shared_ptr<ome::xml::model::enums::LaserMedium>
223 setLaserMedium (std::shared_ptr<ome::xml::model::enums::LaserMedium>& laserMedium);
230 std::shared_ptr<ome::xml::model::enums::Pulse>
238 const std::shared_ptr<ome::xml::model::enums::Pulse>
247 setPulse (std::shared_ptr<ome::xml::model::enums::Pulse>& pulse);
254 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > >&
262 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > >&
278 std::shared_ptr<ome::xml::model::primitives::PositiveInteger>
286 const std::shared_ptr<ome::xml::model::primitives::PositiveInteger>
302 std::shared_ptr<ome::xml::model::enums::LaserType>
310 const std::shared_ptr<ome::xml::model::enums::LaserType>
319 setType (std::shared_ptr<ome::xml::model::enums::LaserType>& type);
326 std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsFrequency > >&
334 const std::shared_ptr<ome::xml::model::primitives::Quantity<ome::xml::model::enums::UnitsFrequency > >&
351 std::weak_ptr<ome::xml::model::LightSource>
360 const std::weak_ptr<ome::xml::model::LightSource>
369 linkPump (std::shared_ptr<ome::xml::model::LightSource>& pump);
381 unlinkPump (std::shared_ptr<ome::xml::model::LightSource>& pump);
402 #endif // OME_XML_MODEL_LASER_H OME model interface (abstract top-level container)
Definition: OMEModel.h:61
std::shared_ptr< ome::xml::model::enums::LaserType > getType()
Get the Type property.
Definition: Laser.cpp:475
virtual ~Laser()
Destructor.
Definition: Laser.cpp:195
std::shared_ptr< ome::xml::model::primitives::PositiveInteger > getFrequencyMultiplication()
Get the FrequencyMultiplication property.
Definition: Laser.cpp:454
void setFrequencyMultiplication(std::shared_ptr< ome::xml::model::primitives::PositiveInteger > &frequencyMultiplication)
Set the FrequencyMultiplication property.
Definition: Laser.cpp:468
void setPockelCell(std::shared_ptr< bool > &pockelCell)
Set the PockelCell property.
Definition: Laser.cpp:363
std::weak_ptr< ome::xml::model::LightSource > getLinkedPump()
Get linked Pump.
Definition: Laser.cpp:517
std::shared_ptr< bool > getTuneable()
Get the Tuneable property.
Definition: Laser.cpp:370
void setTuneable(std::shared_ptr< bool > &tuneable)
Set the Tuneable property.
Definition: Laser.cpp:384
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: Laser.cpp:664
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: Laser.cpp:216
std::shared_ptr< ome::xml::model::enums::LaserMedium > getLaserMedium()
Get the LaserMedium property.
Definition: Laser.cpp:391
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > & getWavelength()
Get the Wavelength property.
Definition: Laser.cpp:433
void setWavelength(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsLength, ome::xml::model::primitives::PositiveFloat > > &wavelength)
Set the Wavelength property.
Definition: Laser.cpp:447
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: Laser.cpp:222
std::shared_ptr< ome::xml::model::enums::Pulse > getPulse()
Get the Pulse property.
Definition: Laser.cpp:412
void setPulse(std::shared_ptr< ome::xml::model::enums::Pulse > &pulse)
Set the Pulse property.
Definition: Laser.cpp:426
void linkPump(std::shared_ptr< ome::xml::model::LightSource > &pump)
Link Pump.
Definition: Laser.cpp:530
const std::string & getLightSourceType() const
Get the LightSource type.
Definition: Laser.cpp:545
std::shared_ptr< bool > getPockelCell()
Get the PockelCell property.
Definition: Laser.cpp:349
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: Laser.cpp:324
Open Microscopy Environment C++ implementation.
std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsFrequency > > & getRepetitionRate()
Get the RepetitionRate property.
Definition: Laser.cpp:496
Laser()
Default constructor.
Definition: Laser.cpp:176
void unlinkPump(std::shared_ptr< ome::xml::model::LightSource > &pump)
Unlink Pump.
Definition: Laser.cpp:536
static std::shared_ptr< Laser > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a Laser model object from DOM element.
Definition: Laser.cpp:200
void setLaserMedium(std::shared_ptr< ome::xml::model::enums::LaserMedium > &laserMedium)
Set the LaserMedium property.
Definition: Laser.cpp:405
Laser model object.
Definition: Laser.h:85
std::shared_ptr< Impl > impl
Private implementation details.
Definition: Laser.h:88
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: Laser.cpp:552
A quantity of a defined unit.
Definition: Quantity.h:57
void setType(std::shared_ptr< ome::xml::model::enums::LaserType > &type)
Set the Type property.
Definition: Laser.cpp:489
void setRepetitionRate(const std::shared_ptr< ome::xml::model::primitives::Quantity< ome::xml::model::enums::UnitsFrequency > > &repetitionRate)
Set the RepetitionRate property.
Definition: Laser.cpp:510
Private implementation details of Laser model object.
Definition: Laser.cpp:77
LightSource model object.
Definition: LightSource.h:81
const std::string & elementName() const
Get the element name of this model object.
Definition: Laser.cpp:209