Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Refactoring System Registration #765

Merged
merged 27 commits into from
Feb 9, 2021

Conversation

StephenHodgson
Copy link
Contributor

@StephenHodgson StephenHodgson commented Jan 21, 2021

XRTK - Mixed Reality Toolkit Pull Request

Overview

Refactoring the core system registration for the XRTK
Also removed the core system accessors in favor of the TryGetSystem<T> which is now cached for better perf in hot loops

Changes

Submodule changes

@StephenHodgson StephenHodgson added Breaking Change In Progress PR currently still being developed labels Jan 21, 2021
Stephen Hodgson and others added 9 commits January 24, 2021 02:17
@StephenHodgson
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

# Conflicts:
#	Submodules/Examples
#	Submodules/Lumin
#	Submodules/Oculus
#	Submodules/SDK
#	Submodules/WindowsMixedReality
fixed some componet accessors in teleport system
@StephenHodgson
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@StephenHodgson StephenHodgson marked this pull request as ready for review February 6, 2021 16:40
@StephenHodgson StephenHodgson added Ready for review PR finished primary development, open for review and removed In Progress PR currently still being developed labels Feb 6, 2021
added tests to make sure we cannot register a system twice
added icons
Copy link
Contributor

@FejZa FejZa left a comment

Choose a reason for hiding this comment

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

Nice job on this! Looks good. I like the new service registration / retrieveal APIs.

@@ -11,13 +11,6 @@
using XRTK.Definitions.Platforms;
using XRTK.Extensions;
using XRTK.Interfaces;
using XRTK.Interfaces.BoundarySystem;
Copy link
Contributor

Choose a reason for hiding this comment

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

I love this. #EndofLine

@StephenHodgson StephenHodgson merged commit 54a8f5f into development Feb 9, 2021
@StephenHodgson StephenHodgson deleted the dev/refactor-system-registration branch February 9, 2021 00:11
XRTK-Build-Bot pushed a commit that referenced this pull request Feb 11, 2021
* First pass at core system refactor

* fixed compiler errors

added a way to get the system profile
added a way to check if a system is enabled

* use interface type

* better null check for extension services

* fixed system registration

* updated examples checkout

* updated root profile inspector

* removed the core system accessors from the xrtk service locator (#769)

* removed the core system accessors from the xrtk service locator

* updated examples

* updated examples

* Fixed tests

* updated wmr submodule

* updated core access usage

* updated wmr checkout

fixed some componet accessors in teleport system

* updated submodules

* updated packages-lock file

* fixed unit tests

* fixed up the root profile inspector a bit to prevent it from throwing serializable object exceptions

* updated spatail awareness layer utitites

* fixed some some issues with the MixedRealityToolkit.TryGetSystem<T>

added tests to make sure we cannot register a system twice
added icons
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Breaking Change Ready for review PR finished primary development, open for review
Projects
None yet
3 participants