Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have the Session object provide methods for retrieving information about other applications #56

Open
eflumerf opened this issue Jan 8, 2025 · 1 comment

Comments

@eflumerf
Copy link
Member

eflumerf commented Jan 8, 2025

Several SmartDaqApplications need information about other applications in the Session to set up network connections. (e.g. https://github.com/DUNE-DAQ/appmodel/blob/f0eee9340ab38266abaed96d6a85d16d9b22d1e9/src/DFApplication.cpp#L261)

The Session object should be able to provide this information, so that SmartDaqApplications (and DAQModules) can remain ignorant of the state of the rest of the system.

@gcrone
Copy link
Contributor

gcrone commented Jan 8, 2025

I think this really needs to have NetworkRule and SmartDaqApplication in the confmodel package. This is not feasible while we are using the current hack to call the appropriate get_modules() method in SmartDaqApplication. It should be OK if/when we start using the thea/virtual_strikes_back branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants