From bfd565aabd9443afce32deff88119fc945b987d9 Mon Sep 17 00:00:00 2001 From: smathis Date: Tue, 12 Aug 2025 09:20:25 +0200 Subject: [PATCH] Hide visibility of classes --- src/detectorTowerAngleAxis.h | 2 +- src/detectorTowerController.h | 8 ++++---- src/detectorTowerLiftAxis.h | 2 +- src/detectorTowerSupportAxis.h | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/detectorTowerAngleAxis.h b/src/detectorTowerAngleAxis.h index 2ed5f84..fb78604 100644 --- a/src/detectorTowerAngleAxis.h +++ b/src/detectorTowerAngleAxis.h @@ -3,7 +3,7 @@ #include "detectorTowerController.h" #include "turboPmacAxis.h" -class detectorTowerAngleAxis : public turboPmacAxis { +class HIDDEN detectorTowerAngleAxis : public turboPmacAxis { public: /** * @brief Construct a new detectorTowerAngleAxis diff --git a/src/detectorTowerController.h b/src/detectorTowerController.h index 06dbb4c..5b1152b 100644 --- a/src/detectorTowerController.h +++ b/src/detectorTowerController.h @@ -13,11 +13,11 @@ // Forward declaration of the axis classes to resolve the cyclic dependency // between the controller and the axis .h-file. See // https://en.cppreference.com/w/cpp/language/class. -class detectorTowerAngleAxis; -class detectorTowerLiftAxis; -class detectorTowerSupportAxis; +class HIDDEN detectorTowerAngleAxis; +class HIDDEN detectorTowerLiftAxis; +class HIDDEN detectorTowerSupportAxis; -class detectorTowerController : public turboPmacController { +class HIDDEN detectorTowerController : public turboPmacController { public: /** diff --git a/src/detectorTowerLiftAxis.h b/src/detectorTowerLiftAxis.h index da170a6..4f6ffa4 100644 --- a/src/detectorTowerLiftAxis.h +++ b/src/detectorTowerLiftAxis.h @@ -3,7 +3,7 @@ #include "detectorTowerController.h" #include "turboPmacAxis.h" -class detectorTowerLiftAxis : public turboPmacAxis { +class HIDDEN detectorTowerLiftAxis : public turboPmacAxis { public: /** * @brief Construct a new detectorTowerAngleAxis diff --git a/src/detectorTowerSupportAxis.h b/src/detectorTowerSupportAxis.h index edd65d3..1a16c9c 100644 --- a/src/detectorTowerSupportAxis.h +++ b/src/detectorTowerSupportAxis.h @@ -7,7 +7,7 @@ * @brief Passive axis which is mostly controlled indirectly by the hardware * */ -class detectorTowerSupportAxis : public turboPmacAxis { +class HIDDEN detectorTowerSupportAxis : public turboPmacAxis { public: /** * @brief Construct a new detectorTowerSupportAxis