-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
LGTM, more comments in the trigger PR (DUNE-DAQ/trigger#257). |
There was a problem hiding this 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.
Factory design pattern for TA Makers was shifted to an abstract factory and extended for TC Makers. At the same time,
shared_ptr
s were changed tounique_ptr
s and redundant includes mentioned in #55 were removed.This was tested on
tpstream_writing_test
in daqsystemtest and requires the related feature branch intrigger
.