IDS peak ICV v1.0.0
Loading...
Searching...
No Matches
peak_icv_ifeature.hpp
Go to the documentation of this file.
1
11#pragma once
12
14
15namespace peak
16{
17namespace pipeline
18{
19namespace features
20{
21
68{
69public:
70 virtual ~IFeature() = default;
71
79 virtual void SetEnabled(bool enabled) = 0;
80
88 PEAK_COMMON_NO_DISCARD virtual bool IsEnabled() const = 0;
89
97 virtual void ResetToDefault() = 0;
98};
99
100} // namespace features
101} // namespace pipeline
102} // namespace peak
Abstract base class for all image processing pipeline features.
virtual void SetEnabled(bool enabled)=0
Enables or disables the feature.
virtual void ResetToDefault()=0
Restores the feature's default values.
virtual bool IsEnabled() const =0
Indicates whether the feature is currently enabled.
#define PEAK_COMMON_NO_DISCARD
Compatability macro for the nodiscard attribute.