89 : IController(manager)
90 , m_genericController(manager)
108 PEAK_COMMON_NO_DISCARD std::string
GetName()
const override
110 return "AdvancedAutoFocus";
125 m_genericController.Serialize(archive);
139 m_genericController.Deserialize(archive);
154 m_genericController.SetMode(mode);
167 return m_genericController.GetMode();
183 return m_genericController.IsRunning();
196 m_genericController.ResetToDefault();
247 return m_genericController.WeightedROIs();
311 return m_genericController.GetType();
327 return m_genericController.RegisterFinishedCallback(callback);
341 m_genericController.UnregisterFinishedCallback(callbackHandle);
352 detail::GenericAutoFocus m_genericController;
Central coordination object for automatic camera feature control.
Definition peak_afl.hpp:663
Interface for a hierarchical key-value archive system.
Definition peak_common_iarchive.hpp:59
AdvancedAutoFocus(peak::afl::Manager &manager)
Constructs an AdvancedAutoFocus instance.
Definition peak_afl_advanced_auto_focus.hpp:88
features::SearchAlgorithm & SearchAlgorithm() const
Gets the search algorithm feature controller.
Definition peak_afl_advanced_auto_focus.hpp:279
features::SkipFrames & SkipFrames() const
Gets the skip frames feature controller.
Definition peak_afl_advanced_auto_focus.hpp:211
void UnregisterFinishedCallback(IController::FinishedCallbackHandle callbackHandle)
Unregisters a previously registered callback.
Definition peak_afl_advanced_auto_focus.hpp:339
features::WeightedRois & WeightedROIs() const
Gets the weighted regions of interest feature controller.
Definition peak_afl_advanced_auto_focus.hpp:245
features::SharpnessAlgorithm & SharpnessAlgorithm() const
Gets the sharpness algorithm feature controller.
Definition peak_afl_advanced_auto_focus.hpp:262
ControllerMode GetMode() const override
Gets the current controller operation mode.
Definition peak_afl_advanced_auto_focus.hpp:165
std::string GetName() const override
Gets the controller name.
Definition peak_afl_advanced_auto_focus.hpp:108
features::Hysteresis & Hysteresis() const
Gets the hysteresis feature controller.
Definition peak_afl_advanced_auto_focus.hpp:228
void Serialize(peak::common::serialization::IArchive &archive) const override
Serializes the controller configuration to an archive.
Definition peak_afl_advanced_auto_focus.hpp:123
IController::FinishedCallbackHandle RegisterFinishedCallback(const IController::FinishedCallback &callback)
Registers a callback for processing completion notifications.
Definition peak_afl_advanced_auto_focus.hpp:325
void SetMode(ControllerMode mode) override
Sets the controller operation mode.
Definition peak_afl_advanced_auto_focus.hpp:152
void Deserialize(const peak::common::serialization::IArchive &archive) override
Deserializes the controller configuration from an archive.
Definition peak_afl_advanced_auto_focus.hpp:137
ControllerType GetType() const override
Gets the controller type identifier.
Definition peak_afl_advanced_auto_focus.hpp:309
features::FocusLimit & FocusLimit() const
Gets the focus limit feature controller.
Definition peak_afl_advanced_auto_focus.hpp:296
void ResetToDefault() override
Resets the controller to its default configuration.
Definition peak_afl_advanced_auto_focus.hpp:194
bool IsRunning() const override
Checks if the controller is currently running.
Definition peak_afl_advanced_auto_focus.hpp:181
~AdvancedAutoFocus() override=default
Destructor.
Abstract base interface for all automatic controllers.
Definition peak_afl_icontroller.hpp:227
Focus limit feature implementation for auto focus controllers.
Definition peak_afl_focus_limit.hpp:63
FocusLimit(std::shared_ptr< peak::afl::Controller > controller)
Constructs a FocusLimit feature with the specified controller.
Definition peak_afl_focus_limit.hpp:77
Hysteresis feature implementation for auto controllers.
Definition peak_afl_hysteresis.hpp:60
Hysteresis(std::shared_ptr< peak::afl::Controller > controller)
Constructs a Hysteresis feature with the specified controller.
Definition peak_afl_hysteresis.hpp:74
Search algorithm feature implementation for auto focus controllers.
Definition peak_afl_search_algorithm.hpp:228
SearchAlgorithm(std::shared_ptr< peak::afl::Controller > controller)
Constructs a SearchAlgorithm feature with the specified controller.
Definition peak_afl_search_algorithm.hpp:242
Sharpness algorithm feature implementation for auto focus controllers.
Definition peak_afl_sharpness_algorithm.hpp:234
SharpnessAlgorithm(std::shared_ptr< peak::afl::Controller > controller)
Constructs a SharpnessAlgorithm feature with the specified controller.
Definition peak_afl_sharpness_algorithm.hpp:248
Skip frames feature implementation for auto controllers.
Definition peak_afl_skip_frames.hpp:57
SkipFrames(std::shared_ptr< peak::afl::Controller > controller)
Constructs a SkipFrames feature with the specified controller.
Definition peak_afl_skip_frames.hpp:71
Weighted regions of interest feature implementation for auto controllers.
Definition peak_afl_weighted_rois.hpp:237
ControllerMode
Controller operation mode enumeration.
Definition peak_afl_icontroller.hpp:59
ControllerType
Controller type enumeration.
Definition peak_afl_icontroller.hpp:40
Interface definitions and implementations for individual module types used within a pipeline.
Definition peak_afl_generic_auto_brightness.hpp:39
Interfaces and implementations for defining and controlling data processing pipelines.
Definition peak_afl_generic_auto_brightness.hpp:37