Skip to content

Inscoper::NBO::ElectroOpticalDevice_Type

Represents the XML complex type ElectroOpticalDevice. More...

#include <ElectroOpticalDevice_Type.h>

Inherits from Inscoper::NBO::ManufacturerSpec_Type, NBOBaseClass

Inherited by Inscoper::NBO::DeformableMirror, Inscoper::NBO::ElectroOpticalModulator, Inscoper::NBO::LiquidCrystalTuneableFilter, Inscoper::NBO::SpatialLightModulator

Public Functions

Name
ElectroOpticalDevice_Type()
~ElectroOpticalDevice_Type()
virtual std::string getTypeName() const override
Returns the class type name.
std::string getXMLName() const override
Returns the XML element name corresponding to this class.
ENBOType getNBOType() const override
Returns the NBO Type corresponding to this class.
std::vector< NBOBaseClassPtr > getChildren() const override
Returns a list of all classes derived from this class.
std::vector< NBOBaseClassPtr > getSubElements() const override
Returns a list of all child elements contained in this class.
void fromJsonFile(const std::string & path, bool validate =true)
Populates this object from a JSON file.
void fromJsonString(const std::string & json_string, bool validate =true)
Populates this object from a JSON string.
void fromXmlFile(const std::string & path, bool validate =true)
Populates this object from a XML file.
void fromXmlString(const std::string & xml_string, bool validate =true)
Populates this object from a XML string.
void toXmlFile(const std::string & filename, bool validate =true) const
Serializes this object to an XML file.
std::string toXmlString(bool validate =true) const
Serializes this object to an XML string.
void setID(const Inscoper::NBO::ElectroOpticalDeviceID_TypePtr & value, bool validate =true)
Sets the value of the ID attribute.
ElectroOpticalDeviceID_TypePtr getID() const
Returns the value of the ID attribute.
void resetID()
Resets the ID attribute to an unset state.
bool hasID() const
Checks whether the optional ID attribute is present.
void setName(const Inscoper::NBO::Denomination_TypePtr & value, bool validate =true)
Sets the value of the Name attribute.
Denomination_TypePtr getName() const
Returns the value of the Name attribute.
void resetName()
Resets the Name attribute to an unset state.
bool hasName() const
Checks whether the optional Name attribute is present.
void setModulationMode(const Inscoper::NBO::ModulationModeList_TypePtr & value, bool validate =true)
Sets the value of the ModulationMode attribute.
ModulationModeList_TypePtr getModulationMode() const
Returns the value of the ModulationMode attribute.
void resetModulationMode()
Resets the ModulationMode attribute to an unset state.
bool hasModulationMode() const
Checks whether the optional ModulationMode attribute is present.
void setContrastRatio(const Inscoper::NBO::PercentFraction_TypePtr & value, bool validate =true)
Sets the value of the ContrastRatio attribute.
PercentFraction_TypePtr getContrastRatio() const
Returns the value of the ContrastRatio attribute.
void resetContrastRatio()
Resets the ContrastRatio attribute to an unset state.
bool hasContrastRatio() const
Checks whether the optional ContrastRatio attribute is present.
void setCoating(const std::string & value, bool validate =true)
Sets the value of the Coating attribute.
std::string getCoating() const
Returns the value of the Coating attribute.
void resetCoating()
Resets the Coating attribute to an unset state.
bool hasCoating() const
Checks whether the Coating attribute is present.
void setAttenuationMethod(const Inscoper::NBO::AttenuationMethodType_TypePtr & value, bool validate =true)
Sets the value of the AttenuationMethod attribute.
AttenuationMethodType_TypePtr getAttenuationMethod() const
Returns the value of the AttenuationMethod attribute.
void resetAttenuationMethod()
Resets the AttenuationMethod attribute to an unset state.
bool hasAttenuationMethod() const
Checks whether the optional AttenuationMethod attribute is present.
void setAttenuationCoefficient(const float & value, bool validate =true)
Sets the value of the AttenuationCoefficient attribute.
float getAttenuationCoefficient() const
Returns the value of the AttenuationCoefficient attribute.
void resetAttenuationCoefficient()
Resets the AttenuationCoefficient attribute to an unset state.
bool hasAttenuationCoefficient() const
Checks whether the AttenuationCoefficient attribute is present.
void setTuningAccuracy(const float & value, bool validate =true)
Sets the value of the TuningAccuracy attribute.
float getTuningAccuracy() const
Returns the value of the TuningAccuracy attribute.
void resetTuningAccuracy()
Resets the TuningAccuracy attribute to an unset state.
bool hasTuningAccuracy() const
Checks whether the TuningAccuracy attribute is present.
void setTuningAccuracyUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true)
Sets the value of the TuningAccuracyUnit attribute.
UnitsLength_TypePtr getTuningAccuracyUnit() const
Returns the value of the TuningAccuracyUnit attribute.
void resetTuningAccuracyUnit()
Resets the TuningAccuracyUnit attribute to an unset state.
bool hasTuningAccuracyUnit() const
Checks whether the optional TuningAccuracyUnit attribute is present.
void setTuningResolution(const float & value, bool validate =true)
Sets the value of the TuningResolution attribute.
float getTuningResolution() const
Returns the value of the TuningResolution attribute.
void resetTuningResolution()
Resets the TuningResolution attribute to an unset state.
bool hasTuningResolution() const
Checks whether the TuningResolution attribute is present.
void setTuningResolutionUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true)
Sets the value of the TuningResolutionUnit attribute.
UnitsLength_TypePtr getTuningResolutionUnit() const
Returns the value of the TuningResolutionUnit attribute.
void resetTuningResolutionUnit()
Resets the TuningResolutionUnit attribute to an unset state.
bool hasTuningResolutionUnit() const
Checks whether the optional TuningResolutionUnit attribute is present.
void setTuningRate(const float & value, bool validate =true)
Sets the value of the TuningRate attribute.
float getTuningRate() const
Returns the value of the TuningRate attribute.
void resetTuningRate()
Resets the TuningRate attribute to an unset state.
bool hasTuningRate() const
Checks whether the TuningRate attribute is present.
void setTuningRateUnit(const Inscoper::NBO::UnitsTime_TypePtr & value, bool validate =true)
Sets the value of the TuningRateUnit attribute.
UnitsTime_TypePtr getTuningRateUnit() const
Returns the value of the TuningRateUnit attribute.
void resetTuningRateUnit()
Resets the TuningRateUnit attribute to an unset state.
bool hasTuningRateUnit() const
Checks whether the optional TuningRateUnit attribute is present.
void setAngleOfIncidence(const float & value, bool validate =true)
Sets the value of the AngleOfIncidence attribute.
float getAngleOfIncidence() const
Returns the value of the AngleOfIncidence attribute.
void resetAngleOfIncidence()
Resets the AngleOfIncidence attribute to an unset state.
bool hasAngleOfIncidence() const
Checks whether the AngleOfIncidence attribute is present.
void setAngleOfIncidenceUnit(const Inscoper::NBO::UnitsAngle_TypePtr & value, bool validate =true)
Sets the value of the AngleOfIncidenceUnit attribute.
UnitsAngle_TypePtr getAngleOfIncidenceUnit() const
Returns the value of the AngleOfIncidenceUnit attribute.
void resetAngleOfIncidenceUnit()
Resets the AngleOfIncidenceUnit attribute to an unset state.
bool hasAngleOfIncidenceUnit() const
Checks whether the optional AngleOfIncidenceUnit attribute is present.
void setAngularAperture(const float & value, bool validate =true)
Sets the value of the AngularAperture attribute.
float getAngularAperture() const
Returns the value of the AngularAperture attribute.
void resetAngularAperture()
Resets the AngularAperture attribute to an unset state.
bool hasAngularAperture() const
Checks whether the AngularAperture attribute is present.
void setAngularApertureUnit(const Inscoper::NBO::UnitsAngle_TypePtr & value, bool validate =true)
Sets the value of the AngularApertureUnit attribute.
UnitsAngle_TypePtr getAngularApertureUnit() const
Returns the value of the AngularApertureUnit attribute.
void resetAngularApertureUnit()
Resets the AngularApertureUnit attribute to an unset state.
bool hasAngularApertureUnit() const
Checks whether the optional AngularApertureUnit attribute is present.
void setOperatingTemperature(const float & value, bool validate =true)
Sets the value of the OperatingTemperature attribute.
float getOperatingTemperature() const
Returns the value of the OperatingTemperature attribute.
void resetOperatingTemperature()
Resets the OperatingTemperature attribute to an unset state.
bool hasOperatingTemperature() const
Checks whether the OperatingTemperature attribute is present.
void setOperatingTemperatureUnit(const Inscoper::NBO::UnitsTemperature_TypePtr & value, bool validate =true)
Sets the value of the OperatingTemperatureUnit attribute.
UnitsTemperature_TypePtr getOperatingTemperatureUnit() const
Returns the value of the OperatingTemperatureUnit attribute.
void resetOperatingTemperatureUnit()
Resets the OperatingTemperatureUnit attribute to an unset state.
bool hasOperatingTemperatureUnit() const
Checks whether the optional OperatingTemperatureUnit attribute is present.
void setOperatingHumidity(const Inscoper::NBO::PercentFraction_TypePtr & value, bool validate =true)
Sets the value of the OperatingHumidity attribute.
PercentFraction_TypePtr getOperatingHumidity() const
Returns the value of the OperatingHumidity attribute.
void resetOperatingHumidity()
Resets the OperatingHumidity attribute to an unset state.
bool hasOperatingHumidity() const
Checks whether the optional OperatingHumidity attribute is present.
void setWarmUpTime(const float & value, bool validate =true)
Sets the value of the WarmUpTime attribute.
float getWarmUpTime() const
Returns the value of the WarmUpTime attribute.
void resetWarmUpTime()
Resets the WarmUpTime attribute to an unset state.
bool hasWarmUpTime() const
Checks whether the WarmUpTime attribute is present.
void setWarmUpTimeUnit(const Inscoper::NBO::UnitsTime_TypePtr & value, bool validate =true)
Sets the value of the WarmUpTimeUnit attribute.
UnitsTime_TypePtr getWarmUpTimeUnit() const
Returns the value of the WarmUpTimeUnit attribute.
void resetWarmUpTimeUnit()
Resets the WarmUpTimeUnit attribute to an unset state.
bool hasWarmUpTimeUnit() const
Checks whether the optional WarmUpTimeUnit attribute is present.
void setAnnotationRef(const Inscoper::NBO::AnnotationRefPtr & value, bool validate =true)
Sets the value of the AnnotationRef element.
Inscoper::NBO::AnnotationRefPtr getAnnotationRef() const
Returns the value of the AnnotationRef element.
void resetAnnotationRef()
Resets the AnnotationRef element to an unset state.
bool hasAnnotationRef() const
Checks whether the optional AnnotationRef element is present.
std::shared_ptr< ElectroOpticalDevice_Type > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a ElectroOpticalDevice_Type.
const std::set< std::string > & getCoatingAllowedValues()
Returns the allowed values for this attribut.

Additional inherited members

Public Functions inherited from Inscoper::NBO::ManufacturerSpec_Type

Name
ManufacturerSpec_Type()
~ManufacturerSpec_Type()
void setManufacturer(const std::string & value, bool validate =true)
Sets the value of the Manufacturer attribute.
std::string getManufacturer() const
Returns the value of the Manufacturer attribute.
void resetManufacturer()
Resets the Manufacturer attribute to an unset state.
bool hasManufacturer() const
Checks whether the Manufacturer attribute is present.
void setModel(const std::string & value, bool validate =true)
Sets the value of the Model attribute.
std::string getModel() const
Returns the value of the Model attribute.
void resetModel()
Resets the Model attribute to an unset state.
bool hasModel() const
Checks whether the Model attribute is present.
void setCatalogNumber(const std::string & value, bool validate =true)
Sets the value of the CatalogNumber attribute.
std::string getCatalogNumber() const
Returns the value of the CatalogNumber attribute.
void resetCatalogNumber()
Resets the CatalogNumber attribute to an unset state.
bool hasCatalogNumber() const
Checks whether the CatalogNumber attribute is present.
void setLotNumber(const std::string & value, bool validate =true)
Sets the value of the LotNumber attribute.
std::string getLotNumber() const
Returns the value of the LotNumber attribute.
void resetLotNumber()
Resets the LotNumber attribute to an unset state.
bool hasLotNumber() const
Checks whether the LotNumber attribute is present.
void setMapAnnotation_List(const std::vector< Inscoper::NBO::MapAnnotationPtr > & value, bool validate =true)
Sets the list of MapAnnotation elements.
std::vector< Inscoper::NBO::MapAnnotationPtr > getMapAnnotation_List() const
Returns the list of MapAnnotation elements.
void addToMapAnnotation_List(const Inscoper::NBO::MapAnnotationPtr & value, bool validate =true)
Adds a new MapAnnotation element to this object.
void clearMapAnnotation_List()
Clear the list of MapAnnotation.
void setSpecsFile(const Inscoper::NBO::FileAnnotation_TypePtr & value, bool validate =true)
Sets the value of the SpecsFile element.
Inscoper::NBO::FileAnnotation_TypePtr getSpecsFile() const
Returns the value of the SpecsFile element.
void resetSpecsFile()
Resets the SpecsFile element to an unset state.
bool hasSpecsFile() const
Checks whether the optional SpecsFile element is present.
void setAdditionalVendorInformation_List(const std::vector< Inscoper::NBO::AdditionalVendorInformationPtr > & value, bool validate =true)
Sets the list of AdditionalVendorInformation elements.
std::vector< Inscoper::NBO::AdditionalVendorInformationPtr > getAdditionalVendorInformation_List() const
Returns the list of AdditionalVendorInformation elements.
void addToAdditionalVendorInformation_List(const Inscoper::NBO::AdditionalVendorInformationPtr & value, bool validate =true)
Adds a new AdditionalVendorInformation element to this object.
void clearAdditionalVendorInformation_List()
Clear the list of AdditionalVendorInformation.
const std::set< std::string > & getManufacturerAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getModelAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getCatalogNumberAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getLotNumberAllowedValues()
Returns the allowed values for this attribut.

Detailed Description

class Inscoper::NBO::ElectroOpticalDevice_Type;

Represents the XML complex type ElectroOpticalDevice.

This is is a device which can be used for controlling the power (→ intensity modulators), phase (→ phase modulators) or polarization of light with an electrical control signal. It typically contains one or two Pockels cells, and possibly additional optical elements such as polarizers.

Public Functions Documentation

function ElectroOpticalDevice_Type

function ~ElectroOpticalDevice_Type

function getTypeName

function getXMLName

function getNBOType

function getChildren

function getSubElements

function fromJsonFile

function fromJsonString

function fromXmlFile

function fromXmlString

function toXmlFile

function toXmlString

function setID

function getID

function resetID

function hasID

function setName

function getName

function resetName

function hasName

function setModulationMode

function getModulationMode

function resetModulationMode

function hasModulationMode

function setContrastRatio

function getContrastRatio

function resetContrastRatio

function hasContrastRatio

function setCoating

function getCoating

function resetCoating

function hasCoating

function setAttenuationMethod

function getAttenuationMethod

function resetAttenuationMethod

function hasAttenuationMethod

function setAttenuationCoefficient

function getAttenuationCoefficient

function resetAttenuationCoefficient

function hasAttenuationCoefficient

function setTuningAccuracy

function getTuningAccuracy

function resetTuningAccuracy

function hasTuningAccuracy

function setTuningAccuracyUnit

function getTuningAccuracyUnit

function resetTuningAccuracyUnit

function hasTuningAccuracyUnit

function setTuningResolution

function getTuningResolution

function resetTuningResolution

function hasTuningResolution

function setTuningResolutionUnit

function getTuningResolutionUnit

function resetTuningResolutionUnit

function hasTuningResolutionUnit

function setTuningRate

function getTuningRate

function resetTuningRate

function hasTuningRate

function setTuningRateUnit

function getTuningRateUnit

function resetTuningRateUnit

function hasTuningRateUnit

function setAngleOfIncidence

function getAngleOfIncidence

function resetAngleOfIncidence

function hasAngleOfIncidence

function setAngleOfIncidenceUnit

function getAngleOfIncidenceUnit

function resetAngleOfIncidenceUnit

function hasAngleOfIncidenceUnit

function setAngularAperture

function getAngularAperture

function resetAngularAperture

function hasAngularAperture

function setAngularApertureUnit

function getAngularApertureUnit

function resetAngularApertureUnit

function hasAngularApertureUnit

function setOperatingTemperature

function getOperatingTemperature

function resetOperatingTemperature

function hasOperatingTemperature

function setOperatingTemperatureUnit

function getOperatingTemperatureUnit

function resetOperatingTemperatureUnit

function hasOperatingTemperatureUnit

function setOperatingHumidity

function getOperatingHumidity

function resetOperatingHumidity

function hasOperatingHumidity

function setWarmUpTime

function getWarmUpTime

function resetWarmUpTime

function hasWarmUpTime

function setWarmUpTimeUnit

function getWarmUpTimeUnit

function resetWarmUpTimeUnit

function hasWarmUpTimeUnit

function setAnnotationRef

function getAnnotationRef

function resetAnnotationRef

function hasAnnotationRef

function fromBase

function getCoatingAllowedValues