IHYCrossPlatformModule

Overview

The IHYCrossPlatformModule interface defines the cross platform module. This interface is used by the managed hosts to interact with unmanamged plugins.

This interface is implemented by the THYModuleController class that provides all the necessary methods for cross platform interaction between unmanaged modules and managed hosts.

Location


Properties


Plugin

Gets a reference to a plugin descriptor with given index.

 

property Plugin[index: Int32]: IHYCrossPlatformPluginDescriptor read;

 

IHYCrossPlatformPluginDescriptor Plugin[Int32 index] { get; }

 

ReadOnly Property Plugin(index As Int32) As IHYCrossPlatformPluginDescriptor

PluginCount

Returns the number of plugins in the current module.

 

property PluginCount: Int32 read;

 

Int32 PluginCount { get; }

 

ReadOnly Property PluginCount() As Int32

Required Methods


CreateInstance

 

method CreateInstance(pluginName: String): IHYCrossPlatformPlugin

 

IHYCrossPlatformPlugin CreateInstance(String pluginName)

 

Function CreateInstance(pluginName As String) As IHYCrossPlatformPlugin

Parameters:

  • pluginName:

GetModuleController

Returns the interface of the current module controller.

 

method GetModuleController: IHYCrossPlatformModuleController

 

IHYCrossPlatformModuleController GetModuleController()

 

Function GetModuleController() As IHYCrossPlatformModuleController