IHYCrossPlatformNonVisualPlugin

Overview

The IHYCrossPlatformNonVisualPlugin interface represents cross-platform non-visual plugins. In the Hydra framework, this interface is implemented by both managed and unmaged 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  safecall

Pauses executing the non-visual plugin.

procedure Pause

Resume  safecall

Resumes executing the non-visual plugin.

procedure Resume

Start  safecall

Starts executing the non-visual plugin.

procedure Start

Stop  safecall

Stops executing the non-visual plugin.

procedure Stop

 

  • IHYCrossPlatformNonVisualPlugin Interface