-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
mrc::internals
namespace and cleanup class names (#328)
This PR does the following: - Removes the `mrc::internal` namespace entirely - Standardizes the core interface classes `IBuilder`, `ISegment`, `IPipeline` and `IExecutor` - All public classes have a pure virtual interface class with the name `I<XXX>`. The implementation name is `<XXX>Definition` to follow the `SegmentDefinition`, `PipelineDefinition` classes. - Renames classes and files with similar names to be unique - For example: - `segment::Instance` => `segment::SegmentInstance` - `pipeline::Instance` => `pipeline::PipelineInstance` - `src/internal/control_plane/resources.hpp` => `src/internal/control_plane/control_plane_resources.hpp` - `src/internal/data_plane/resources.hpp` => `src/internal/data_plane/data_plane_resources.hpp` This PR has a significant number of breaking changes. Effort was taken to keep the external interface as similar as possible, but some breaking changes to the external API needed to be made: - Many classes have been renamed: - All classes under `mrc/engine` have been moved to `mrc/pipeline` - Includes `IExecutor`, `IPipeline`, `IBuilder`, `ISystem`, and `IDefinition` - `segment::Definition` => `pipeline::SegmentDefinition` - `segment::Segment` => `Segment` - `segment::Builder` => `segment::IBuilder` - `pipeline::Resources` => `runnable::IRunnableResources` - `runnable::Engine` => `runnable::IEngine` - `runnable::Engines` => `runnable::IEngines` - Classes have been removed: - `IResources` - The entire `mrc::internals` namespace has been removed - This only impacts internal source files, but there were some instances in `include/mrc/engine` that referenced this namespace Authors: - Michael Demoret (https://github.com/mdemoret-nv) Approvers: - Devin Robison (https://github.com/drobison00) URL: #328
- Loading branch information
1 parent
fea298f
commit 3d34d6c
Showing
338 changed files
with
4,106 additions
and
3,965 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.