ConstellationDAQ 0.1__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.
Files changed (310) hide show
  1. constellationdaq-0.1/.clang-format +33 -0
  2. constellationdaq-0.1/.clang-format-ignore +5 -0
  3. constellationdaq-0.1/.clang-tidy +46 -0
  4. constellationdaq-0.1/.codespellrc +9 -0
  5. constellationdaq-0.1/.cross/mingw-ucrt.ini +23 -0
  6. constellationdaq-0.1/.editorconfig +26 -0
  7. constellationdaq-0.1/.gitattributes +4 -0
  8. constellationdaq-0.1/.gitignore +16 -0
  9. constellationdaq-0.1/.gitlab-ci.yml +594 -0
  10. constellationdaq-0.1/.mailmap +8 -0
  11. constellationdaq-0.1/.markdownlintrc +13 -0
  12. constellationdaq-0.1/.pre-commit-config.yaml +55 -0
  13. constellationdaq-0.1/CITATION.cff +31 -0
  14. constellationdaq-0.1/LICENSE +287 -0
  15. constellationdaq-0.1/LICENSES/CC-BY-4.0.txt +156 -0
  16. constellationdaq-0.1/LICENSES/CC0-1.0.txt +121 -0
  17. constellationdaq-0.1/LICENSES/EUPL-1.2.txt +287 -0
  18. constellationdaq-0.1/LICENSES/GPL-3.0-or-later.txt +232 -0
  19. constellationdaq-0.1/LICENSES/MIT.txt +9 -0
  20. constellationdaq-0.1/PKG-INFO +90 -0
  21. constellationdaq-0.1/README.md +28 -0
  22. constellationdaq-0.1/REUSE.toml +27 -0
  23. constellationdaq-0.1/cxx/constellation/build.hpp +51 -0
  24. constellationdaq-0.1/cxx/constellation/controller/Controller.cpp +448 -0
  25. constellationdaq-0.1/cxx/constellation/controller/Controller.hpp +362 -0
  26. constellationdaq-0.1/cxx/constellation/controller/ControllerConfiguration.cpp +232 -0
  27. constellationdaq-0.1/cxx/constellation/controller/ControllerConfiguration.hpp +119 -0
  28. constellationdaq-0.1/cxx/constellation/controller/exceptions.hpp +74 -0
  29. constellationdaq-0.1/cxx/constellation/controller/meson.build +37 -0
  30. constellationdaq-0.1/cxx/constellation/core/chirp/BroadcastRecv.cpp +83 -0
  31. constellationdaq-0.1/cxx/constellation/core/chirp/BroadcastRecv.hpp +77 -0
  32. constellationdaq-0.1/cxx/constellation/core/chirp/BroadcastSend.cpp +36 -0
  33. constellationdaq-0.1/cxx/constellation/core/chirp/BroadcastSend.hpp +61 -0
  34. constellationdaq-0.1/cxx/constellation/core/chirp/CHIRP_definitions.hpp +67 -0
  35. constellationdaq-0.1/cxx/constellation/core/chirp/Manager.cpp +352 -0
  36. constellationdaq-0.1/cxx/constellation/core/chirp/Manager.hpp +343 -0
  37. constellationdaq-0.1/cxx/constellation/core/config/Configuration.cpp +150 -0
  38. constellationdaq-0.1/cxx/constellation/core/config/Configuration.hpp +334 -0
  39. constellationdaq-0.1/cxx/constellation/core/config/Configuration.ipp +96 -0
  40. constellationdaq-0.1/cxx/constellation/core/config/Dictionary.cpp +119 -0
  41. constellationdaq-0.1/cxx/constellation/core/config/Dictionary.hpp +76 -0
  42. constellationdaq-0.1/cxx/constellation/core/config/Value.cpp +157 -0
  43. constellationdaq-0.1/cxx/constellation/core/config/Value.hpp +118 -0
  44. constellationdaq-0.1/cxx/constellation/core/config/Value.ipp +146 -0
  45. constellationdaq-0.1/cxx/constellation/core/config/exceptions.cpp +47 -0
  46. constellationdaq-0.1/cxx/constellation/core/config/exceptions.hpp +117 -0
  47. constellationdaq-0.1/cxx/constellation/core/external/.clang-tidy +6 -0
  48. constellationdaq-0.1/cxx/constellation/core/external/md5.h +577 -0
  49. constellationdaq-0.1/cxx/constellation/core/heartbeat/HeartbeatManager.cpp +147 -0
  50. constellationdaq-0.1/cxx/constellation/core/heartbeat/HeartbeatManager.hpp +141 -0
  51. constellationdaq-0.1/cxx/constellation/core/heartbeat/HeartbeatRecv.hpp +46 -0
  52. constellationdaq-0.1/cxx/constellation/core/heartbeat/HeartbeatSend.cpp +80 -0
  53. constellationdaq-0.1/cxx/constellation/core/heartbeat/HeartbeatSend.hpp +105 -0
  54. constellationdaq-0.1/cxx/constellation/core/log/CMDPSink.cpp +205 -0
  55. constellationdaq-0.1/cxx/constellation/core/log/CMDPSink.hpp +90 -0
  56. constellationdaq-0.1/cxx/constellation/core/log/Level.hpp +79 -0
  57. constellationdaq-0.1/cxx/constellation/core/log/Logger.cpp +38 -0
  58. constellationdaq-0.1/cxx/constellation/core/log/Logger.hpp +132 -0
  59. constellationdaq-0.1/cxx/constellation/core/log/ProxySink.hpp +44 -0
  60. constellationdaq-0.1/cxx/constellation/core/log/SinkManager.cpp +234 -0
  61. constellationdaq-0.1/cxx/constellation/core/log/SinkManager.hpp +152 -0
  62. constellationdaq-0.1/cxx/constellation/core/log/log.hpp +217 -0
  63. constellationdaq-0.1/cxx/constellation/core/meson.build +146 -0
  64. constellationdaq-0.1/cxx/constellation/core/message/BaseHeader.cpp +98 -0
  65. constellationdaq-0.1/cxx/constellation/core/message/BaseHeader.hpp +104 -0
  66. constellationdaq-0.1/cxx/constellation/core/message/CDTP1Message.cpp +162 -0
  67. constellationdaq-0.1/cxx/constellation/core/message/CDTP1Message.hpp +122 -0
  68. constellationdaq-0.1/cxx/constellation/core/message/CHIRPMessage.cpp +142 -0
  69. constellationdaq-0.1/cxx/constellation/core/message/CHIRPMessage.hpp +119 -0
  70. constellationdaq-0.1/cxx/constellation/core/message/CHP1Message.cpp +106 -0
  71. constellationdaq-0.1/cxx/constellation/core/message/CHP1Message.hpp +75 -0
  72. constellationdaq-0.1/cxx/constellation/core/message/CMDP1Message.cpp +162 -0
  73. constellationdaq-0.1/cxx/constellation/core/message/CMDP1Message.hpp +213 -0
  74. constellationdaq-0.1/cxx/constellation/core/message/CSCP1Message.cpp +86 -0
  75. constellationdaq-0.1/cxx/constellation/core/message/CSCP1Message.hpp +135 -0
  76. constellationdaq-0.1/cxx/constellation/core/message/PayloadBuffer.hpp +193 -0
  77. constellationdaq-0.1/cxx/constellation/core/message/exceptions.hpp +83 -0
  78. constellationdaq-0.1/cxx/constellation/core/metrics/Metric.cpp +59 -0
  79. constellationdaq-0.1/cxx/constellation/core/metrics/Metric.hpp +98 -0
  80. constellationdaq-0.1/cxx/constellation/core/pools/BasePool.hpp +183 -0
  81. constellationdaq-0.1/cxx/constellation/core/pools/BasePool.ipp +292 -0
  82. constellationdaq-0.1/cxx/constellation/core/pools/SubscriberPool.hpp +102 -0
  83. constellationdaq-0.1/cxx/constellation/core/pools/SubscriberPool.ipp +97 -0
  84. constellationdaq-0.1/cxx/constellation/core/protocol/CHP_definitions.hpp +19 -0
  85. constellationdaq-0.1/cxx/constellation/core/protocol/CSCP_definitions.hpp +155 -0
  86. constellationdaq-0.1/cxx/constellation/core/protocol/Protocol.hpp +99 -0
  87. constellationdaq-0.1/cxx/constellation/core/utils/casts.hpp +65 -0
  88. constellationdaq-0.1/cxx/constellation/core/utils/exceptions.hpp +95 -0
  89. constellationdaq-0.1/cxx/constellation/core/utils/networking.hpp +69 -0
  90. constellationdaq-0.1/cxx/constellation/core/utils/std_future.hpp +100 -0
  91. constellationdaq-0.1/cxx/constellation/core/utils/string.hpp +184 -0
  92. constellationdaq-0.1/cxx/constellation/core/utils/string_hash_map.hpp +37 -0
  93. constellationdaq-0.1/cxx/constellation/core/utils/timers.hpp +42 -0
  94. constellationdaq-0.1/cxx/constellation/core/utils/type.hpp +115 -0
  95. constellationdaq-0.1/cxx/constellation/core/utils/windows.hpp +54 -0
  96. constellationdaq-0.1/cxx/constellation/exec/DSOLoader.cpp +139 -0
  97. constellationdaq-0.1/cxx/constellation/exec/DSOLoader.hpp +66 -0
  98. constellationdaq-0.1/cxx/constellation/exec/exceptions.hpp +57 -0
  99. constellationdaq-0.1/cxx/constellation/exec/main.cpp +16 -0
  100. constellationdaq-0.1/cxx/constellation/exec/meson.build +54 -0
  101. constellationdaq-0.1/cxx/constellation/exec/satellite.cpp +234 -0
  102. constellationdaq-0.1/cxx/constellation/exec/satellite.hpp +49 -0
  103. constellationdaq-0.1/cxx/constellation/exec/templates/generator.cpp.in +34 -0
  104. constellationdaq-0.1/cxx/constellation/exec/templates/main.cpp.in +16 -0
  105. constellationdaq-0.1/cxx/constellation/meson.build +36 -0
  106. constellationdaq-0.1/cxx/constellation/satellite/BaseSatellite.cpp +504 -0
  107. constellationdaq-0.1/cxx/constellation/satellite/BaseSatellite.hpp +233 -0
  108. constellationdaq-0.1/cxx/constellation/satellite/CommandRegistry.cpp +74 -0
  109. constellationdaq-0.1/cxx/constellation/satellite/CommandRegistry.hpp +160 -0
  110. constellationdaq-0.1/cxx/constellation/satellite/CommandRegistry.ipp +88 -0
  111. constellationdaq-0.1/cxx/constellation/satellite/FSM.cpp +398 -0
  112. constellationdaq-0.1/cxx/constellation/satellite/FSM.hpp +284 -0
  113. constellationdaq-0.1/cxx/constellation/satellite/ReceiverSatellite.cpp +264 -0
  114. constellationdaq-0.1/cxx/constellation/satellite/ReceiverSatellite.hpp +206 -0
  115. constellationdaq-0.1/cxx/constellation/satellite/Satellite.cpp +53 -0
  116. constellationdaq-0.1/cxx/constellation/satellite/Satellite.hpp +188 -0
  117. constellationdaq-0.1/cxx/constellation/satellite/TransmitterSatellite.cpp +142 -0
  118. constellationdaq-0.1/cxx/constellation/satellite/TransmitterSatellite.hpp +212 -0
  119. constellationdaq-0.1/cxx/constellation/satellite/exceptions.hpp +198 -0
  120. constellationdaq-0.1/cxx/constellation/satellite/meson.build +47 -0
  121. constellationdaq-0.1/cxx/controllers/MissionControl/MissionControl.cpp +689 -0
  122. constellationdaq-0.1/cxx/controllers/MissionControl/MissionControl.hpp +211 -0
  123. constellationdaq-0.1/cxx/controllers/MissionControl/MissionControl.qrc +5 -0
  124. constellationdaq-0.1/cxx/controllers/MissionControl/MissionControl.ui +602 -0
  125. constellationdaq-0.1/cxx/controllers/MissionControl/QController.cpp +293 -0
  126. constellationdaq-0.1/cxx/controllers/MissionControl/QController.hpp +212 -0
  127. constellationdaq-0.1/cxx/controllers/MissionControl/meson.build +23 -0
  128. constellationdaq-0.1/cxx/controllers/MissionControl/qt_utils.hpp +44 -0
  129. constellationdaq-0.1/cxx/controllers/meson.build +4 -0
  130. constellationdaq-0.1/cxx/meson.build +92 -0
  131. constellationdaq-0.1/cxx/satellites/DevNullReceiver/DevNullReceiverSatellite.cpp +59 -0
  132. constellationdaq-0.1/cxx/satellites/DevNullReceiver/DevNullReceiverSatellite.hpp +38 -0
  133. constellationdaq-0.1/cxx/satellites/DevNullReceiver/README.md +23 -0
  134. constellationdaq-0.1/cxx/satellites/DevNullReceiver/meson.build +16 -0
  135. constellationdaq-0.1/cxx/satellites/RandomTransmitter/README.md +27 -0
  136. constellationdaq-0.1/cxx/satellites/RandomTransmitter/RandomTransmitterSatellite.cpp +91 -0
  137. constellationdaq-0.1/cxx/satellites/RandomTransmitter/RandomTransmitterSatellite.hpp +42 -0
  138. constellationdaq-0.1/cxx/satellites/RandomTransmitter/meson.build +16 -0
  139. constellationdaq-0.1/cxx/satellites/Sputnik/README.md +57 -0
  140. constellationdaq-0.1/cxx/satellites/Sputnik/SputnikSatellite.cpp +21 -0
  141. constellationdaq-0.1/cxx/satellites/Sputnik/SputnikSatellite.hpp +19 -0
  142. constellationdaq-0.1/cxx/satellites/Sputnik/meson.build +21 -0
  143. constellationdaq-0.1/cxx/satellites/meson.build +52 -0
  144. constellationdaq-0.1/cxx/tests/chirp_mock.hpp +39 -0
  145. constellationdaq-0.1/cxx/tests/dummy_satellite.hpp +136 -0
  146. constellationdaq-0.1/cxx/tests/meson.build +141 -0
  147. constellationdaq-0.1/cxx/tests/test_controller_config.cpp +97 -0
  148. constellationdaq-0.1/cxx/tests/test_core_chirp_broadcast.cpp +108 -0
  149. constellationdaq-0.1/cxx/tests/test_core_chirp_manager.cpp +371 -0
  150. constellationdaq-0.1/cxx/tests/test_core_chirp_message.cpp +97 -0
  151. constellationdaq-0.1/cxx/tests/test_core_config.cpp +629 -0
  152. constellationdaq-0.1/cxx/tests/test_core_logging.cpp +176 -0
  153. constellationdaq-0.1/cxx/tests/test_core_message.cpp +359 -0
  154. constellationdaq-0.1/cxx/tests/test_core_pools.cpp +256 -0
  155. constellationdaq-0.1/cxx/tests/test_core_utils.cpp +55 -0
  156. constellationdaq-0.1/cxx/tests/test_exec_dsoloader.cpp +60 -0
  157. constellationdaq-0.1/cxx/tests/test_files/good_config.toml +27 -0
  158. constellationdaq-0.1/cxx/tests/test_files/inhomogeneous_array.toml +7 -0
  159. constellationdaq-0.1/cxx/tests/test_files/invalid_toml.txt +7 -0
  160. constellationdaq-0.1/cxx/tests/test_satellite_base.cpp +538 -0
  161. constellationdaq-0.1/cxx/tests/test_satellite_data.cpp +238 -0
  162. constellationdaq-0.1/cxx/tests/test_satellite_fsm.cpp +469 -0
  163. constellationdaq-0.1/cxx/tools/chirp_manager.cpp +254 -0
  164. constellationdaq-0.1/cxx/tools/chp_receiver.cpp +87 -0
  165. constellationdaq-0.1/cxx/tools/chp_sender.cpp +84 -0
  166. constellationdaq-0.1/cxx/tools/dummy_controller.cpp +117 -0
  167. constellationdaq-0.1/cxx/tools/meson.build +32 -0
  168. constellationdaq-0.1/docs/.gitignore +12 -0
  169. constellationdaq-0.1/docs/Doxyfile +2767 -0
  170. constellationdaq-0.1/docs/Makefile +25 -0
  171. constellationdaq-0.1/docs/_static/css/custom.css +88 -0
  172. constellationdaq-0.1/docs/_static/undraw_code_typing_re_p8b9.svg +1 -0
  173. constellationdaq-0.1/docs/_static/undraw_knowledge_re_5v9l.svg +1 -0
  174. constellationdaq-0.1/docs/_static/undraw_online_connection_6778.svg +1 -0
  175. constellationdaq-0.1/docs/_static/undraw_open_source_-1-qxw.svg +1 -0
  176. constellationdaq-0.1/docs/_static/undraw_set_preferences_kwia.svg +1 -0
  177. constellationdaq-0.1/docs/_templates/recentposts.html +17 -0
  178. constellationdaq-0.1/docs/conf.py +171 -0
  179. constellationdaq-0.1/docs/copy_satellite_docs.py +57 -0
  180. constellationdaq-0.1/docs/index.md.in +215 -0
  181. constellationdaq-0.1/docs/logo/logo.png +0 -0
  182. constellationdaq-0.1/docs/logo/logo.svg +188 -0
  183. constellationdaq-0.1/docs/logo/logo_small.png +0 -0
  184. constellationdaq-0.1/docs/manual/concepts/autonomy.md +1 -0
  185. constellationdaq-0.1/docs/manual/concepts/constellation.md +96 -0
  186. constellationdaq-0.1/docs/manual/concepts/controller.md +1 -0
  187. constellationdaq-0.1/docs/manual/concepts/listener.md +1 -0
  188. constellationdaq-0.1/docs/manual/concepts/logging.md +97 -0
  189. constellationdaq-0.1/docs/manual/concepts/satellite.md +238 -0
  190. constellationdaq-0.1/docs/manual/concepts/statistics.md +1 -0
  191. constellationdaq-0.1/docs/manual/howtos/bench_frame_size_vs_data_rate.png +0 -0
  192. constellationdaq-0.1/docs/manual/howtos/bench_number_of_frames_vs_data_rate.png +0 -0
  193. constellationdaq-0.1/docs/manual/howtos/custom_commands.md +186 -0
  194. constellationdaq-0.1/docs/manual/howtos/data_transmission_speed.md +50 -0
  195. constellationdaq-0.1/docs/manual/howtos/port_eudaq.md +107 -0
  196. constellationdaq-0.1/docs/manual/howtos/receiver_cxx.md +20 -0
  197. constellationdaq-0.1/docs/manual/howtos/satellite_cxx.md +279 -0
  198. constellationdaq-0.1/docs/manual/howtos/satellite_py.md +101 -0
  199. constellationdaq-0.1/docs/manual/index.md +61 -0
  200. constellationdaq-0.1/docs/manual/install.md +158 -0
  201. constellationdaq-0.1/docs/manual/tutorials/single_satellite.md +244 -0
  202. constellationdaq-0.1/docs/news.md +3 -0
  203. constellationdaq-0.1/docs/protocols/cdtp.md +85 -0
  204. constellationdaq-0.1/docs/protocols/chirp.md +88 -0
  205. constellationdaq-0.1/docs/protocols/chp.md +72 -0
  206. constellationdaq-0.1/docs/protocols/cmdp.md +131 -0
  207. constellationdaq-0.1/docs/protocols/cscp.md +121 -0
  208. constellationdaq-0.1/docs/protocols/index.rst +13 -0
  209. constellationdaq-0.1/docs/reference/contributing.md +144 -0
  210. constellationdaq-0.1/docs/reference/cxx/controller/controller.md +10 -0
  211. constellationdaq-0.1/docs/reference/cxx/controller/index.rst +9 -0
  212. constellationdaq-0.1/docs/reference/cxx/core/chirp.md +44 -0
  213. constellationdaq-0.1/docs/reference/cxx/core/config.md +10 -0
  214. constellationdaq-0.1/docs/reference/cxx/core/heartbeat.md +10 -0
  215. constellationdaq-0.1/docs/reference/cxx/core/index.rst +16 -0
  216. constellationdaq-0.1/docs/reference/cxx/core/log.md +21 -0
  217. constellationdaq-0.1/docs/reference/cxx/core/message.md +10 -0
  218. constellationdaq-0.1/docs/reference/cxx/core/pools.md +10 -0
  219. constellationdaq-0.1/docs/reference/cxx/core/protocol.md +28 -0
  220. constellationdaq-0.1/docs/reference/cxx/core/utils.md +10 -0
  221. constellationdaq-0.1/docs/reference/cxx/satellite/index.rst +9 -0
  222. constellationdaq-0.1/docs/reference/cxx/satellite/satellite.md +52 -0
  223. constellationdaq-0.1/docs/reference/index.md +40 -0
  224. constellationdaq-0.1/docs/reference/naming.md +61 -0
  225. constellationdaq-0.1/docs/reference/protocols.md +87 -0
  226. constellationdaq-0.1/docs/reference/satellite.md +160 -0
  227. constellationdaq-0.1/docs/satellites/.gitignore +4 -0
  228. constellationdaq-0.1/docs/satellites/index.md.in +20 -0
  229. constellationdaq-0.1/gcovr.cfg +14 -0
  230. constellationdaq-0.1/meson.build +27 -0
  231. constellationdaq-0.1/meson_options.txt +19 -0
  232. constellationdaq-0.1/pyproject.toml +121 -0
  233. constellationdaq-0.1/python/constellation/core/__init__.py +21 -0
  234. constellationdaq-0.1/python/constellation/core/base.py +207 -0
  235. constellationdaq-0.1/python/constellation/core/broadcastmanager.py +317 -0
  236. constellationdaq-0.1/python/constellation/core/cdtp.py +246 -0
  237. constellationdaq-0.1/python/constellation/core/chirp.py +257 -0
  238. constellationdaq-0.1/python/constellation/core/chp.py +67 -0
  239. constellationdaq-0.1/python/constellation/core/cmdp.py +218 -0
  240. constellationdaq-0.1/python/constellation/core/commandmanager.py +259 -0
  241. constellationdaq-0.1/python/constellation/core/configuration.py +144 -0
  242. constellationdaq-0.1/python/constellation/core/controller.py +724 -0
  243. constellationdaq-0.1/python/constellation/core/cscp.py +193 -0
  244. constellationdaq-0.1/python/constellation/core/datareceiver.py +285 -0
  245. constellationdaq-0.1/python/constellation/core/datasender.py +275 -0
  246. constellationdaq-0.1/python/constellation/core/error.py +55 -0
  247. constellationdaq-0.1/python/constellation/core/fsm.py +385 -0
  248. constellationdaq-0.1/python/constellation/core/heartbeatchecker.py +324 -0
  249. constellationdaq-0.1/python/constellation/core/heartbeater.py +68 -0
  250. constellationdaq-0.1/python/constellation/core/monitoring.py +469 -0
  251. constellationdaq-0.1/python/constellation/core/network.py +125 -0
  252. constellationdaq-0.1/python/constellation/core/protocol.py +98 -0
  253. constellationdaq-0.1/python/constellation/core/py.typed +0 -0
  254. constellationdaq-0.1/python/constellation/core/satellite.py +512 -0
  255. constellationdaq-0.1/python/constellation/core/version_code_name +1 -0
  256. constellationdaq-0.1/python/constellation/meson.build +59 -0
  257. constellationdaq-0.1/python/constellation/satellites/CaenHV/CaenHV.py +322 -0
  258. constellationdaq-0.1/python/constellation/satellites/CaenHV/README.md +58 -0
  259. constellationdaq-0.1/python/constellation/satellites/CaenHV/__main__.py +11 -0
  260. constellationdaq-0.1/python/constellation/satellites/CaenHV/lib_caen_ndt1470.py +479 -0
  261. constellationdaq-0.1/python/constellation/satellites/CaenHV/meson.build +11 -0
  262. constellationdaq-0.1/python/constellation/satellites/H5DataWriter/H5DataWriter.py +177 -0
  263. constellationdaq-0.1/python/constellation/satellites/H5DataWriter/README.md +22 -0
  264. constellationdaq-0.1/python/constellation/satellites/H5DataWriter/__main__.py +11 -0
  265. constellationdaq-0.1/python/constellation/satellites/H5DataWriter/meson.build +10 -0
  266. constellationdaq-0.1/python/constellation/satellites/Influx/Influx.py +72 -0
  267. constellationdaq-0.1/python/constellation/satellites/Influx/README.md +33 -0
  268. constellationdaq-0.1/python/constellation/satellites/Influx/__main__.py +10 -0
  269. constellationdaq-0.1/python/constellation/satellites/Influx/meson.build +10 -0
  270. constellationdaq-0.1/python/constellation/satellites/Keithley/Keithley.py +188 -0
  271. constellationdaq-0.1/python/constellation/satellites/Keithley/Keithley2410.py +116 -0
  272. constellationdaq-0.1/python/constellation/satellites/Keithley/KeithleyInterface.py +204 -0
  273. constellationdaq-0.1/python/constellation/satellites/Keithley/README.md +78 -0
  274. constellationdaq-0.1/python/constellation/satellites/Keithley/__main__.py +11 -0
  275. constellationdaq-0.1/python/constellation/satellites/Keithley/meson.build +12 -0
  276. constellationdaq-0.1/python/constellation/satellites/Mariner/Mariner.py +144 -0
  277. constellationdaq-0.1/python/constellation/satellites/Mariner/README.md +31 -0
  278. constellationdaq-0.1/python/constellation/satellites/Mariner/__main__.py +11 -0
  279. constellationdaq-0.1/python/constellation/satellites/Mariner/meson.build +10 -0
  280. constellationdaq-0.1/python/constellation/satellites/__init__.py +4 -0
  281. constellationdaq-0.1/python/constellation/satellites/meson.build +8 -0
  282. constellationdaq-0.1/python/constellation/tools/H5datareader.py +127 -0
  283. constellationdaq-0.1/python/constellation/tools/list_interfaces.py +39 -0
  284. constellationdaq-0.1/python/tests/conftest.py +384 -0
  285. constellationdaq-0.1/python/tests/test_broadcastmanager.py +163 -0
  286. constellationdaq-0.1/python/tests/test_cdtp.py +356 -0
  287. constellationdaq-0.1/python/tests/test_cfg.toml +58 -0
  288. constellationdaq-0.1/python/tests/test_chirp.py +62 -0
  289. constellationdaq-0.1/python/tests/test_cmd_receiver.py +194 -0
  290. constellationdaq-0.1/python/tests/test_configuration.py +67 -0
  291. constellationdaq-0.1/python/tests/test_controller.py +62 -0
  292. constellationdaq-0.1/python/tests/test_example.py +120 -0
  293. constellationdaq-0.1/python/tests/test_heartbeat.py +122 -0
  294. constellationdaq-0.1/python/tests/test_monitoring.py +216 -0
  295. constellationdaq-0.1/python/tests/test_satellite.py +386 -0
  296. constellationdaq-0.1/scripts/meson_disable_qt_components.sh +6 -0
  297. constellationdaq-0.1/scripts/meson_enable_all_components.sh +12 -0
  298. constellationdaq-0.1/subprojects/.gitignore +13 -0
  299. constellationdaq-0.1/subprojects/argparse.wrap +13 -0
  300. constellationdaq-0.1/subprojects/asio.wrap +13 -0
  301. constellationdaq-0.1/subprojects/catch2.wrap +11 -0
  302. constellationdaq-0.1/subprojects/cppzmq.wrap +13 -0
  303. constellationdaq-0.1/subprojects/libzmq.wrap +10 -0
  304. constellationdaq-0.1/subprojects/magic_enum.wrap +10 -0
  305. constellationdaq-0.1/subprojects/msgpackc-cxx.wrap +13 -0
  306. constellationdaq-0.1/subprojects/packagefiles/libzmq/fix-mingw-afunixh.diff +52 -0
  307. constellationdaq-0.1/subprojects/packagefiles/libzmq/meson.build +568 -0
  308. constellationdaq-0.1/subprojects/packagefiles/libzmq/meson_options.txt +16 -0
  309. constellationdaq-0.1/subprojects/spdlog.wrap +13 -0
  310. constellationdaq-0.1/subprojects/tomlplusplus.wrap +10 -0
@@ -0,0 +1,33 @@
1
+ # SPDX-FileCopyrightText: 2023 DESY and the Constellation authors
2
+ # SPDX-License-Identifier: CC0-1.0
3
+
4
+ ---
5
+ Language: Cpp
6
+ Standard: c++20
7
+ BasedOnStyle: LLVM
8
+ AccessModifierOffset: -4
9
+ AllowShortCaseLabelsOnASingleLine: true
10
+ AllowShortFunctionsOnASingleLine: Inline
11
+ BinPackParameters: false
12
+ BinPackArguments: false
13
+ ColumnLimit: 125
14
+ IncludeBlocks: Regroup
15
+ IncludeCategories:
16
+ - Regex: '^<Q[^/\.]+>$'
17
+ Priority: 3
18
+ CaseSensitive: true
19
+ - Regex: '^<[^/\.]+>$'
20
+ Priority: 1
21
+ - Regex: '^<.+\.h.*>$'
22
+ Priority: 2
23
+ - Regex: '^"constellation/.+"$'
24
+ Priority: 4
25
+ IncludeIsMainSourceRegex: '\.ipp$'
26
+ IndentWidth: 4
27
+ NamespaceIndentation: All
28
+ PenaltyReturnTypeOnItsOwnLine: 100
29
+ PointerAlignment: Left
30
+ SortIncludes: CaseInsensitive
31
+ SpaceBeforeParens: Never
32
+ SpaceBeforeCpp11BracedList: true
33
+ ...
@@ -0,0 +1,5 @@
1
+ # SPDX-FileCopyrightText: 2023 DESY and the Constellation authors
2
+ # SPDX-License-Identifier: CC0-1.0
3
+
4
+ # Ignore external files
5
+ cxx/constellation/core/external/*
@@ -0,0 +1,46 @@
1
+ # SPDX-FileCopyrightText: 2023 DESY and the Constellation authors
2
+ # SPDX-License-Identifier: CC0-1.0
3
+ #
4
+ # First "Checks" block enables all relevant categories
5
+ # Second "Checks" block disables all aliases (run again otherwise)
6
+ # For clang-tidy 19, re-check aliases online on clang-tidy update
7
+
8
+ Checks: [
9
+ '-*',
10
+ 'bugprone-*','-bugprone-easily-swappable-parameters',
11
+ 'cert-*',
12
+ 'concurrency-*',
13
+ 'cppcoreguidelines-*','-cppcoreguidelines-pro-bounds-pointer-arithmetic',
14
+ 'google-*','-google-build-using-namespace','-google-explicit-constructor',
15
+ 'hicpp-*',
16
+ 'llvm-*','-llvm-header-guard','-llvm-include-order',
17
+ 'misc-*',
18
+ 'modernize-*','-modernize-use-designated-initializers','-modernize-use-nodiscard','-modernize-use-trailing-return-type',
19
+ 'performance-*',
20
+ 'portability-*',
21
+ 'readability-*','-readability-identifier-length','-readability-function-cognitive-complexity','-readability-magic-numbers','-readability-redundant-access-specifiers',
22
+ '-bugprone-narrowing-conversions',
23
+ '-cert-con36-c','-cert-con54-cpp','-cert-dcl03-c','-cert-dcl16-c','-cert-dcl37-c','-cert-dcl51-cpp','-cert-dcl54-cpp','-cert-dcl59-cpp','-cert-err09-cpp','-cert-err61-cpp','-cert-exp42-c','-cert-fio38-c','-cert-flp37-c','-cert-int09-c','-cert-msc24-c','-cert-msc30-c','-cert-msc32-c','-cert-msc33-c','-cert-msc54-cpp','-cert-oop11-cpp','-cert-oop54-cpp','-cert-pos44-c','-cert-pos47-c','-cert-sig30-c','-cert-str34-c',
24
+ '-cppcoreguidelines-avoid-c-arrays','-cppcoreguidelines-avoid-magic-numbers','-cppcoreguidelines-c-copy-assignment-signature','-cppcoreguidelines-explicit-virtual-functions','-cppcoreguidelines-macro-to-enum','-cppcoreguidelines-noexcept-destructor','-cppcoreguidelines-noexcept-move-operations','-cppcoreguidelines-noexcept-swap','-cppcoreguidelines-non-private-member-variables-in-classes','-cppcoreguidelines-use-default-member-init',
25
+ '-google-readability-braces-around-statements','-google-readability-function-size','-google-readability-namespace-comments',
26
+ '-hicpp-avoid-c-arrays','-hicpp-avoid-goto','-hicpp-braces-around-statements','-hicpp-deprecated-headers','-hicpp-explicit-conversions','-hicpp-function-size','-hicpp-invalid-access-moved','-hicpp-member-init','-hicpp-move-const-arg','-hicpp-named-parameter','-hicpp-new-delete-operators','-hicpp-no-array-decay','-hicpp-no-malloc','-hicpp-noexcept-move','-hicpp-special-member-functions','-hicpp-static-assert','-hicpp-undelegated-constructor','-hicpp-uppercase-literal-suffix','-hicpp-use-auto','-hicpp-use-emplace','-hicpp-use-equals-default','-hicpp-use-equals-delete','-hicpp-use-noexcept','-hicpp-use-nullptr','-hicpp-use-override','-hicpp-vararg',
27
+ '-llvm-else-after-return','-llvm-qualified-auto',
28
+ ]
29
+ WarningsAsErrors: '*'
30
+ HeaderFileExtensions: ['', 'h', 'hpp', 'ipp']
31
+ CheckOptions:
32
+ misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic: 'true'
33
+ misc-include-cleaner.IgnoreHeaders: 'bits/.*;asio.*;msgpack.*;spdlog.*;toml\+\+.*;q[^\/]+\.h'
34
+ modernize-use-override.IgnoreDestructors: 'true'
35
+ cppcoreguidelines-avoid-do-while.IgnoreMacros: 'true'
36
+ readability-identifier-naming.NamespaceCase: lower_case
37
+ readability-identifier-naming.NamespaceIgnoredRegexp: '^CHIRP$|^CHP$|^CSCP$|^CMDP$|^CDTP$'
38
+ readability-identifier-naming.ClassCase: CamelCase
39
+ readability-identifier-naming.ClassIgnoredRegexp: '^is_.+$'
40
+ readability-identifier-naming.PublicMethodCase: camelBack
41
+ readability-identifier-naming.PublicMethodIgnoredRegexp: '^msgpack_.+$|^to_.+$'
42
+ readability-identifier-naming.ProtectedMethodCase: lower_case
43
+ readability-identifier-naming.PrivateMethodCase: lower_case
44
+ readability-identifier-naming.PrivateMethodIgnoredRegexp: '^on_.+$'
45
+ readability-identifier-naming.PrivateMemberCase: lower_case
46
+ readability-identifier-naming.PrivateMemberSuffix: '_'
@@ -0,0 +1,9 @@
1
+ # SPDX-FileCopyrightText: 2023 DESY and the Constellation authors
2
+ # SPDX-License-Identifier: CC0-1.0
3
+
4
+ [codespell]
5
+ skip = .git,.ci,subprojects,AUTHORS.md
6
+ quiet-level = 2
7
+ # Words to be ignored, put one word per line and sort alphabetically
8
+ ignore-words-list =
9
+ crate,
@@ -0,0 +1,23 @@
1
+ # SPDX-FileCopyrightText: 2024 DESY and the Constellation authors
2
+ # SPDX-License-Identifier: CC0-1.0
3
+
4
+ [binaries]
5
+ c = ['ccache', 'x86_64-w64-mingw32ucrt-gcc']
6
+ cpp = ['ccache', 'x86_64-w64-mingw32ucrt-g++']
7
+ ar = 'x86_64-w64-mingw32ucrt-ar'
8
+ strip = 'x86_64-w64-mingw32ucrt-strip'
9
+ pkg-config = 'x86_64-w64-mingw32ucrt-pkg-config'
10
+ exe_wrapper = 'wine64'
11
+
12
+ [host_machine]
13
+ system = 'windows'
14
+ kernel = 'nt'
15
+ cpu_family = 'x86_64'
16
+ cpu = 'x86_64'
17
+ endian = 'little'
18
+
19
+ [built-in options]
20
+ wrap_mode = 'forcefallback'
21
+ default_library = 'static'
22
+ cpp_args = ['-Wa,-mbig-obj']
23
+ cpp_link_args = ['-static']
@@ -0,0 +1,26 @@
1
+ # SPDX-FileCopyrightText: 2023 DESY and the Constellation authors
2
+ # SPDX-License-Identifier: CC0-1.0
3
+
4
+ root = true
5
+
6
+ [*]
7
+ end_of_line = lf
8
+ charset = utf-8
9
+ trim_trailing_whitespace = true
10
+ insert_final_newline = true
11
+
12
+ [*.{h,hpp,cpp,ipp,py}]
13
+ indent_style = space
14
+ indent_size = 4
15
+
16
+ [meson.build]
17
+ indent_style = space
18
+ indent_size = 2
19
+
20
+ [*.md]
21
+ indent_style = space
22
+ indent_size = 2
23
+
24
+ [*.rst]
25
+ indent_style = space
26
+ indent_size = 3
@@ -0,0 +1,4 @@
1
+ # SPDX-FileCopyrightText: 2024 DESY and the Constellation authors
2
+ # SPDX-License-Identifier: CC0-1.0
3
+
4
+ *.ipp gitlab-language=c++
@@ -0,0 +1,16 @@
1
+ # SPDX-FileCopyrightText: 2023 DESY and the Constellation authors
2
+ # SPDX-License-Identifier: CC0-1.0
3
+
4
+ # NOTE: For editor specific paths use .git/info/exclude
5
+
6
+ # Build directories
7
+ /build*/
8
+
9
+ # Python virtual environment
10
+ /venv/
11
+
12
+ # Merge conflict original copies
13
+ *.orig
14
+
15
+ # Python cache
16
+ __pycache__/