Psyllid needs a new config-file paradigm to support production use of the software. The current version has sufficed well for development, but is too simplistic for what we'll need to do.
Comments are welcome.
To-do list
[x] stream manager (new class)
Hold information about streams separately, so they can be independently accessed/removed/added
Node names provided by user/preset are only unique within each stream
No access/adding/removing individual nodes
Other than where noted, copies functionality from node_manager
[x] Add stream from preset param_node
[x] If preset is a string value, request that preset from the preset factory
[x] If preset is a node, create the preset (see node_config_preset below), then request it from the preset factory
[x] Node names must be prepended by [stream #]_ when midge is reset with the new nodes
[x] Amended name given to the node_builder
[x] Name instances within connection strings must be amended (probably use boost::replace_all)
[x] Stream-wide configuration information is added to each node's config
[x] Control from run_server
[x] node_config_preset (update)
[x] Static function to create a preset from a param_node and register it
[x] Device configurations need to be accessible from within daq nodes
[x] Stream-wide configuration information (e.g. device) is added to each node's config by the stream_manager
[x] Particular node_builders will know when to look for that stream-wide information (streaming_writer and egg_writer, to start with)
Psyllid needs a new config-file paradigm to support production use of the software. The current version has sufficed well for development, but is too simplistic for what we'll need to do.
Comments are welcome.
To-do list
preset
param_nodepreset
is a string value, request that preset from the preset factorypreset
is a node, create the preset (see node_config_preset below), then request it from the preset factory[stream #]_
when midge is reset with the new nodesdevice
) is added to each node's config by the stream_managerExample configuration file
For a 3-channel FPA DAQ: