Home
last modified time | relevance | path

Searched refs:TPeripheral (Results 1 – 5 of 5) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Structure/
DNullRegistrationPointPeripheralContainer.cs15 public abstract class NullRegistrationPointPeripheralContainer<TPeripheral> :
16 IPeripheralContainer<TPeripheral, NullRegistrationPoint>,
18 where TPeripheral : class, IPeripheral
25 container = new NullRegistrationPointContainerHelper<TPeripheral>(machine, this); in NullRegistrationPointPeripheralContainer()
28 … public virtual void Register(TPeripheral peripheral, NullRegistrationPoint registrationPoint) in Register()
33 public virtual void Unregister(TPeripheral peripheral) in Unregister()
38 public IEnumerable<NullRegistrationPoint> GetRegistrationPoints(TPeripheral peripheral) in GetRegistrationPoints()
43 …public IEnumerable<IRegistered<TPeripheral, NullRegistrationPoint>> Children => container.Children;
45 protected TPeripheral RegisteredPeripheral => container.RegisteredPeripheral;
49 private readonly NullRegistrationPointContainerHelper<TPeripheral> container;
[all …]
DRegistered.cs12 …public class Registered<TPeripheral, TRegistrationPoint> : IRegistered<TPeripheral, TRegistrationP…
13 where TPeripheral : IPeripheral where TRegistrationPoint : IRegistrationPoint
15 public Registered(TPeripheral peripheral, TRegistrationPoint registrationPoint) in Registered()
21 public TPeripheral Peripheral { get; private set; }
27 … public static Registered<TPeripheral, TRegistrationPoint> Create<TPeripheral, TRegistrationPoint>
28 (TPeripheral peripheral, TRegistrationPoint registrationPoint)
29 where TPeripheral : IPeripheral where TRegistrationPoint : IRegistrationPoint
31 return new Registered<TPeripheral, TRegistrationPoint>(peripheral, registrationPoint);
DIPeripheralRegister.cs17 …public interface IPeripheralRegister<TPeripheral, TRegistrationPoint> : ICovariantPeripheralRegist…
18 where TPeripheral : IPeripheral where TRegistrationPoint : IRegistrationPoint
20 void Register(TPeripheral peripheral, TRegistrationPoint registrationPoint); in Register()
21 void Unregister(TPeripheral peripheral); in Unregister()
26 …public interface ICovariantPeripheralRegister<out TPeripheral, out TRegistrationPoint> : IEmulatio…
27 where TPeripheral : IPeripheral where TRegistrationPoint : IRegistrationPoint
DIPeripheralContainer.cs16 public interface IPeripheralContainer<TPeripheral, TRegistrationPoint> :
17 IPeripheralRegister<TPeripheral, TRegistrationPoint>
18 where TPeripheral : IPeripheral where TRegistrationPoint : IRegistrationPoint
20 IEnumerable<TRegistrationPoint> GetRegistrationPoints(TPeripheral peripheral); in GetRegistrationPoints()
21 IEnumerable<IRegistered<TPeripheral, TRegistrationPoint>> Children { get; }
DIRegistered.cs18 public interface IRegistered<out TPeripheral, TRegistrationPoint>
19 where TPeripheral : IPeripheral where TRegistrationPoint : IRegistrationPoint interface
21 TPeripheral Peripheral { get; }