IHYCrossPlatformNonVisualPlugin
Overview
The IHYCrossPlatformNonVisualPlugin interface represents cross-platform non-visual plugins. In the Hydra framework, this interface is implemented by both managed and umnaged non-visual plugins to enable cross-platform interaction.
Use Case
You can use this interface to manage non-visual plugins inside your managed hosts. The following example shows how to load and run the plugin:
private IHYCrossPlatformPlugin fCurrentPlugin;
private void RunPlugin(string FileName, string InstanceName)
{
if (fCurrentPlugin != null)
fCurrentPlugin = null;
LoadedModule Module = moduleManager1.LoadModule(FileName);
fCurrentPlugin = moduleManager1.CreateInstance(InstanceName);
(fCurrentPlugin as IHYCrossPlatformNonVisualPlugin).Start();
}
Location
- Reference: Hydra.fx
- Namespace: Hydra
- Platforms: Island
-
Ancestry:
- IDispatch | IHYCrossPlatformInterface | IHYCrossPlatformNonVisualPlugin Island-Ubuntu
- __struct_IDispatch | IHYCrossPlatformInterface | IHYCrossPlatformNonVisualPlugin Island-Windows
- IDispatch | IHYCrossPlatformInterface | IHYCrossPlatformNonVisualPlugin Island-Ubuntu
Required Methods
Pause stdcall
Pauses executing the non-visual plugin.
method Pause: HRESULT
HRESULT Pause()
func Pause() -> HRESULT
Function Pause() As HRESULT
Resume stdcall
Resumes executing the non-visual plugin.
method Resume: HRESULT
HRESULT Resume()
func Resume() -> HRESULT
Function Resume() As HRESULT
Start stdcall
Starts executing the non-visual plugin.
method Start: HRESULT
HRESULT Start()
func Start() -> HRESULT
Function Start() As HRESULT
Stop stdcall
Stops executing the non-visual plugin.
method Stop: HRESULT
HRESULT Stop()
func Stop() -> HRESULT
Function Stop() As HRESULT