![]() |
IDS peak AFL v2.0.1
|
Base class for brightness limit features. More...
#include <peak_afl/pipeline/modules/controllers/features/peak_afl_brightness_limit.hpp>
Public Member Functions | |
| void | Serialize (peak::common::serialization::IArchive &archive) const override |
| Serializes the current brightness limit to an archive. | |
| void | Deserialize (const peak::common::serialization::IArchive &archive) override |
| Deserializes the brightness limit from an archive. | |
| Public Member Functions inherited from IFeature< IntervalD > | |
| virtual | ~IFeature ()=default |
| Virtual destructor for proper cleanup of derived classes. | |
| virtual void | Set (const IntervalD &value)=0 |
| Sets the feature value. | |
| virtual IntervalD | Get () const=0 |
| Gets the current feature value. | |
Base class for brightness limit features.
The BrightnessLimit class provides a common base interface for all brightness-related limit features in auto controllers. This abstract base class defines the standard serialization behavior for interval-based limits used in automatic exposure and brightness control.
Brightness limits define the allowable range for various camera parameters that affect image brightness, such as exposure time, gain values, and other exposure components. These limits prevent the automatic algorithms from setting values outside acceptable ranges.
This class inherits from IFeature<IntervalD> and provides standard serialization support for double-precision intervals.
|
inlineoverridevirtual |
Deserializes the brightness limit from an archive.
Loads the brightness limit interval from the provided archive and applies it to the controller. The interval is expected to be stored with keys "Min" and "Max".
| [in] | archive | The archive to read the brightness limit from |
| May | throw serialization exceptions if the archive operation fails |
| May | throw controller exceptions if the deserialized interval is invalid |
Implements ISerializable.
|
inlineoverridevirtual |
Serializes the current brightness limit to an archive.
Stores the current brightness limit interval in the provided archive for configuration persistence. The interval is stored with keys "Min" and "Max".
| [in,out] | archive | The archive to write the brightness limit to |
| May | throw serialization exceptions if the archive operation fails |
Implements ISerializable.