Repository navigation
Conversation
…onfigured plugins
…unregister on destruction
…l channel provider in the pvAccessCPP codepath
|
Note: For now I've only tested with On another note, if this is merged, a follow up to the |
Given that we discussed having it enabled by default because the build opted into it, I think it would be best to make it a build-time option. |
Currently, there is no way for a client to know the available plugins configured for a particular detector, unless it is explicitly told by the user. It would be nice if a client could query the IOC and ask for a list of plugins available, sorted by type. That is the intention of this PR. Without any changes to downstream plugin code, and with only minor changes to the superclass constructor/destructor, we can create a registry of created NDPlugins. From there, we can construct a PVA structure keyed on plugin type that maps to lists of plugin port name / pv prefix tuples.
Clients can then use this to dynamically adjust behavior based on available plugins. For example:
and more.
Limitations:
Some questions for reviewers:
Here is an example
pvgetof the output:For the following startup script: