![]() |
IDS peak AFL v1.8.0
|
Interface for features that have a valid range of values. More...
#include <peak_afl/pipeline/modules/controllers/features/peak_afl_ifeature.hpp>
Public Member Functions | |
| virtual PEAK_COMMON_NO_DISCARD peak::common::detail::RangeT< T > | GetRange () const =0 |
| Gets the valid range for this feature's values. | |
Public Member Functions inherited from IFeature< T > | |
| virtual | ~IFeature ()=default |
| Virtual destructor for proper cleanup of derived classes. | |
| virtual void | Set (const T &value)=0 |
| Sets the feature value. | |
| virtual PEAK_COMMON_NO_DISCARD T | Get () const =0 |
| Gets the current feature value. | |
Public Member Functions inherited from ISerializable | |
| virtual void | Serialize (IArchive &archive) const =0 |
| Serializes the current object into the provided archive. | |
| virtual void | Deserialize (const IArchive &archive)=0 |
| Deserializes the object's state from the provided archive. | |
Interface for features that have a valid range of values.
The IRangeFeature template class extends IFeature to provide additional functionality for features that have a defined range of valid values. This is useful for numeric parameters that have minimum, maximum, and increment constraints.
Examples of range features include:
| T | The numeric type that this range feature manages |
|
pure virtual |
Gets the valid range for this feature's values.
Retrieves the minimum, maximum, and increment values that define the valid range for this feature. This information can be used for input validation and user interface constraints.
| Implementation-specific | exceptions may be thrown if the underlying system is in an invalid state. |
Implemented in AutoPercentile, AutoTarget, AutoTolerance, Hysteresis, and SkipFrames.