73 const auto interval =
Get();
74 archive.
SetDouble(
"Min", interval.GetMinimum());
75 archive.
SetDouble(
"Max", interval.GetMaximum());
140 : m_controller{ std::move(controller) }
163 m_controller->SetExposureLimit({ value.GetMinimum(), value.GetMaximum() });
183 const auto result = m_controller->GetExposureLimit();
184 return { result.min, result.max };
195 std::shared_ptr<peak::afl::Controller> m_controller;
234 : m_controller{ std::move(controller) }
246 m_controller->SetGainLimit({ value.GetMinimum(), value.GetMaximum() });
258 const auto result = m_controller->GetGainLimit();
259 return { result.min, result.max };
263 std::shared_ptr<peak::afl::Controller> m_controller;
302 : m_controller{ std::move(controller) }
319 m_controller->SetGainAnalogLimit({ value.GetMinimum(), value.GetMaximum() });
336 const auto result = m_controller->GetGainAnalogLimit();
337 return { result.min, result.max };
341 std::shared_ptr<peak::afl::Controller> m_controller;
380 : m_controller{ std::move(controller) }
397 m_controller->SetGainDigitalLimit({ value.GetMinimum(), value.GetMaximum() });
414 const auto result = m_controller->GetGainDigitalLimit();
415 return { result.min, result.max };
419 std::shared_ptr<peak::afl::Controller> m_controller;
459 : m_controller{ std::move(controller) }
476 m_controller->SetGainCombinedLimit({ value.GetMinimum(), value.GetMaximum() });
493 const auto result = m_controller->GetGainCombinedLimit();
494 return { result.min, result.max };
498 std::shared_ptr<peak::afl::Controller> m_controller;
541 : m_controller{ std::move(controller) }
558 m_controller->SetGainHostLimit({ value.GetMinimum(), value.GetMaximum() });
575 const auto result = m_controller->GetGainHostLimit();
576 return { result.min, result.max };
580 std::shared_ptr<peak::afl::Controller> m_controller;
Interface for a hierarchical key-value archive system.
Definition peak_common_iarchive.hpp:54
virtual double GetDouble(const std::string &key) const =0
Retrieves a double-precision number by key.
virtual void SetDouble(const std::string &key, double value)=0
Stores a double-precision floating point number.
BrightnessExposureLimit(std::shared_ptr< peak::afl::Controller > controller)
Constructs a BrightnessExposureLimit feature with the specified controller.
Definition peak_afl_brightness_limit.hpp:139
void Set(const IntervalD &value) override
Sets the exposure time limits.
Definition peak_afl_brightness_limit.hpp:161
IntervalD Get() const override
Gets the current exposure time limits.
Definition peak_afl_brightness_limit.hpp:181
void Set(const IntervalD &value) override
Sets the analog gain limits.
Definition peak_afl_brightness_limit.hpp:317
BrightnessGainAnalogLimit(std::shared_ptr< peak::afl::Controller > controller)
Constructs an analog gain limit feature with the specified controller.
Definition peak_afl_brightness_limit.hpp:301
IntervalD Get() const override
Gets the current analog gain limits.
Definition peak_afl_brightness_limit.hpp:334
BrightnessGainCombinedLimit(std::shared_ptr< peak::afl::Controller > controller)
Constructs a combined gain limit feature with the specified controller.
Definition peak_afl_brightness_limit.hpp:458
void Set(const IntervalD &value) override
Sets the combined gain limits.
Definition peak_afl_brightness_limit.hpp:474
IntervalD Get() const override
Gets the current combined gain limits.
Definition peak_afl_brightness_limit.hpp:491
BrightnessGainDigitalLimit(std::shared_ptr< peak::afl::Controller > controller)
Constructs a digital gain limit feature with the specified controller.
Definition peak_afl_brightness_limit.hpp:379
void Set(const IntervalD &value) override
Sets the digital gain limits.
Definition peak_afl_brightness_limit.hpp:395
IntervalD Get() const override
Gets the current digital gain limits.
Definition peak_afl_brightness_limit.hpp:412
void Set(const IntervalD &value) override
Sets the host gain limits.
Definition peak_afl_brightness_limit.hpp:556
IntervalD Get() const override
Gets the current host gain limits.
Definition peak_afl_brightness_limit.hpp:573
BrightnessGainHostLimit(std::shared_ptr< peak::afl::Controller > controller)
Constructs a host gain limit feature with the specified controller.
Definition peak_afl_brightness_limit.hpp:540
BrightnessGainLimit(std::shared_ptr< peak::afl::Controller > controller)
Constructs a BrightnessGainLimit feature with the specified controller.
Definition peak_afl_brightness_limit.hpp:233
void Set(const IntervalD &value) override
Sets the overall gain limits.
Definition peak_afl_brightness_limit.hpp:244
IntervalD Get() const override
Gets the current overall gain limits.
Definition peak_afl_brightness_limit.hpp:256
Base class for brightness limit features.
Definition peak_afl_brightness_limit.hpp:55
void Serialize(peak::common::serialization::IArchive &archive) const override
Serializes the current brightness limit to an archive.
Definition peak_afl_brightness_limit.hpp:71
void Deserialize(const peak::common::serialization::IArchive &archive) override
Deserializes the brightness limit from an archive.
Definition peak_afl_brightness_limit.hpp:93
Base interface for auto feature implementations.
Definition peak_afl_ifeature.hpp:55
virtual IntervalD Get() const=0
virtual void Set(const IntervalD &value)=0
Interface definitions and implementations for individual module types used within a pipeline.
Definition peak_afl_generic_auto_brightness.hpp:35
Interfaces and implementations for defining and controlling data processing pipelines.
Definition peak_afl_generic_auto_brightness.hpp:33
peak::common::detail::IntervalT< double > IntervalD
Type alias for double-precision interval values.
Definition peak_afl_ifeature.hpp:24