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

TA & TC Factory Method Abstraction #56

Merged
merged 11 commits into from
Jan 19, 2024
Merged

Conversation

aeoranday
Copy link
Member

Factory design pattern for TA Makers was shifted to an abstract factory and extended for TC Makers. At the same time, shared_ptrs were changed to unique_ptrs and redundant includes mentioned in #55 were removed.

This was tested on tpstream_writing_test in daqsystemtest and requires the related feature branch in trigger.

@bieryAtFnal bieryAtFnal added the miscellaneous deliverable A change that is/will be part of a release but is not substantial enough to be a daq-deliverable label Dec 26, 2023
@aeoranday aeoranday requested a review from ArturSztuc January 8, 2024 12:17
@MRiganSUSX
Copy link
Contributor

LGTM, more comments in the trigger PR (DUNE-DAQ/trigger#257).

Copy link
Contributor

@ArturSztuc ArturSztuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Could add some error messages as above, but not important for now.

Should present the AbstractFactory somewhere, and ask Core software people where to move it -- it's generic enough that could be useful for other repositories/groups, but again, that would come in a separate PR in the future.

@aeoranday aeoranday merged commit dad9e4d into develop Jan 19, 2024
1 check passed
@aeoranday aeoranday deleted the aeoranday/factory-abstraction branch January 19, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
miscellaneous deliverable A change that is/will be part of a release but is not substantial enough to be a daq-deliverable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants