![]() |
IDS peak AFL v2.0.1
|
Brightness component feature implementation for auto controllers. More...
#include <peak_afl/pipeline/modules/controllers/features/peak_afl_brightness_component.hpp>
Public Types | |
| using | FinishedCallback |
| Callback function type for component completion notifications. | |
| using | FinishedCallbackHandle |
| Handle type for managing callback registrations. | |
Public Member Functions | |
| BrightnessComponent (const BrightnessComponent &)=delete | |
| Copy constructor deleted to prevent copying. | |
| BrightnessComponent & | operator= (const BrightnessComponent &)=delete |
| Copy assignment deleted to prevent copying. | |
| BrightnessComponent (BrightnessComponent &&)=delete | |
| Move constructor deleted to prevent moving. | |
| BrightnessComponent & | operator= (BrightnessComponent &&)=delete |
| Move assignment deleted to prevent moving. | |
| ~BrightnessComponent () | |
| Destructor that properly unregisters callbacks. | |
| BrightnessComponentType | GetType () const |
| Gets the brightness component type. | |
| void | SetMode (ControllerMode mode) |
| Sets the control mode for this component. | |
| ControllerMode | GetMode () const |
| Gets the current control mode. | |
| void | SetLimit (const IntervalD &interval) |
| Sets the value limits for this component. | |
| IntervalD | GetLimit () |
| Gets the current value limits. | |
| void | Serialize (peak::common::serialization::IArchive &archive) const |
| Serializes component configuration to archive. | |
| void | Deserialize (const peak::common::serialization::IArchive &archive) |
| Deserializes component configuration from archive. | |
| FinishedCallbackHandle | RegisterFinishedCallback (const BrightnessComponent::FinishedCallback &callback) |
| Registers a callback for component completion. | |
| void | UnregisterFinishedCallback (BrightnessComponent::FinishedCallbackHandle callbackHandle) |
| Unregisters a previously registered callback. | |
Friends | |
| class | detail::GenericAutoBrightness |
| Friend class for construction access. | |
Brightness component feature implementation for auto controllers.
The BrightnessComponent class provides a comprehensive interface for managing individual brightness components in automatic exposure systems. Each component represents a specific aspect of brightness control (exposure, gain types) with its own mode, limits, and callback mechanisms.
Key features:
This class is designed to work with the auto brightness system's component architecture, allowing fine-grained control over individual brightness parameters.
| using FinishedCallback |
Callback function type for component completion notifications.
| using FinishedCallbackHandle |
Handle type for managing callback registrations.
|
delete |
Copy constructor deleted to prevent copying.
|
delete |
Move constructor deleted to prevent moving.
|
inline |
Destructor that properly unregisters callbacks.
Automatically unregisters the component callback from the parent controller to ensure proper cleanup and prevent dangling references.
|
inline |
Deserializes component configuration from archive.
| [in] | archive | Archive containing configuration |
|
inline |
Gets the current value limits.
|
inline |
Gets the current control mode.
|
inline |
Gets the brightness component type.
|
delete |
Move assignment deleted to prevent moving.
|
delete |
Copy assignment deleted to prevent copying.
|
inline |
Registers a callback for component completion.
| [in] | callback | Function to call when component operation finishes |
|
inline |
Serializes component configuration to archive.
| [in,out] | archive | Archive to store configuration |
|
inline |
Sets the value limits for this component.
| [in] | interval | The interval defining min/max limits |
|
inline |
Sets the control mode for this component.
| [in] | mode | The controller mode to set (automatic, manual, etc.) |
|
inline |
Unregisters a previously registered callback.
| [in] | callbackHandle | Handle returned from RegisterFinishedCallback |
|
friend |
Friend class for construction access.