ConstellationDAQ 0.3__tar.gz → 0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {constellationdaq-0.3 → constellationdaq-0.4}/.clang-tidy +1 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/.cross/mingw-ucrt.ini +1 -1
- constellationdaq-0.4/.github/workflows/sync_to_gitlab.yml +45 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/.gitlab-ci.yml +37 -19
- {constellationdaq-0.3 → constellationdaq-0.4}/.pre-commit-config.yaml +11 -6
- constellationdaq-0.4/AUTHORS.md +21 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/PKG-INFO +5 -3
- {constellationdaq-0.3 → constellationdaq-0.4}/README.md +2 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/REUSE.toml +3 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/build.hpp +2 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/controller/Controller.cpp +35 -13
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/controller/Controller.hpp +10 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/controller/ControllerConfiguration.cpp +3 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/chirp/Manager.cpp +0 -8
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/chirp/Manager.hpp +0 -16
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Dictionary.cpp +15 -13
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Dictionary.hpp +12 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Value.cpp +3 -3
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Value.hpp +12 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/heartbeat/HeartbeatManager.cpp +12 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/heartbeat/HeartbeatManager.hpp +12 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/heartbeat/HeartbeatSend.cpp +17 -7
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/heartbeat/HeartbeatSend.hpp +15 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/CMDPSink.cpp +144 -53
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/CMDPSink.hpp +28 -7
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/Logger.cpp +4 -3
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/Logger.hpp +8 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/SinkManager.cpp +50 -11
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/SinkManager.hpp +31 -14
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/meson.build +2 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/BaseHeader.cpp +20 -29
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CDTP1Message.cpp +22 -26
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CDTP1Message.hpp +12 -15
- constellationdaq-0.4/cxx/constellation/core/message/CHP1Message.cpp +113 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CHP1Message.hpp +9 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CMDP1Message.cpp +49 -9
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CMDP1Message.hpp +52 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CSCP1Message.cpp +9 -12
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/exceptions.hpp +12 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/Metric.cpp +21 -16
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/Metric.hpp +14 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/MetricsManager.cpp +31 -11
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/MetricsManager.hpp +36 -9
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/MetricsManager.ipp +6 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/stat.hpp +2 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/networking/zmq_helpers.cpp +11 -3
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/pools/BasePool.ipp +10 -6
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/protocol/CSCP_definitions.hpp +5 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/protocol/Protocol.hpp +8 -8
- constellationdaq-0.4/cxx/constellation/core/utils/ManagerLocator.hpp +110 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/exceptions.hpp +25 -0
- constellationdaq-0.4/cxx/constellation/core/utils/msgpack.hpp +78 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/string_hash_map.hpp +4 -0
- constellationdaq-0.4/cxx/constellation/core/utils/thread.hpp +30 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/DSOLoader.cpp +10 -13
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/meson.build +3 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/satellite.cpp +9 -9
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/templates/main.cpp.in +2 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QCommandDialog.cpp +3 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QCommandDialog.ui +110 -56
- constellationdaq-0.4/cxx/constellation/gui/QConnectionDialog.cpp +101 -0
- constellationdaq-0.4/cxx/constellation/gui/QConnectionDialog.hpp +66 -0
- constellationdaq-0.4/cxx/constellation/gui/QConnectionDialog.ui +175 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QController.cpp +61 -65
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QController.hpp +35 -8
- constellationdaq-0.4/cxx/constellation/gui/QLogLevelComboBox.cpp +110 -0
- constellationdaq-0.4/cxx/constellation/gui/QLogLevelComboBox.hpp +62 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QLogMessage.cpp +1 -1
- constellationdaq-0.4/cxx/constellation/gui/Resources.cpp +19 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/meson.build +8 -3
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/qt_utils.hpp +65 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/listener/CMDPListener.cpp +131 -6
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/listener/CMDPListener.hpp +90 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/listener/LogListener.cpp +4 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/meson.build +2 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/BaseSatellite.cpp +177 -42
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/BaseSatellite.hpp +29 -15
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/FSM.cpp +97 -34
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/FSM.hpp +38 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/ReceiverSatellite.cpp +151 -7
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/ReceiverSatellite.hpp +59 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/Satellite.hpp +15 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/Satellite.ipp +11 -6
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/TransmitterSatellite.cpp +43 -5
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/TransmitterSatellite.hpp +6 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/controllers/MissionControl/MissionControl.cpp +73 -34
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/controllers/MissionControl/MissionControl.hpp +7 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/controllers/MissionControl/MissionControl.ui +7 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/controllers/MissionControl/meson.build +0 -5
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/Observatory.cpp +72 -8
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/Observatory.hpp +2 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/Observatory.ui +79 -142
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/QLogFilter.cpp +9 -14
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/QLogFilter.hpp +2 -4
- constellationdaq-0.4/cxx/listeners/Observatory/QLogListener.cpp +132 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/QLogListener.hpp +40 -38
- constellationdaq-0.4/cxx/listeners/Observatory/QSenderSubscriptions.cpp +242 -0
- constellationdaq-0.4/cxx/listeners/Observatory/QSenderSubscriptions.hpp +147 -0
- constellationdaq-0.4/cxx/listeners/Observatory/QSubscriptionList.cpp +125 -0
- constellationdaq-0.4/cxx/listeners/Observatory/QSubscriptionList.hpp +87 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/meson.build +2 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/meson.build +11 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/DevNullReceiver/DevNullReceiverSatellite.cpp +5 -8
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/DevNullReceiver/DevNullReceiverSatellite.hpp +1 -3
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/EudaqNativeWriter/EudaqNativeWriterSatellite.cpp +8 -7
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/EudaqNativeWriter/EudaqNativeWriterSatellite.hpp +3 -12
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/EudaqNativeWriter/FileSerializer.cpp +3 -14
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/EudaqNativeWriter/README.md +2 -2
- constellationdaq-0.4/cxx/satellites/Mattermost/MattermostSatellite.cpp +163 -0
- constellationdaq-0.4/cxx/satellites/Mattermost/MattermostSatellite.hpp +57 -0
- constellationdaq-0.4/cxx/satellites/Mattermost/README.md +32 -0
- constellationdaq-0.4/cxx/satellites/Mattermost/meson.build +65 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/RandomTransmitter/README.md +2 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/RandomTransmitter/RandomTransmitterSatellite.cpp +49 -6
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/RandomTransmitter/RandomTransmitterSatellite.hpp +5 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/Sputnik/README.md +3 -2
- constellationdaq-0.4/cxx/satellites/Sputnik/SputnikSatellite.cpp +71 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/meson.build +1 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/chirp_mock.hpp +36 -7
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/cmdp_mock.hpp +27 -1
- constellationdaq-0.4/cxx/tests/dummy_listener.hpp +53 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/dummy_satellite.hpp +54 -14
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/meson.build +1 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_controller_base.cpp +46 -36
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_controller_config.cpp +13 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_chirp_manager.cpp +0 -12
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_config.cpp +3 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_logging.cpp +31 -29
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_message.cpp +13 -15
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_metrics.cpp +81 -39
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_pools.cpp +24 -19
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_utils.cpp +27 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_listener_cmdp.cpp +139 -7
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_listener_log.cpp +36 -11
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_satellite_base.cpp +101 -9
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_satellite_data.cpp +27 -18
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_satellite_fsm.cpp +46 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tools/chirp_manager.cpp +2 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tools/chp_receiver.cpp +6 -3
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tools/chp_sender.cpp +7 -6
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tools/dummy_controller.cpp +8 -7
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/.spelling_jargon.txt +7 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/.spelling_names.txt +5 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/functionality/custom_commands.md +14 -3
- constellationdaq-0.4/docs/application_development/functionality/data_reception.md +99 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/functionality/metrics.md +3 -3
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/index.md +1 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/tutorials/satellite_cxx.md +22 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/conf.py +6 -7
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/copy_satellite_docs.py +23 -9
- constellationdaq-0.4/docs/etc/de.desy.constellation.metainfo.xml +87 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/metrics.md +1 -1
- constellationdaq-0.4/docs/framework_reference/flatpak.md +92 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/index.md +1 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/naming.md +1 -0
- constellationdaq-0.4/docs/framework_reference/release.md +54 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/constellation.md +4 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/data.md +32 -0
- constellationdaq-0.4/docs/operator_guide/concepts/diskspace_grafana.png +0 -0
- constellationdaq-0.4/docs/operator_guide/concepts/diskspace_observatory.png +0 -0
- constellationdaq-0.4/docs/operator_guide/get_started/install_from_flathub.md +41 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/get_started/install_from_pypi.md +2 -0
- constellationdaq-0.4/docs/operator_guide/howtos/mattermost_demo_logs.png +0 -0
- constellationdaq-0.4/docs/operator_guide/howtos/mattermost_high_verbosity.png +0 -0
- constellationdaq-0.4/docs/operator_guide/howtos/mattermost_integrations.png +0 -0
- constellationdaq-0.4/docs/operator_guide/howtos/mattermost_logger_connected.png +0 -0
- constellationdaq-0.4/docs/operator_guide/howtos/mattermost_new_incoming_webhook.png +0 -0
- constellationdaq-0.4/docs/operator_guide/howtos/mattermost_open_integrations.png +0 -0
- constellationdaq-0.4/docs/operator_guide/howtos/setup_mattermost_logger.md +96 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/index.md +4 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/tutorials/missioncontrol.md +58 -40
- constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_empty.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_init_first.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_new.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_orbit.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_run.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_satellite_details.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_single_command.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/missioncontrol_single_response.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/observatory.md +145 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/observatory_debug.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/observatory_empty.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/observatory_extra_subscription.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/observatory_init.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/observatory_message_detail.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/observatory_multi_filter.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/observatory_new.png +0 -0
- constellationdaq-0.4/docs/operator_guide/tutorials/observatory_text_filter.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/protocols/cdtp.md +2 -5
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/protocols/chp.md +9 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/protocols/cmdp.md +19 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/protocols/cscp.md +1 -1
- constellationdaq-0.4/docs/satellites/_metric_header.md +4 -0
- constellationdaq-0.4/docs/satellites/_metrics_cxx_ReceiverSatellite.md +7 -0
- constellationdaq-0.3/docs/satellites/_py_Satellite.md → constellationdaq-0.4/docs/satellites/_metrics_cxx_Satellite.md +1 -1
- constellationdaq-0.4/docs/satellites/_metrics_cxx_TransmitterSatellite.md +7 -0
- constellationdaq-0.4/docs/satellites/_metrics_py_DataReceiver.md +4 -0
- constellationdaq-0.4/docs/satellites/_metrics_py_Satellite.md +4 -0
- constellationdaq-0.3/docs/satellites/_cxx_ReceiverSatellite.md → constellationdaq-0.4/docs/satellites/_parameters_cxx_ReceiverSatellite.md +1 -0
- constellationdaq-0.4/docs/satellites/_parameters_py_Satellite.md +4 -0
- constellationdaq-0.4/docs/satellites/external_satellites.json +14 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/meson.build +3 -3
- {constellationdaq-0.3 → constellationdaq-0.4}/meson_options.txt +1 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/pyproject.toml +7 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/__init__.py +1 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/base.py +32 -59
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/broadcastmanager.py +25 -25
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/cdtp.py +1 -6
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/chirp.py +7 -10
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/chp.py +31 -13
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/cmdp.py +52 -50
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/commandmanager.py +39 -24
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/configuration.py +2 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/controller.py +30 -19
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/cscp.py +5 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/datareceiver.py +16 -15
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/datasender.py +19 -17
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/error.py +4 -3
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/fsm.py +31 -27
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/heartbeatchecker.py +22 -20
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/heartbeater.py +8 -6
- constellationdaq-0.4/python/constellation/core/logging.py +76 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/monitoring.py +37 -81
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/network.py +32 -16
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/protocol.py +12 -16
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/satellite.py +29 -53
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/meson.build +1 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/CaenHV/CaenHV.py +12 -6
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/CaenHV/__main__.py +6 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/CaenHV/lib_caen_ndt1470.py +4 -3
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/H5DataWriter/H5DataWriter.py +1 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/H5DataWriter/README.md +2 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/H5DataWriter/__main__.py +6 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Influx/Influx.py +1 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Influx/README.md +7 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Influx/__main__.py +6 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Keithley/Keithley.py +6 -6
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Keithley/Keithley2410.py +1 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Keithley/KeithleyInterface.py +2 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Keithley/__main__.py +6 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/LakeShore218/LakeShore218.py +26 -41
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/LakeShore218/README.md +2 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/LakeShore218/__main__.py +6 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Mariner/Mariner.py +3 -3
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Mariner/__main__.py +6 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/__init__.py +1 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/tools/H5datareader.py +3 -1
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/tools/list_interfaces.py +4 -3
- {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/conftest.py +17 -15
- {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_broadcastmanager.py +4 -6
- {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_cdtp.py +4 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_chirp.py +4 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_cmd_receiver.py +11 -11
- {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_configuration.py +2 -2
- {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_controller.py +4 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_example.py +5 -5
- {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_heartbeat.py +4 -4
- {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_monitoring.py +15 -25
- {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_satellite.py +8 -12
- {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/.gitignore +8 -0
- constellationdaq-0.4/subprojects/argparse.wrap +13 -0
- constellationdaq-0.4/subprojects/catch2.wrap +11 -0
- constellationdaq-0.4/subprojects/cpr.wrap +13 -0
- constellationdaq-0.4/subprojects/curl.wrap +13 -0
- constellationdaq-0.4/subprojects/fmt.wrap +13 -0
- constellationdaq-0.4/subprojects/openssl.wrap +15 -0
- constellationdaq-0.4/subprojects/spdlog.wrap +13 -0
- constellationdaq-0.3/cxx/constellation/core/message/CHP1Message.cpp +0 -106
- constellationdaq-0.3/cxx/listeners/Observatory/QLogListener.cpp +0 -114
- constellationdaq-0.3/cxx/satellites/Sputnik/SputnikSatellite.cpp +0 -51
- constellationdaq-0.3/docs/application_development/howtos/receiver_cxx.md +0 -20
- constellationdaq-0.3/docs/framework_reference/flatpak.md +0 -174
- constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_empty.png +0 -0
- constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_init_first.png +0 -0
- constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_new.png +0 -0
- constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_orbit.png +0 -0
- constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_run.png +0 -0
- constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_single_command.png +0 -0
- constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_single_response.png +0 -0
- constellationdaq-0.3/docs/satellites/external_satellites.json +0 -9
- constellationdaq-0.3/scripts/meson_disable_qt_components.sh +0 -6
- constellationdaq-0.3/subprojects/argparse.wrap +0 -13
- constellationdaq-0.3/subprojects/catch2.wrap +0 -11
- constellationdaq-0.3/subprojects/spdlog.wrap +0 -13
- {constellationdaq-0.3 → constellationdaq-0.4}/.clang-format +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/.clang-format-ignore +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/.codespellrc +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/.editorconfig +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/.gitattributes +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/.gitignore +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/.mailmap +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/.markdownlintrc +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/CITATION.cff +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/LICENSE +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/LICENSES/Apache-2.0.txt +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/LICENSES/CC-BY-4.0.txt +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/LICENSES/CC0-1.0.txt +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/LICENSES/EUPL-1.2.txt +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/LICENSES/GPL-3.0-or-later.txt +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/LICENSES/MIT.txt +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/controller/ControllerConfiguration.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/controller/exceptions.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/controller/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/chirp/BroadcastRecv.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/chirp/BroadcastRecv.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/chirp/BroadcastSend.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/chirp/BroadcastSend.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Configuration.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Configuration.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Configuration.ipp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/Value.ipp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/exceptions.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/config/exceptions.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/external/.clang-tidy +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/external/md5.h +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/heartbeat/HeartbeatRecv.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/Level.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/ProxySink.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/log/log.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/BaseHeader.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CHIRPMessage.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CHIRPMessage.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/CSCP1Message.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/message/PayloadBuffer.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/metrics/exceptions.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/networking/Port.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/networking/asio_helpers.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/networking/asio_helpers.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/networking/exceptions.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/networking/zmq_helpers.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/pools/BasePool.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/pools/SubscriberPool.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/pools/SubscriberPool.ipp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/protocol/CDTP_definitions.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/protocol/CHIRP_definitions.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/protocol/CHP_definitions.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/casts.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/enum.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/std_future.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/string.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/timers.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/type.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/core/utils/windows.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/DSOLoader.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/exceptions.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/main.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/satellite.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/exec/templates/generator.cpp.in +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/Constellation.qrc +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QCommandDialog.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QLogMessage.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QLogMessageDialog.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QLogMessageDialog.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QLogMessageDialog.ui +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QResponseDialog.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QResponseDialog.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/QResponseDialog.ui +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-change_circle.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-expand_circle_down.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-expand_circle_up.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-not_started.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-play_circle.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-power_settings_circle.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/gui/icons/material-stop_circle.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/listener/LogListener.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/listener/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/CommandRegistry.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/CommandRegistry.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/CommandRegistry.ipp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/Satellite.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/exceptions.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/constellation/satellite/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/controllers/MissionControl/de.desy.constellation.missioncontrol.desktop +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/controllers/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/Observatory.qrc +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/Observatory/de.desy.constellation.observatory.desktop +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/listeners/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/DevNullReceiver/README.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/DevNullReceiver/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/EudaqNativeWriter/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/RandomTransmitter/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/Sputnik/SputnikSatellite.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/satellites/Sputnik/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/dummy_controller.hpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_chirp_broadcast.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_chirp_message.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_core_protocol.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_exec_dsoloader.cpp +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_files/good_config.toml +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_files/inhomogeneous_array.toml +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tests/test_files/invalid_toml.txt +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/cxx/tools/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/.gitignore +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/Doxyfile +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/Makefile +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/_static/css/custom.css +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/_static/undraw_code_typing_re_p8b9.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/_static/undraw_knowledge_re_5v9l.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/_static/undraw_online_connection_6778.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/_static/undraw_open_source_-1-qxw.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/_static/undraw_set_preferences_kwia.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/_templates/recentposts.html +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/functionality/data_transmission.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/functionality/logging.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/howtos/bench_frame_size_vs_data_rate.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/howtos/bench_number_of_frames_vs_data_rate.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/howtos/data_transmission_speed.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/howtos/external_satellite.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/howtos/port_eudaq.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/application_development/tutorials/satellite_py.md +0 -0
- {constellationdaq-0.3/docs/drawings → constellationdaq-0.4/docs/etc}/ConstellationProtocols.drawio +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/contributing.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/controller/controller.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/controller/index.rst +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/chirp.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/config.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/heartbeat.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/index.rst +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/log.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/message.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/networking.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/pools.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/protocol.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/core/utils.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/listener/index.rst +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/listener/listener.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/satellite/index.rst +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/cxx/satellite/satellite.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/protocols.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/framework_reference/satellite.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/index.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/latex_helpers.py +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/logo/logo.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/logo/logo.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/logo/logo_observatory.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/logo/logo_observatory.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/logo/logo_small.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/news.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/CHP.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/CMDP.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/CSCP.svg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/autonomy.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/controller.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/logging.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/satellite.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/concepts/telemetry.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/get_started/install_from_source.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/grafana_add_influxdb.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/grafana_dashboard.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/grafana_panel_editor.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/grafana_panel_editor_final.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/grafana_setup_influxdb.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/influxdb_api_key.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/influxdb_bucket.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/influxdb_query_builder.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/influxdb_query_script.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/influxdb_setup.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/howtos/setup_influxdb_grafana.md +0 -0
- /constellationdaq-0.3/docs/operator_guide/tutorials/missioncontrol_startup.png → /constellationdaq-0.4/docs/operator_guide/tutorials/qtgui_startup.png +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/operator_guide/tutorials/single_satellite.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/protocols/chirp.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/protocols/index.rst +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/satellites/.gitignore +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/satellites/_parameter_header.md +0 -0
- /constellationdaq-0.3/docs/satellites/_cxx_Satellite.md → /constellationdaq-0.4/docs/satellites/_parameters_cxx_Satellite.md +0 -0
- /constellationdaq-0.3/docs/satellites/_cxx_TransmitterSatellite.md → /constellationdaq-0.4/docs/satellites/_parameters_cxx_TransmitterSatellite.md +0 -0
- /constellationdaq-0.3/docs/satellites/_py_DataReceiver.md → /constellationdaq-0.4/docs/satellites/_parameters_py_DataReceiver.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/docs/satellites/index.md.in +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/gcovr.cfg +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/py.typed +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/core/version_code_name +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/CaenHV/README.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/CaenHV/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/H5DataWriter/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Influx/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Keithley/README.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Keithley/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/LakeShore218/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Mariner/README.md +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/Mariner/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/constellation/satellites/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/python/tests/test_cfg.toml +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/scripts/create_source_dist.sh +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/scripts/meson_enable_all_components.sh +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/asio.wrap +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/cppzmq.wrap +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/libzmq.wrap +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/magic_enum.wrap +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/msgpackc-cxx.wrap +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/packagefiles/libzmq/fix-mingw-afunixh.diff +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/packagefiles/libzmq/meson.build +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/packagefiles/libzmq/meson_options.txt +0 -0
- {constellationdaq-0.3 → constellationdaq-0.4}/subprojects/tomlplusplus.wrap +0 -0
|
@@ -30,7 +30,7 @@ WarningsAsErrors: '*'
|
|
|
30
30
|
HeaderFileExtensions: ['', 'h', 'hpp', 'ipp']
|
|
31
31
|
CheckOptions:
|
|
32
32
|
misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic: 'true'
|
|
33
|
-
misc-include-cleaner.IgnoreHeaders: 'bits/.*;asio.*;msgpack.*;spdlog.*;toml\+\+.*;q[^\/]+\.h'
|
|
33
|
+
misc-include-cleaner.IgnoreHeaders: 'bits/.*;asio.*;msgpack.*;spdlog.*;toml\+\+.*;q[^\/]+\.h;cpr.*'
|
|
34
34
|
modernize-use-override.IgnoreDestructors: 'true'
|
|
35
35
|
cppcoreguidelines-avoid-do-while.IgnoreMacros: 'true'
|
|
36
36
|
readability-identifier-naming.NamespaceCase: lower_case
|
|
@@ -7,7 +7,7 @@ cpp = ['ccache', 'x86_64-w64-mingw32ucrt-g++']
|
|
|
7
7
|
ar = 'x86_64-w64-mingw32ucrt-ar'
|
|
8
8
|
strip = 'x86_64-w64-mingw32ucrt-strip'
|
|
9
9
|
pkg-config = 'x86_64-w64-mingw32ucrt-pkg-config'
|
|
10
|
-
exe_wrapper = 'wine64'
|
|
10
|
+
# exe_wrapper = 'wine64'
|
|
11
11
|
|
|
12
12
|
[host_machine]
|
|
13
13
|
system = 'windows'
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2025 DESY and the Constellation authors
|
|
2
|
+
# SPDX-License-Identifier: CC0-1.0
|
|
3
|
+
|
|
4
|
+
name: Sync PRs to DESY GitLab
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
pull_request_target:
|
|
8
|
+
types: [opened, synchronize, reopened, edited]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
sync:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
env:
|
|
14
|
+
GITLAB_REPOSITORY: "gitlab.desy.de/constellation/constellation"
|
|
15
|
+
GITLAB_PROJECT_TOKEN: ${{ secrets.GITLAB_PROJECT_TOKEN }}
|
|
16
|
+
REMOTE_TARGET_BRANCH: "main"
|
|
17
|
+
REMOTE_BRANCH_PREFIX: "github"
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- name: Checkout PR branch
|
|
21
|
+
uses: actions/checkout@v4
|
|
22
|
+
with:
|
|
23
|
+
ref: ${{ github.event.pull_request.head.ref }}
|
|
24
|
+
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
|
25
|
+
fetch-depth: 0
|
|
26
|
+
|
|
27
|
+
- name: Add GitLab as remote
|
|
28
|
+
run: |
|
|
29
|
+
git remote add gitlab https://github:$GITLAB_PROJECT_TOKEN@$GITLAB_REPOSITORY.git
|
|
30
|
+
git fetch gitlab $REMOTE_TARGET_BRANCH
|
|
31
|
+
|
|
32
|
+
- name: Push branch to GitLab
|
|
33
|
+
env:
|
|
34
|
+
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
|
|
35
|
+
PR_BRANCH: ${{ github.event.pull_request.head.ref }}
|
|
36
|
+
PR_TITLE: ${{ github.event.pull_request.title }}
|
|
37
|
+
PR_NUMBER: ${{ github.event.pull_request.number }}
|
|
38
|
+
PR_LINK: ${{ github.event.pull_request.html_url }}
|
|
39
|
+
PR_DESCRIPTION: ${{ github.event.pull_request.body }}
|
|
40
|
+
run: |
|
|
41
|
+
PR_DESCRIPTION="${PR_DESCRIPTION//$'\n'/\\n}" # escape newlines
|
|
42
|
+
git push gitlab --force "$PR_BRANCH:$REMOTE_BRANCH_PREFIX-$PR_AUTHOR-$PR_BRANCH" \
|
|
43
|
+
-o merge_request.create -o merge_request.target=$REMOTE_TARGET_BRANCH \
|
|
44
|
+
-o merge_request.title="$PR_TITLE" -o merge_request.label=github \
|
|
45
|
+
-o merge_request.description="[GitHub PR #$PR_NUMBER]($PR_LINK)\n\n$PR_DESCRIPTION"
|
|
@@ -64,9 +64,10 @@ variables:
|
|
|
64
64
|
|
|
65
65
|
.cpp-hi-load: &cpp-hi-load
|
|
66
66
|
variables:
|
|
67
|
-
NINJA_OPTIONS: "-
|
|
68
|
-
KUBERNETES_CPU_REQUEST: "
|
|
69
|
-
KUBERNETES_MEMORY_REQUEST: "
|
|
67
|
+
NINJA_OPTIONS: "-j8"
|
|
68
|
+
KUBERNETES_CPU_REQUEST: "8"
|
|
69
|
+
KUBERNETES_MEMORY_REQUEST: "16Gi"
|
|
70
|
+
MESON_NUM_PROCESSES: "8"
|
|
70
71
|
tags:
|
|
71
72
|
- hi-load
|
|
72
73
|
|
|
@@ -120,13 +121,13 @@ variables:
|
|
|
120
121
|
- pip install meson-python meson ninja
|
|
121
122
|
|
|
122
123
|
.python-3.11:
|
|
123
|
-
image: python:3.11
|
|
124
|
+
image: tollerort.desy.de/hub.docker.com/python:3.11
|
|
124
125
|
|
|
125
126
|
.python-3.12:
|
|
126
|
-
image: python:3.12
|
|
127
|
+
image: tollerort.desy.de/hub.docker.com/python:3.12
|
|
127
128
|
|
|
128
129
|
.python-3.13:
|
|
129
|
-
image: python:3.13
|
|
130
|
+
image: tollerort.desy.de/hub.docker.com/python:3.13
|
|
130
131
|
|
|
131
132
|
# Combined Python / C++ templates
|
|
132
133
|
|
|
@@ -168,11 +169,8 @@ variables:
|
|
|
168
169
|
build:alma9-cern:
|
|
169
170
|
extends:
|
|
170
171
|
- .build-cpp
|
|
172
|
+
- .cpp-hi-load
|
|
171
173
|
- .alma9-cern
|
|
172
|
-
cache:
|
|
173
|
-
- <<: *meson-wrap-cache
|
|
174
|
-
policy: pull-push
|
|
175
|
-
- *ccache
|
|
176
174
|
variables:
|
|
177
175
|
BUILD_TYPE: "release"
|
|
178
176
|
BUILD_OPTIONS: "-Db_lto=true -Db_lto_mode=thin -Dbuild_gui=qt5"
|
|
@@ -180,6 +178,7 @@ build:alma9-cern:
|
|
|
180
178
|
build:debian-clang:
|
|
181
179
|
extends:
|
|
182
180
|
- .build-cpp
|
|
181
|
+
- .cpp-hi-load
|
|
183
182
|
- .debian-clang
|
|
184
183
|
variables:
|
|
185
184
|
BUILD_TYPE: "debug"
|
|
@@ -188,16 +187,17 @@ build:debian-clang:
|
|
|
188
187
|
build:debian-clang-libcxx:
|
|
189
188
|
extends:
|
|
190
189
|
- .build-cpp
|
|
190
|
+
- .cpp-hi-load
|
|
191
191
|
- .debian-clang
|
|
192
192
|
variables:
|
|
193
193
|
BUILD_TYPE: "debugoptimized"
|
|
194
|
-
BUILD_OPTIONS: "--wrap-mode=forcefallback -
|
|
195
|
-
BUILD_SCRIPTS: "scripts/meson_disable_qt_components.sh"
|
|
194
|
+
BUILD_OPTIONS: "--wrap-mode=forcefallback -Db_sanitize=thread -Db_lundef=false -Dbuild_gui=none"
|
|
196
195
|
CXXFLAGS: "-stdlib=libc++ -fexperimental-library"
|
|
197
196
|
|
|
198
197
|
build:debian-gcc:
|
|
199
198
|
extends:
|
|
200
199
|
- .build-cpp
|
|
200
|
+
- .cpp-hi-load
|
|
201
201
|
- .debian-gcc
|
|
202
202
|
variables:
|
|
203
203
|
BUILD_TYPE: "debug"
|
|
@@ -207,6 +207,7 @@ build:debian-gcc:
|
|
|
207
207
|
build:fedora-clang:
|
|
208
208
|
extends:
|
|
209
209
|
- .build-cpp
|
|
210
|
+
- .cpp-hi-load
|
|
210
211
|
- .fedora-clang
|
|
211
212
|
variables:
|
|
212
213
|
BUILD_TYPE: "debugoptimized"
|
|
@@ -218,14 +219,17 @@ build:fedora-mingw:
|
|
|
218
219
|
- .fedora-mingw
|
|
219
220
|
variables:
|
|
220
221
|
BUILD_TYPE: "release"
|
|
221
|
-
BUILD_OPTIONS: "--cross .cross/mingw-ucrt.ini"
|
|
222
|
-
BUILD_SCRIPTS: "scripts/meson_disable_qt_components.sh"
|
|
222
|
+
BUILD_OPTIONS: "--cross .cross/mingw-ucrt.ini -Dbuild_gui=none"
|
|
223
223
|
|
|
224
224
|
build:ubuntu-22.04:
|
|
225
225
|
extends:
|
|
226
226
|
- .build-cpp
|
|
227
227
|
- .cpp-hi-load
|
|
228
228
|
- .ubuntu-22.04
|
|
229
|
+
cache:
|
|
230
|
+
- <<: *meson-wrap-cache
|
|
231
|
+
policy: pull-push
|
|
232
|
+
- *ccache
|
|
229
233
|
variables:
|
|
230
234
|
BUILD_TYPE: "debugoptimized"
|
|
231
235
|
BUILD_OPTIONS: "-Dbuild_gui=qt5"
|
|
@@ -234,6 +238,7 @@ build:ubuntu-22.04:
|
|
|
234
238
|
build:ubuntu-24.04:
|
|
235
239
|
extends:
|
|
236
240
|
- .build-cpp
|
|
241
|
+
- .cpp-hi-load
|
|
237
242
|
- .ubuntu-24.04
|
|
238
243
|
variables:
|
|
239
244
|
BUILD_TYPE: "debugoptimized"
|
|
@@ -425,6 +430,7 @@ lint:clang-tidy:
|
|
|
425
430
|
extends:
|
|
426
431
|
- .lint
|
|
427
432
|
- .debian-clang
|
|
433
|
+
- .cpp-hi-load
|
|
428
434
|
needs:
|
|
429
435
|
- job: build:debian-clang
|
|
430
436
|
artifacts: true
|
|
@@ -437,12 +443,13 @@ lint:clang-tidy-diff:
|
|
|
437
443
|
extends:
|
|
438
444
|
- .lint
|
|
439
445
|
- .debian-clang
|
|
446
|
+
- .cpp-hi-load
|
|
440
447
|
needs:
|
|
441
448
|
- job: build:debian-clang
|
|
442
449
|
artifacts: true
|
|
443
450
|
script:
|
|
444
451
|
- git fetch origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
|
|
445
|
-
- git diff -U0 origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME -- | clang-tidy-diff -p 1 -path build -j $
|
|
452
|
+
- git diff -U0 origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME -- | clang-tidy-diff -p 1 -path build -j $MESON_NUM_PROCESSES
|
|
446
453
|
rules:
|
|
447
454
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
448
455
|
<<: *cpp-rules-changes
|
|
@@ -510,6 +517,15 @@ format:black:
|
|
|
510
517
|
- pip install --no-build-isolation -e .[dev]
|
|
511
518
|
- black --check python/
|
|
512
519
|
|
|
520
|
+
format:isort:
|
|
521
|
+
extends:
|
|
522
|
+
- .format
|
|
523
|
+
- .python-venv
|
|
524
|
+
- .python-3.11
|
|
525
|
+
script:
|
|
526
|
+
- pip install --no-build-isolation -e .[dev]
|
|
527
|
+
- isort --check .
|
|
528
|
+
|
|
513
529
|
format:flake8:
|
|
514
530
|
extends:
|
|
515
531
|
- .format
|
|
@@ -529,7 +545,7 @@ format:clang-format:
|
|
|
529
545
|
|
|
530
546
|
format:reuse:
|
|
531
547
|
extends: .format
|
|
532
|
-
image: fsfe/reuse:latest
|
|
548
|
+
image: tollerort.desy.de/hub.docker.com/fsfe/reuse:latest
|
|
533
549
|
script:
|
|
534
550
|
- reuse lint
|
|
535
551
|
|
|
@@ -603,18 +619,20 @@ docs:spelling:
|
|
|
603
619
|
|
|
604
620
|
.deploy:
|
|
605
621
|
stage: deploy
|
|
622
|
+
needs: []
|
|
606
623
|
|
|
607
|
-
deploy:
|
|
624
|
+
deploy:release:
|
|
608
625
|
extends:
|
|
609
626
|
- .deploy
|
|
610
|
-
image: alpine:latest
|
|
627
|
+
image: tollerort.desy.de/hub.docker.com/alpine:latest
|
|
611
628
|
variables:
|
|
612
629
|
GITLAB_HOST: $CI_SERVER_URL
|
|
613
630
|
script:
|
|
614
631
|
- apk add git meson tar xz glab
|
|
615
632
|
- scripts/create_source_dist.sh
|
|
633
|
+
- CODENAME=$(grep version_code_name meson.build | sed -E "s%version_code_name = '([^']+)'%\1%")
|
|
616
634
|
- glab auth login --job-token $CI_JOB_TOKEN --hostname $CI_SERVER_HOST --api-protocol $CI_SERVER_PROTOCOL
|
|
617
|
-
- glab release create $CI_COMMIT_TAG "Constellation-${CI_COMMIT_TAG}.tar.xz#Full source code"
|
|
635
|
+
- glab release create $CI_COMMIT_TAG "Constellation-${CI_COMMIT_TAG}.tar.xz#Full source code" --name "Constellation ${CI_COMMIT_TAG} - ${CODENAME}"
|
|
618
636
|
rules:
|
|
619
637
|
- if: $CI_COMMIT_TAG =~ /^v.*/
|
|
620
638
|
|
|
@@ -21,37 +21,42 @@ repos:
|
|
|
21
21
|
- id: trailing-whitespace
|
|
22
22
|
args: [--markdown-linebreak-ext=md]
|
|
23
23
|
|
|
24
|
+
- repo: https://github.com/pycqa/isort
|
|
25
|
+
rev: 6.0.1
|
|
26
|
+
hooks:
|
|
27
|
+
- id: isort
|
|
28
|
+
|
|
24
29
|
- repo: https://github.com/codespell-project/codespell
|
|
25
|
-
rev: v2.
|
|
30
|
+
rev: v2.4.1
|
|
26
31
|
hooks:
|
|
27
32
|
- id: codespell
|
|
28
33
|
|
|
29
34
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
|
30
|
-
rev: v19.1.
|
|
35
|
+
rev: v19.1.7
|
|
31
36
|
hooks:
|
|
32
37
|
- id: clang-format
|
|
33
38
|
|
|
34
39
|
- repo: https://github.com/pycqa/flake8
|
|
35
|
-
rev: 7.1.
|
|
40
|
+
rev: 7.1.2
|
|
36
41
|
hooks:
|
|
37
42
|
- id: flake8
|
|
38
43
|
additional_dependencies: [Flake8-pyproject]
|
|
39
44
|
|
|
40
45
|
- repo: https://github.com/psf/black
|
|
41
|
-
rev:
|
|
46
|
+
rev: 25.1.0
|
|
42
47
|
hooks:
|
|
43
48
|
- id: black
|
|
44
49
|
language_version: python3
|
|
45
50
|
|
|
46
51
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
47
|
-
rev: v1.
|
|
52
|
+
rev: v1.15.0
|
|
48
53
|
hooks:
|
|
49
54
|
- id: mypy
|
|
50
55
|
args: [--no-warn-unused-ignores, --ignore-missing-imports]
|
|
51
56
|
files: "python/constellation/core"
|
|
52
57
|
|
|
53
58
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
54
|
-
rev: v0.
|
|
59
|
+
rev: v0.44.0
|
|
55
60
|
hooks:
|
|
56
61
|
- id: markdownlint
|
|
57
62
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
# SPDX-FileCopyrightText: 2025 DESY and the Constellation authors
|
|
3
|
+
# SPDX-License-Identifier: CC-BY-4.0
|
|
4
|
+
title: "Authors and Acknowledgments"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Constellation is developed and maintained by:
|
|
8
|
+
|
|
9
|
+
* Stephan Lachnit, Deutsches Elektronen-Synchrotron DESY, [stephan.lachnit](https://gitlab.desy.de/stephan.lachnit)
|
|
10
|
+
* Simon Spannagel, Deutsches Elektronen-Synchrotron DESY, [simonspa](https://gitlab.desy.de/simonspa)
|
|
11
|
+
* Hanno Perrey, Prevas AB, [hanno.perrey](https://gitlab.desy.de/hanno.perrey)
|
|
12
|
+
|
|
13
|
+
The following authors, in alphabetical order, have developed or contributed to Constellation:
|
|
14
|
+
|
|
15
|
+
* Lene Kristian Bryngemark, Lunds universitet, [ext-lene_kristian.bryngemark](https://gitlab.desy.de/ext-lene_kristian.bryngemark)
|
|
16
|
+
* Joel Ekström, Prevas AB, [joel.ekstroem](https://gitlab.desy.de/joel.ekstroem)
|
|
17
|
+
* Lennart Huth, Deutsches Elektronen-Synchrotron DESY, [lennart.huth](https://gitlab.desy.de/lennart.huth)
|
|
18
|
+
* Linus Ros, Prevas AB, [linus.ros](https://gitlab.desy.de/linus.ros)
|
|
19
|
+
* Aditya Saroha, SJC Institute of Technology, [ext-adityasaroha456](https://gitlab.desy.de/ext-adityasaroha456)
|
|
20
|
+
* Annika Vauth, Universität Hamburg, [annika.vauth](https://gitlab.desy.de/annika.vauth)
|
|
21
|
+
* Håkan Wennlöf, Deutsches Elektronen-Synchrotron DESY, [hwennlof](https://gitlab.desy.de/hwennlof)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ConstellationDAQ
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4
|
|
4
4
|
Summary: The Autonomous Control and Data Acquisition System for Dynamic Experimental Setups
|
|
5
5
|
Author: Constellation Authors
|
|
6
6
|
License: EUPL-1.2
|
|
@@ -32,6 +32,7 @@ Requires-Dist: flake8; extra == "dev"
|
|
|
32
32
|
Requires-Dist: flake8-pyproject; extra == "dev"
|
|
33
33
|
Requires-Dist: mypy; extra == "dev"
|
|
34
34
|
Requires-Dist: types-psutil; extra == "dev"
|
|
35
|
+
Requires-Dist: isort; extra == "dev"
|
|
35
36
|
Provides-Extra: test
|
|
36
37
|
Requires-Dist: pytest; extra == "test"
|
|
37
38
|
Requires-Dist: pytest-forked; extra == "test"
|
|
@@ -50,6 +51,7 @@ Requires-Dist: sphinx_design; extra == "docs"
|
|
|
50
51
|
Requires-Dist: sphinx-favicon; extra == "docs"
|
|
51
52
|
Requires-Dist: sphinx-copybutton; extra == "docs"
|
|
52
53
|
Requires-Dist: PyYAML; extra == "docs"
|
|
54
|
+
Requires-Dist: python-slugify; extra == "docs"
|
|
53
55
|
Provides-Extra: cli
|
|
54
56
|
Requires-Dist: ipython; extra == "cli"
|
|
55
57
|
Provides-Extra: caenhv
|
|
@@ -79,7 +81,7 @@ SPDX-License-Identifier: CC-BY-4.0
|
|
|
79
81
|
|
|
80
82
|
## The Autonomous Control and Data Acquisition System for Dynamic Experimental Setups
|
|
81
83
|
|
|
82
|
-
Constellation is an autonomous control and data acquisition system for small-scale experiments and experimental setup with volatile and dynamic constituents such as testbeam environments or laboratory test stands. Constellation aims to provide a flexible framework that requires minimal effort for the integration of new devices
|
|
84
|
+
Constellation is an autonomous control and data acquisition system for small-scale experiments and experimental setup with volatile and dynamic constituents such as testbeam environments or laboratory test stands. Constellation aims to provide a flexible framework that is easy to use and requires minimal effort for the integration of new devices.
|
|
83
85
|
|
|
84
86
|
More details about the project can be found on the website at [constellation.pages.desy.de](https://constellation.pages.desy.de/).
|
|
85
87
|
|
|
@@ -87,7 +89,7 @@ More details about the project can be found on the website at [constellation.pag
|
|
|
87
89
|
[](https://opensource.org/license/eupl-1-2/)
|
|
88
90
|
[](https://api.reuse.software/info/gitlab.desy.de/constellation/constellation)
|
|
89
91
|
[](https://gitlab.desy.de/constellation/constellation/-/graphs/main/charts)
|
|
90
|
-
[](https://gitlab.desy.de/constellation/constellation/-/
|
|
92
|
+
[](https://gitlab.desy.de/constellation/constellation/-/pipelines/charts)
|
|
91
93
|
|
|
92
94
|
## Licenses
|
|
93
95
|
|
|
@@ -9,7 +9,7 @@ SPDX-License-Identifier: CC-BY-4.0
|
|
|
9
9
|
|
|
10
10
|
## The Autonomous Control and Data Acquisition System for Dynamic Experimental Setups
|
|
11
11
|
|
|
12
|
-
Constellation is an autonomous control and data acquisition system for small-scale experiments and experimental setup with volatile and dynamic constituents such as testbeam environments or laboratory test stands. Constellation aims to provide a flexible framework that requires minimal effort for the integration of new devices
|
|
12
|
+
Constellation is an autonomous control and data acquisition system for small-scale experiments and experimental setup with volatile and dynamic constituents such as testbeam environments or laboratory test stands. Constellation aims to provide a flexible framework that is easy to use and requires minimal effort for the integration of new devices.
|
|
13
13
|
|
|
14
14
|
More details about the project can be found on the website at [constellation.pages.desy.de](https://constellation.pages.desy.de/).
|
|
15
15
|
|
|
@@ -17,7 +17,7 @@ More details about the project can be found on the website at [constellation.pag
|
|
|
17
17
|
[](https://opensource.org/license/eupl-1-2/)
|
|
18
18
|
[](https://api.reuse.software/info/gitlab.desy.de/constellation/constellation)
|
|
19
19
|
[](https://gitlab.desy.de/constellation/constellation/-/graphs/main/charts)
|
|
20
|
-
[](https://gitlab.desy.de/constellation/constellation/-/
|
|
20
|
+
[](https://gitlab.desy.de/constellation/constellation/-/pipelines/charts)
|
|
21
21
|
|
|
22
22
|
## Licenses
|
|
23
23
|
|
|
@@ -20,12 +20,14 @@ SPDX-License-Identifier = "GPL-3.0-or-later"
|
|
|
20
20
|
[[annotations]]
|
|
21
21
|
path = [
|
|
22
22
|
"cxx/constellation/gui/Constellation.qrc",
|
|
23
|
+
"cxx/constellation/gui/QConnectionDialog.ui",
|
|
23
24
|
"cxx/constellation/gui/QCommandDialog.ui",
|
|
24
25
|
"cxx/constellation/gui/QLogMessageDialog.ui",
|
|
25
26
|
"cxx/constellation/gui/QResponseDialog.ui",
|
|
26
27
|
"cxx/controllers/MissionControl/MissionControl.ui",
|
|
27
28
|
"cxx/listeners/Observatory/Observatory.qrc",
|
|
28
29
|
"cxx/listeners/Observatory/Observatory.ui",
|
|
30
|
+
"cxx/listeners/Observatory/QSenderSubscriptions.ui",
|
|
29
31
|
]
|
|
30
32
|
SPDX-FileCopyrightText = "DESY and the Constellation authors"
|
|
31
33
|
SPDX-License-Identifier = "EUPL-1.2"
|
|
@@ -37,6 +39,7 @@ SPDX-License-Identifier = "Apache-2.0"
|
|
|
37
39
|
|
|
38
40
|
[[annotations]]
|
|
39
41
|
path = [
|
|
42
|
+
"docs/etc/de.desy.constellation.metainfo.xml",
|
|
40
43
|
"cxx/controllers/MissionControl/de.desy.constellation.missioncontrol.desktop",
|
|
41
44
|
"cxx/listeners/Observatory/de.desy.constellation.observatory.desktop",
|
|
42
45
|
"python/constellation/core/version_code_name",
|
|
@@ -36,12 +36,15 @@
|
|
|
36
36
|
#include "constellation/core/log/log.hpp"
|
|
37
37
|
#include "constellation/core/message/CHP1Message.hpp"
|
|
38
38
|
#include "constellation/core/message/CSCP1Message.hpp"
|
|
39
|
+
#include "constellation/core/message/exceptions.hpp"
|
|
39
40
|
#include "constellation/core/networking/exceptions.hpp"
|
|
40
41
|
#include "constellation/core/networking/zmq_helpers.hpp"
|
|
41
42
|
#include "constellation/core/protocol/CHIRP_definitions.hpp"
|
|
42
43
|
#include "constellation/core/protocol/CHP_definitions.hpp"
|
|
43
44
|
#include "constellation/core/protocol/CSCP_definitions.hpp"
|
|
44
45
|
#include "constellation/core/utils/enum.hpp"
|
|
46
|
+
#include "constellation/core/utils/ManagerLocator.hpp"
|
|
47
|
+
#include "constellation/core/utils/msgpack.hpp"
|
|
45
48
|
#include "constellation/core/utils/string.hpp"
|
|
46
49
|
|
|
47
50
|
using namespace constellation::config;
|
|
@@ -59,7 +62,7 @@ Controller::Controller(std::string controller_name)
|
|
|
59
62
|
|
|
60
63
|
void Controller::start() {
|
|
61
64
|
LOG(logger_, DEBUG) << "Registering controller callback";
|
|
62
|
-
auto* chirp_manager =
|
|
65
|
+
auto* chirp_manager = ManagerLocator::getCHIRPManager();
|
|
63
66
|
if(chirp_manager != nullptr) {
|
|
64
67
|
chirp_manager->registerDiscoverCallback(&Controller::callback, CHIRP::CONTROL, this);
|
|
65
68
|
chirp_manager->sendRequest(CHIRP::CONTROL);
|
|
@@ -73,7 +76,7 @@ void Controller::stop() {
|
|
|
73
76
|
heartbeat_receiver_.stopPool();
|
|
74
77
|
|
|
75
78
|
// Unregister callback
|
|
76
|
-
auto* chirp_manager =
|
|
79
|
+
auto* chirp_manager = ManagerLocator::getCHIRPManager();
|
|
77
80
|
if(chirp_manager != nullptr) {
|
|
78
81
|
chirp_manager->unregisterDiscoverCallback(&Controller::callback, CHIRP::CONTROL);
|
|
79
82
|
}
|
|
@@ -92,6 +95,7 @@ void Controller::stop() {
|
|
|
92
95
|
}
|
|
93
96
|
|
|
94
97
|
void Controller::reached_state(CSCP::State /*state*/, bool /*global*/) {};
|
|
98
|
+
void Controller::leaving_state(CSCP::State /*state*/, bool /*global*/) {};
|
|
95
99
|
void Controller::propagate_update(UpdateType /*type*/, std::size_t /*position*/, std::size_t /*total*/) {};
|
|
96
100
|
|
|
97
101
|
// NOLINTNEXTLINE(performance-unnecessary-value-param)
|
|
@@ -102,6 +106,10 @@ void Controller::callback(chirp::DiscoveredService service, chirp::ServiceStatus
|
|
|
102
106
|
|
|
103
107
|
void Controller::callback_impl(const constellation::chirp::DiscoveredService& service, chirp::ServiceStatus status) {
|
|
104
108
|
|
|
109
|
+
// Store old state:
|
|
110
|
+
const auto old_lowest_state = getLowestState();
|
|
111
|
+
const auto old_is_global = isInGlobalState();
|
|
112
|
+
|
|
105
113
|
std::unique_lock<std::mutex> lock {connection_mutex_};
|
|
106
114
|
|
|
107
115
|
// Add or drop, depending on message:
|
|
@@ -127,6 +135,7 @@ void Controller::callback_impl(const constellation::chirp::DiscoveredService& se
|
|
|
127
135
|
|
|
128
136
|
lock.unlock();
|
|
129
137
|
// Propagate state change of the constellation
|
|
138
|
+
leaving_state(old_lowest_state, old_is_global);
|
|
130
139
|
reached_state(getLowestState(), isInGlobalState());
|
|
131
140
|
}
|
|
132
141
|
} else if(status == chirp::ServiceStatus::DISCOVERED) {
|
|
@@ -170,6 +179,7 @@ void Controller::callback_impl(const constellation::chirp::DiscoveredService& se
|
|
|
170
179
|
|
|
171
180
|
lock.unlock();
|
|
172
181
|
// Propagate state change of the constellation
|
|
182
|
+
leaving_state(old_lowest_state, old_is_global);
|
|
173
183
|
reached_state(getLowestState(), isInGlobalState());
|
|
174
184
|
}
|
|
175
185
|
} catch(const zmq::error_t& e) {
|
|
@@ -182,40 +192,52 @@ void Controller::callback_impl(const constellation::chirp::DiscoveredService& se
|
|
|
182
192
|
|
|
183
193
|
void Controller::process_heartbeat(const message::CHP1Message& msg) {
|
|
184
194
|
|
|
195
|
+
// Cache old lowest state
|
|
196
|
+
const auto old_lowest_state = getLowestState();
|
|
197
|
+
const auto old_is_global = isInGlobalState();
|
|
198
|
+
|
|
185
199
|
std::unique_lock<std::mutex> lock {connection_mutex_};
|
|
186
200
|
const auto now = std::chrono::system_clock::now();
|
|
187
201
|
|
|
188
202
|
// Find satellite from connection list based in the heartbeat sender name
|
|
189
203
|
const auto sat = connections_.find(msg.getSender());
|
|
190
204
|
if(sat != connections_.end()) {
|
|
191
|
-
LOG(logger_, TRACE) << msg.getSender() << " reports state " << msg.getState() << ",
|
|
192
|
-
<< msg.getInterval().count();
|
|
205
|
+
LOG(logger_, TRACE) << msg.getSender() << " reports state " << msg.getState() << ", status "
|
|
206
|
+
<< msg.getStatus().value_or("(none)") << ", next message in " << msg.getInterval().count();
|
|
193
207
|
|
|
194
208
|
const auto deviation = std::chrono::duration_cast<std::chrono::seconds>(now - msg.getTime());
|
|
195
209
|
if(std::chrono::abs(deviation) > 3s) [[unlikely]] {
|
|
196
210
|
LOG(logger_, DEBUG) << "Detected time deviation of " << deviation << " to " << msg.getSender();
|
|
197
211
|
}
|
|
198
212
|
|
|
199
|
-
// Check if
|
|
200
|
-
|
|
213
|
+
// Check if information has changed and we need to calculate and propagate updates:
|
|
214
|
+
bool connection_updated = (sat->second.state != msg.getState()) || (sat->second.interval != msg.getInterval());
|
|
201
215
|
|
|
202
|
-
// Update
|
|
216
|
+
// Update state and timers
|
|
203
217
|
sat->second.interval = msg.getInterval();
|
|
204
218
|
sat->second.last_heartbeat = now;
|
|
205
219
|
sat->second.state = msg.getState();
|
|
206
220
|
|
|
221
|
+
// Update status message if available
|
|
222
|
+
const auto status = msg.getStatus();
|
|
223
|
+
if(status.has_value()) {
|
|
224
|
+
sat->second.last_message = status.value();
|
|
225
|
+
connection_updated = true;
|
|
226
|
+
}
|
|
227
|
+
|
|
207
228
|
// Replenish lives unless we're in ERROR or SAFE state:
|
|
208
229
|
if(msg.getState() != CSCP::State::ERROR && msg.getState() != CSCP::State::SAFE) {
|
|
209
230
|
sat->second.lives = protocol::CHP::Lives;
|
|
210
231
|
}
|
|
211
232
|
|
|
212
|
-
//
|
|
213
|
-
if(
|
|
233
|
+
// Connection was changed, propagate this:
|
|
234
|
+
if(connection_updated) {
|
|
214
235
|
// Notify derived classes of change
|
|
215
236
|
propagate_update(UpdateType::UPDATED, std::distance(connections_.begin(), sat), connections_.size());
|
|
216
237
|
|
|
217
238
|
lock.unlock();
|
|
218
239
|
// Notify about this new state
|
|
240
|
+
leaving_state(old_lowest_state, old_is_global);
|
|
219
241
|
reached_state(getLowestState(), isInGlobalState());
|
|
220
242
|
}
|
|
221
243
|
} else {
|
|
@@ -274,7 +296,7 @@ std::optional<std::chrono::system_clock::time_point> Controller::getRunStartTime
|
|
|
274
296
|
} catch(const msgpack::unpack_error&) {
|
|
275
297
|
continue;
|
|
276
298
|
}
|
|
277
|
-
} catch(const
|
|
299
|
+
} catch(const MessageDecodingError& e) {
|
|
278
300
|
LOG(CRITICAL) << e.what();
|
|
279
301
|
continue;
|
|
280
302
|
}
|
|
@@ -329,7 +351,7 @@ CSCP1Message Controller::send_receive(Connection& conn, CSCP1Message& cmd, bool
|
|
|
329
351
|
auto reply = CSCP1Message::disassemble(recv_zmq_msg);
|
|
330
352
|
const auto verb = reply.getVerb();
|
|
331
353
|
conn.last_cmd_type = verb.first;
|
|
332
|
-
conn.
|
|
354
|
+
conn.last_message = verb.second;
|
|
333
355
|
return reply;
|
|
334
356
|
}
|
|
335
357
|
|
|
@@ -349,7 +371,7 @@ CSCP1Message Controller::build_message(std::string verb, const CommandPayload& p
|
|
|
349
371
|
send_msg.addPayload(std::get<List>(payload).assemble());
|
|
350
372
|
} else if(std::holds_alternative<std::string>(payload)) {
|
|
351
373
|
msgpack::sbuffer sbuf {};
|
|
352
|
-
|
|
374
|
+
msgpack_pack(sbuf, std::get<std::string>(payload));
|
|
353
375
|
send_msg.addPayload(std::move(sbuf));
|
|
354
376
|
}
|
|
355
377
|
return send_msg;
|
|
@@ -482,7 +504,7 @@ void Controller::controller_loop(const std::stop_token& stop_token) {
|
|
|
482
504
|
|
|
483
505
|
// Discard all CHIRP services for this host - this will remove the connection through the callback:
|
|
484
506
|
lock.unlock();
|
|
485
|
-
auto* chirp_manager =
|
|
507
|
+
auto* chirp_manager = ManagerLocator::getCHIRPManager();
|
|
486
508
|
if(chirp_manager != nullptr) {
|
|
487
509
|
chirp_manager->forgetDiscoveredServices(conn->second.host_id);
|
|
488
510
|
}
|
|
@@ -74,7 +74,7 @@ namespace constellation::controller {
|
|
|
74
74
|
/** State and last response */
|
|
75
75
|
protocol::CSCP::State state {protocol::CSCP::State::NEW};
|
|
76
76
|
message::CSCP1Message::Type last_cmd_type {};
|
|
77
|
-
std::string
|
|
77
|
+
std::string last_message {}; // NOLINT(readability-redundant-member-init)
|
|
78
78
|
config::Dictionary commands {};
|
|
79
79
|
|
|
80
80
|
/** Heartbeat status */
|
|
@@ -250,11 +250,19 @@ namespace constellation::controller {
|
|
|
250
250
|
* update of a satellite or the joining or departing of a satellite, this method is called. This can e.g. be used to
|
|
251
251
|
* emit signals for user interfaces or to trigger further actions.
|
|
252
252
|
*
|
|
253
|
-
* @param state The new global state of the constellation
|
|
253
|
+
* @param state The new global or lowest state of the constellation
|
|
254
254
|
* @param global Flag indicating whether the new state is global or lowest
|
|
255
255
|
*/
|
|
256
256
|
virtual void reached_state(protocol::CSCP::State state, bool global);
|
|
257
257
|
|
|
258
|
+
/**
|
|
259
|
+
* @brief Method called whenever a global or lowest state is left towards a new state
|
|
260
|
+
*
|
|
261
|
+
* @param state The previous lowest state of the constellation
|
|
262
|
+
* @param global Flag indicating whether the previous state was global or lowest
|
|
263
|
+
*/
|
|
264
|
+
virtual void leaving_state(protocol::CSCP::State state, bool global);
|
|
265
|
+
|
|
258
266
|
/**
|
|
259
267
|
* @brief Method to propagate updates of connection data
|
|
260
268
|
* @details This virtual method can be overridden by derived controller classes in order to be informed about
|
|
@@ -261,12 +261,13 @@ bool ControllerConfiguration::hasSatelliteConfiguration(std::string_view canonic
|
|
|
261
261
|
void ControllerConfiguration::addSatelliteConfiguration(std::string_view canonical_name, config::Dictionary config) {
|
|
262
262
|
|
|
263
263
|
// Check if already there
|
|
264
|
-
auto
|
|
264
|
+
const auto canonical_name_lc = transform(canonical_name, ::tolower);
|
|
265
|
+
auto config_it = satellite_configs_.find(canonical_name_lc);
|
|
265
266
|
if(config_it != satellite_configs_.end()) {
|
|
266
267
|
LOG(config_parser_logger_, WARNING) << "Overwriting existing satellite configuration for " << canonical_name;
|
|
267
268
|
config_it->second = std::move(config);
|
|
268
269
|
} else {
|
|
269
|
-
satellite_configs_.emplace(
|
|
270
|
+
satellite_configs_.emplace(canonical_name_lc, std::move(config));
|
|
270
271
|
}
|
|
271
272
|
}
|
|
272
273
|
|
|
@@ -98,14 +98,6 @@ bool DiscoverCallbackEntry::operator<(const DiscoverCallbackEntry& other) const
|
|
|
98
98
|
return std::to_underlying(service_id) < std::to_underlying(other.service_id);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
Manager* Manager::getDefaultInstance() {
|
|
102
|
-
return Manager::default_manager_instance_;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
void Manager::setAsDefaultInstance() {
|
|
106
|
-
Manager::default_manager_instance_ = this;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
101
|
Manager::Manager(const std::optional<asio::ip::address_v4>& brd_address,
|
|
110
102
|
const asio::ip::address_v4& any_address,
|
|
111
103
|
std::string_view group_name,
|
|
@@ -107,19 +107,6 @@ namespace constellation::chirp {
|
|
|
107
107
|
|
|
108
108
|
/** Manager for CHIRP broadcasting and receiving */
|
|
109
109
|
class Manager {
|
|
110
|
-
public:
|
|
111
|
-
/**
|
|
112
|
-
* Return the default CHIRP Manager (requires to be set via `setAsDefaultInstance`)
|
|
113
|
-
*
|
|
114
|
-
* @return Pointer to default CHIRP Manager (might be a nullptr)
|
|
115
|
-
*/
|
|
116
|
-
CNSTLN_API static Manager* getDefaultInstance();
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Set this CHIRP manager as the default instance
|
|
120
|
-
*/
|
|
121
|
-
CNSTLN_API void setAsDefaultInstance();
|
|
122
|
-
|
|
123
110
|
public:
|
|
124
111
|
/**
|
|
125
112
|
* @param brd_address Broadcast address for outgoing broadcast messages
|
|
@@ -338,9 +325,6 @@ namespace constellation::chirp {
|
|
|
338
325
|
std::mutex discover_callbacks_mutex_;
|
|
339
326
|
|
|
340
327
|
std::jthread main_loop_thread_;
|
|
341
|
-
|
|
342
|
-
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
|
|
343
|
-
inline static Manager* default_manager_instance_;
|
|
344
328
|
};
|
|
345
329
|
|
|
346
330
|
} // namespace constellation::chirp
|