x4Trace Documentation v1.0
Loading...
Searching...
No Matches
Ix4Trace.Desktop.Plugins.PluginInstance Class Reference

Represents a desktop plugin instance. More...

Public Member Functions

 PluginInstance (Ix4Trace.Engine.Controller controller, DesktopPluginManager pluginManager, string pluginName, Type type, DesktopPlugin mainInstance)
 Constructor.
 
int IndexOf (DesktopPlugin plugin)
 Returns the index of plugin.
 
DesktopPlugin GetPlugin ()
 Returns a plugin. Makes a new instance if there is no usable plugin.
 

Public Attributes

DesktopPlugin mainInstance
 Main instance of plugins.
 
Type type
 Type of the plugin.
 
string pluginName = ""
 Name of the plugin.
 
List< DesktopPluginplugins = new List<DesktopPlugin>()
 List of available plugins.
 

Private Attributes

DesktopPluginManager pluginManager
 The plugin manager.
 
Ix4Trace.Engine.Controller controller
 The controller.
 

Detailed Description

Represents a desktop plugin instance.

Constructor & Destructor Documentation

◆ PluginInstance()

Ix4Trace.Desktop.Plugins.PluginInstance.PluginInstance ( Ix4Trace.Engine.Controller controller,
DesktopPluginManager pluginManager,
string pluginName,
Type type,
DesktopPlugin mainInstance )

Constructor.

Parameters
controllerThe controller.
pluginManagerThe plugin manager.
pluginNameName of plugin.
typeType of plugin.
mainInstanceMain instance of plugins.

Member Function Documentation

◆ GetPlugin()

DesktopPlugin Ix4Trace.Desktop.Plugins.PluginInstance.GetPlugin ( )

Returns a plugin. Makes a new instance if there is no usable plugin.

Returns
The plugin.

◆ IndexOf()

int Ix4Trace.Desktop.Plugins.PluginInstance.IndexOf ( DesktopPlugin plugin)

Returns the index of plugin.

Parameters
pluginPlugin to search.
Returns
The index of plugin. -1 the the plugin nit exists.

The documentation for this class was generated from the following file: