Skip to content

Commit

Permalink
Moved Pool related objects to SystemsRx
Browse files Browse the repository at this point in the history
These were originally left in the Ecs layer but are not dependent on anything there so have been moved to SystemsRx to be more reusable even if people dont want Ecs layer.
  • Loading branch information
grofit committed Jun 5, 2021
1 parent 6785e4d commit 8c984f9
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 4.0.{build}
version: 4.1.{build}
branches:
only:
- master
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using SystemsRx.Executor.Handlers.Conventional;
using SystemsRx.Infrastructure.Dependencies;
using SystemsRx.Infrastructure.Extensions;
using SystemsRx.Pools;
using EcsRx.Collections;
using EcsRx.Collections.Database;
using EcsRx.Collections.Entity;
Expand All @@ -14,7 +15,6 @@
using EcsRx.Examples.ExampleApps.Performance.Components.Specific;
using EcsRx.Groups.Observable;
using EcsRx.MicroRx.Events;
using EcsRx.Pools;

namespace EcsRx.Examples.ExampleApps.Performance.Modules
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
using SystemsRx.Executor.Handlers;
using SystemsRx.Infrastructure.Dependencies;
using SystemsRx.Infrastructure.Extensions;
using SystemsRx.Pools;
using EcsRx.Collections;
using EcsRx.Collections.Database;
using EcsRx.Collections.Entity;
using EcsRx.Components.Database;
using EcsRx.Components.Lookups;
using EcsRx.Entities;
using EcsRx.Groups.Observable;
using EcsRx.Pools;
using EcsRx.Systems.Handlers;

namespace EcsRx.Infrastructure.Modules
Expand Down
1 change: 0 additions & 1 deletion src/EcsRx.Plugins.Computeds/ComputedFromData.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using SystemsRx.Extensions;
using EcsRx.Extensions;
using EcsRx.MicroRx.Extensions;
using EcsRx.MicroRx.Subjects;

Expand Down
2 changes: 1 addition & 1 deletion src/EcsRx.Plugins.Views/Pooling/IViewPool.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using EcsRx.Pools;
using SystemsRx.Pools;

namespace EcsRx.Plugins.Views.Pooling
{
Expand Down
2 changes: 1 addition & 1 deletion src/EcsRx.Tests/EcsRx/Pools/IdPoolTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using System.Linq;
using EcsRx.Pools;
using SystemsRx.Pools;
using Xunit;

namespace EcsRx.Tests.EcsRx.Pools
Expand Down
2 changes: 1 addition & 1 deletion src/EcsRx.Tests/EcsRx/Pools/IndexPoolTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using System.Linq;
using EcsRx.Pools;
using SystemsRx.Pools;
using Xunit;

namespace EcsRx.Tests.EcsRx.Pools
Expand Down
2 changes: 1 addition & 1 deletion src/EcsRx.Tests/Sanity/SanityTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using SystemsRx.Executor;
using SystemsRx.Executor.Handlers;
using SystemsRx.Executor.Handlers.Conventional;
using SystemsRx.Pools;
using SystemsRx.Threading;
using EcsRx.Collections;
using EcsRx.Collections.Database;
Expand All @@ -20,7 +21,6 @@
using EcsRx.Plugins.ReactiveSystems.Handlers;
using EcsRx.Plugins.Views.Components;
using EcsRx.Plugins.Views.Systems;
using EcsRx.Pools;
using EcsRx.ReactiveData;
using EcsRx.ReactiveData.Collections;
using EcsRx.ReactiveData.Extensions;
Expand Down
2 changes: 1 addition & 1 deletion src/EcsRx/Components/ComponentPool.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Collections;
using SystemsRx.Pools;
using EcsRx.MicroRx.Subjects;
using EcsRx.Pools;

namespace EcsRx.Components
{
Expand Down
2 changes: 1 addition & 1 deletion src/EcsRx/Entities/DefaultEntityFactory.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using SystemsRx.Pools;
using EcsRx.Components.Database;
using EcsRx.Components.Lookups;
using EcsRx.Pools;

namespace EcsRx.Entities
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace EcsRx.Pools
namespace SystemsRx.Pools
{
public interface IIdPool : IPool<int>
{
Expand Down
2 changes: 1 addition & 1 deletion src/EcsRx/Pools/IPool.cs → src/SystemsRx/Pools/IPool.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace EcsRx.Pools
namespace SystemsRx.Pools
{
public interface IPool<T>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;

namespace EcsRx.Pools
namespace SystemsRx.Pools
{
public class IdPool : IIdPool
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;

namespace EcsRx.Pools
namespace SystemsRx.Pools
{
public class IndexPool : IPool<int>
{
Expand Down

0 comments on commit 8c984f9

Please sign in to comment.