-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
minorIsolated within in a single class or function.Isolated within in a single class or function.refactorRelated to refactoring of existing code.Related to refactoring of existing code.
Description
A base class needs to be added called iteration::subroutine::HasSubroutine that supports adding one or more subroutines to an inheriting class.
- The class should have a template parameter that is an
enumidentifying the locations that subroutines can be located. - Subroutines are installed using
AddSubroutine(LocationEnum, std::unique_ptr<SubroutineI>)that installs in particular locations. - Provides a calling function
Execute(LocationEnum, system::System)that executes the subroutine stored in the given location if the subroutine pointer is non-null.
Metadata
Metadata
Assignees
Labels
minorIsolated within in a single class or function.Isolated within in a single class or function.refactorRelated to refactoring of existing code.Related to refactoring of existing code.