diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2022-07-14 17:59:49 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2022-07-14 20:12:18 +0200 |
commit | 09b4822f7f4ee2b02e2ddf7af1fe769b77765182 (patch) | |
tree | dabd2e374f0c2c11f3ba65d3abe8f64dfb641a1e /src/ipa/raspberrypi | |
parent | 75f7bb99f259b54b1799f10d4704e1ff50c45915 (diff) |
ipa: algorithms: af: Do not inherit from Algorithmjmondi/rockpi/af/imx519
The AfAlgorithm class defines the pure virtual interface for the
Auto-focus algorithms and it is not meant to be instantiated.
In the same way the AfHillClimbing class cannot be directly instantiated
as it contains two pure virtual members.
The platform-specific implementation is instead the class that will be
registered to the AlgorithmFactory, and it's the only one that needs to
inherit from Algorithm for this reason.
Remove the Module template argument from the class hierarchy and have
the platform specific class inherit from Algorithm.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/ipa/raspberrypi')
0 files changed, 0 insertions, 0 deletions