Class BaseDataProviderAccessCoreSystem
Abstract class for core MRTK system with functionality defined for managing and accessing IMixedRealityDataProviders
Inheritance
BaseDataProviderAccessCoreSystem
Assembly: cs.temp.dll.dll
public abstract class BaseDataProviderAccessCoreSystem : BaseCoreSystem, IMixedRealityEventSystem, IMixedRealityService, IDisposable, IMixedRealityDataProviderAccess
Constructors
Declaration
protected BaseDataProviderAccessCoreSystem(BaseMixedRealityProfile profile = null)
Parameters
Declaration
protected BaseDataProviderAccessCoreSystem(BaseMixedRealityProfile profile = null)
Parameters
Declaration
protected BaseDataProviderAccessCoreSystem(IMixedRealityServiceRegistrar registrar, BaseMixedRealityProfile profile = null)
Parameters
Declaration
protected BaseDataProviderAccessCoreSystem(IMixedRealityServiceRegistrar registrar, BaseMixedRealityProfile profile = null)
Parameters
Methods
Declaration
public override void Enable()
Overrides
Declaration
public override void Enable()
Overrides
Declaration
public virtual IMixedRealityDataProvider GetDataProvider(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Declaration
public virtual IMixedRealityDataProvider GetDataProvider(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Declaration
public virtual T GetDataProvider<T>(string name = null)
where T : IMixedRealityDataProvider
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Type Parameters
Declaration
public virtual T GetDataProvider<T>(string name = null)
where T : IMixedRealityDataProvider
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Type Parameters
Declaration
public virtual IReadOnlyList<IMixedRealityDataProvider> GetDataProviders()
Returns
Declaration
public virtual IReadOnlyList<IMixedRealityDataProvider> GetDataProviders()
Returns
Declaration
public virtual IReadOnlyList<T> GetDataProviders<T>()
where T : IMixedRealityDataProvider
Returns
Type |
Description |
IReadOnlyList<T> |
|
Type Parameters
Declaration
public virtual IReadOnlyList<T> GetDataProviders<T>()
where T : IMixedRealityDataProvider
Returns
Type |
Description |
IReadOnlyList<T> |
|
Type Parameters
Declaration
public override void LateUpdate()
Overrides
Declaration
public override void LateUpdate()
Overrides
Registers a service of the specified type.
Declaration
protected bool RegisterDataProvider<T>(T dataProviderInstance)
where T : IMixedRealityDataProvider
Parameters
Type |
Name |
Description |
T |
dataProviderInstance |
An instance of the data provider to be registered.
|
Returns
Type Parameters
Name |
Description |
T |
The interface type of the data provider to be registered.
|
Registers a service of the specified type.
Declaration
protected bool RegisterDataProvider<T>(T dataProviderInstance)
where T : IMixedRealityDataProvider
Parameters
Type |
Name |
Description |
T |
dataProviderInstance |
An instance of the data provider to be registered.
|
Returns
Type Parameters
Name |
Description |
T |
The interface type of the data provider to be registered.
|
Registers a data provider of the specified type.
Declaration
protected bool RegisterDataProvider<T>(Type concreteType, SupportedPlatforms supportedPlatforms = null, params object[] args)
where T : IMixedRealityDataProvider
Parameters
Type |
Name |
Description |
Type |
concreteType |
|
SupportedPlatforms |
supportedPlatforms |
|
Object[] |
args |
|
Returns
Type Parameters
Registers a data provider of the specified type.
Declaration
protected bool RegisterDataProvider<T>(Type concreteType, SupportedPlatforms supportedPlatforms = null, params object[] args)
where T : IMixedRealityDataProvider
Parameters
Type |
Name |
Description |
Type |
concreteType |
|
SupportedPlatforms |
supportedPlatforms |
|
Object[] |
args |
|
Returns
Type Parameters
Declaration
public override void Reset()
Overrides
Declaration
public override void Reset()
Overrides
Unregisters a data provider.
Declaration
protected bool UnregisterDataProvider<T>(T dataProviderInstance)
where T : IMixedRealityDataProvider
Parameters
Type |
Name |
Description |
T |
dataProviderInstance |
|
Returns
Type |
Description |
Boolean |
True if the data provider was successfully unregistered, false otherwise.
|
Type Parameters
Name |
Description |
T |
The interface type of the data provider to be unregistered.
|
Unregisters a data provider.
Declaration
protected bool UnregisterDataProvider<T>(T dataProviderInstance)
where T : IMixedRealityDataProvider
Parameters
Type |
Name |
Description |
T |
dataProviderInstance |
|
Returns
Type |
Description |
Boolean |
True if the data provider was successfully unregistered, false otherwise.
|
Type Parameters
Name |
Description |
T |
The interface type of the data provider to be unregistered.
|
Unregisters a data provider of the specified type.
Declaration
protected bool UnregisterDataProvider<T>(string name = null)
where T : IMixedRealityDataProvider
Parameters
Type |
Name |
Description |
String |
name |
The name of the data provider to unregister.
|
Returns
Type |
Description |
Boolean |
True if the data provider was successfully unregistered, false otherwise.
|
Type Parameters
Name |
Description |
T |
The interface type of the data provider to be unregistered.
|
Unregisters a data provider of the specified type.
Declaration
protected bool UnregisterDataProvider<T>(string name = null)
where T : IMixedRealityDataProvider
Parameters
Type |
Name |
Description |
String |
name |
The name of the data provider to unregister.
|
Returns
Type |
Description |
Boolean |
True if the data provider was successfully unregistered, false otherwise.
|
Type Parameters
Name |
Description |
T |
The interface type of the data provider to be unregistered.
|
Declaration
public override void Update()
Overrides
Declaration
public override void Update()
Overrides
Implements
IDisposable