odin-detector / odin-data

DAQ software libraries for capturing and storing data from parallel detector systems
https://odin-detector.github.io/odin-data/
Apache License 2.0
8 stars 11 forks source link

Add utilities to support camera and DPDK developments #334

Closed timcnicholls closed 6 months ago

timcnicholls commented 6 months ago

This PR adds support to odin-data to facilitate external camera-based and DPDK-accelerated FP plugin development. This includes:

timcnicholls commented 6 months ago

Thanks for the feedback: here's an example for some better context.

The intention was to implement a simple flat container for parameters as member variables, allowing (de)/serialisation to/from JSON, i.e. parameter payloads in IPC messages. It's a bit like a flat parameter tree but without external or explicit setters/getters, hence the comments above. The container fields can be used locally to e.g. store configuration parameters, updated from a IPC config message and retrieved when the config is requested. Does that make more sense?

GDYendell commented 6 months ago

Thanks for the feedback: here's an example for some better context.

Ah OK yes this looks neat.