| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "iguana/algorithms/clas12/rga/FiducialFilterPass1/Algorithm.h" | ||
| 4 | |||
| 5 | namespace iguana::clas12 { | ||
| 6 | |||
| 7 | /// @algo_brief{RENAMED to iguana::clas12::rga::FiducialFilterPass1} | ||
| 8 | /// @algo_type_filter | ||
| 9 | /// @deprecated This algorithm has been RENAMED to iguana::clas12::rga::FiducialFilterPass1, as of Iguana version 1.0.0. | ||
| 10 | class FiducialFilter : public rga::FiducialFilterPass1 | ||
| 11 | { | ||
| 12 | // the deprecated algorithm should inherit from the renamed algorithm, to avoid downstream build failures | ||
| 13 | ✗ | DEFINE_IGUANA_SUBALGORITHM(FiducialFilter, clas12::FiducialFilter, clas12::rga::FiducialFilterPass1) | |
| 14 | |||
| 15 | public: | ||
| 16 | |||
| 17 | // make sure base-class specialized `Run` functions (overloads) are not shadowed by any `Run` function overrides here | ||
| 18 | using rga::FiducialFilterPass1::Run; | ||
| 19 | |||
| 20 | // override `Start`, `Run` and `Stop` | ||
| 21 | // provide the new name and the Iguana version number, for a runtime failure | ||
| 22 | ✗ | DEPRECATE_IGUANA_ALGORITHM(ThrowSinceRenamed("clas12::rga::FiducialFilterPass1", "1.0.0");) | |
| 23 | }; | ||
| 24 | |||
| 25 | } | ||
| 26 |