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


Required Methods


Pause

Pauses executing the non-visual plugin.

 

method Pause

 

void Pause()

 

Sub Pause()

Resume

Resumes executing the non-visual plugin.

 

method Resume

 

void Resume()

 

Sub Resume()

Start

Starts executing the non-visual plugin.

 

method Start

 

void Start()

 

Sub Start()

Stop

Stops executing the non-visual plugin.

 

method Stop

 

void Stop()

 

Sub Stop()

 

  • IHYCrossPlatformNonVisualPlugin Interface