90 return "WhiteBalance";
95inline std::ostream& operator<<(std::ostream& os,
ControllerType mode)
127inline std::ostream& operator<<(std::ostream& os,
ControllerMode mode)
134PEAK_COMMON_NO_DISCARD
inline ControllerMode ToControllerMode(
const std::string& mode)
140 if (mode ==
"Continuous")
148 throw peak::afl::error::InvalidParameterException(
154 switch (controllerMode)
169 switch (controllerMode)
184 switch (controllerType)
241 : m_manager{ manager }
284 PEAK_COMMON_NO_DISCARD
virtual std::string
GetName()
const = 0;
342 PEAK_COMMON_NO_DISCARD
virtual bool IsRunning()
const = 0;
Central coordination object for automatic camera feature control.
Definition peak_afl.hpp:663
The exception thrown for passing an invalid parameter to a function.
Definition peak_afl.hpp:391
Interface for objects that can be serialized to and deserialized from an archive.
Definition peak_common_iserializable.hpp:31
std::function< void()> FinishedCallback
Callback function type for operation completion notifications.
Definition peak_afl_icontroller.hpp:233
virtual ~IController()=default
Virtual destructor for proper cleanup of derived classes.
virtual std::string GetName() const =0
Gets the unique name of this controller.
peak::afl::Manager & GetManager()
Gets a reference to the API manager.
Definition peak_afl_icontroller.hpp:368
virtual bool IsRunning() const =0
Checks if the controller is currently running.
FinishedCallback * FinishedCallbackHandle
Handle type for managing callback registrations.
Definition peak_afl_icontroller.hpp:238
IController(const IController &)=delete
Copy constructor deleted to prevent copying.
virtual ControllerType GetType() const =0
Gets the type of this controller.
virtual ControllerMode GetMode() const =0
Gets the current operational mode of this controller.
IController(IController &&)=delete
Move constructor deleted to prevent moving.
virtual void SetMode(ControllerMode mode)=0
Sets the operational mode for this controller.
virtual void ResetToDefault()=0
Resets the controller to its default configuration.
IController & operator=(IController &&)=delete
Move assignment deleted to prevent moving.
IController & operator=(const IController &)=delete
Copy assignment deleted to prevent copying.
peak_afl_controllerType
Auto feature controller types.
Definition peak_afl.h:489
@ PEAK_AFL_CONTROLLER_TYPE_WHITE_BALANCE
Automatic white balance controller.
Definition peak_afl.h:518
@ PEAK_AFL_CONTROLLER_TYPE_AUTOFOCUS
Automatic focus controller.
Definition peak_afl.h:529
@ PEAK_AFL_CONTROLLER_TYPE_BRIGHTNESS
Automatic brightness exposure/gain controller.
Definition peak_afl.h:507
peak_afl_controller_automode
Auto feature controller operation modes.
Definition peak_afl.h:543
@ PEAK_AFL_CONTROLLER_AUTOMODE_CONTINUOUS
Continuous automatic adjustment.
Definition peak_afl.h:562
@ PEAK_AFL_CONTROLLER_AUTOMODE_OFF
Auto feature disabled.
Definition peak_afl.h:551
@ PEAK_AFL_CONTROLLER_AUTOMODE_ONCE
Single adjustment operation.
Definition peak_afl.h:573
@ PEAK_AFL_STATUS_INVALID_PARAMETER
Invalid parameter provided.
Definition peak_afl.h:419
ControllerMode
Controller operation mode enumeration.
Definition peak_afl_icontroller.hpp:59
ControllerType
Controller type enumeration.
Definition peak_afl_icontroller.hpp:40
std::string ToString(ControllerType mode)
Converts ControllerType enumeration to string representation.
Definition peak_afl_icontroller.hpp:78
@ Continuous
Continuous operation - automatic processing on every frame.
Definition peak_afl_icontroller.hpp:63
@ Off
Controller is disabled - no automatic processing.
Definition peak_afl_icontroller.hpp:61
@ Once
Single operation - automatic processing triggered once.
Definition peak_afl_icontroller.hpp:65
@ WhiteBalance
Automatic white balance controller - manages color correction.
Definition peak_afl_icontroller.hpp:46
@ Brightness
Automatic brightness controller - manages exposure and gain.
Definition peak_afl_icontroller.hpp:44
@ Focus
Automatic focus controller - manages lens focus positioning.
Definition peak_afl_icontroller.hpp:42
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
C API interface for automatic camera feature control.