C# Class ScanMaster.Acquire.Plugin.PluginRegistry

The plugin registry keeps track of the installed plugins. It's rather simple - it just keeps track of a table of plugins for each plugin type. It has some helper methods to get a plugin instance. When writing new plugins, they must be added to the constructor of this class by hand.
Datei anzeigen Open project: ColdMatter/EDMSuite Class Usage Examples

Public Methods

Method Description
GetAnalogPlugin ( String type ) : AnalogInputPlugin
GetAnalogPlugins ( ) : String[]
GetOutputPlugin ( String type ) : ScanOutputPlugin
GetOutputPlugins ( ) : String[]
GetPatternPlugin ( String type ) : PatternPlugin
GetPatternPlugins ( ) : String[]
GetRegistry ( ) : PluginRegistry
GetShotGathererPlugin ( String type ) : ShotGathererPlugin
GetShotGathererPlugins ( ) : String[]
GetSwitchPlugin ( String type ) : SwitchOutputPlugin
GetSwitchPlugins ( ) : String[]
GetYAGPlugin ( String type ) : YAGPlugin
GetYAGPlugins ( ) : String[]

Private Methods

Method Description
GetPluginNameList ( Hashtable plugins ) : String[]
InstantiatePlugin ( Hashtable plugins, String type ) : object
PluginRegistry ( ) : System

Method Details

GetAnalogPlugin() public method

public GetAnalogPlugin ( String type ) : AnalogInputPlugin
type String
return AnalogInputPlugin

GetAnalogPlugins() public method

public GetAnalogPlugins ( ) : String[]
return String[]

GetOutputPlugin() public method

public GetOutputPlugin ( String type ) : ScanOutputPlugin
type String
return ScanOutputPlugin

GetOutputPlugins() public method

public GetOutputPlugins ( ) : String[]
return String[]

GetPatternPlugin() public method

public GetPatternPlugin ( String type ) : PatternPlugin
type String
return PatternPlugin

GetPatternPlugins() public method

public GetPatternPlugins ( ) : String[]
return String[]

GetRegistry() public static method

public static GetRegistry ( ) : PluginRegistry
return PluginRegistry

GetShotGathererPlugin() public method

public GetShotGathererPlugin ( String type ) : ShotGathererPlugin
type String
return ShotGathererPlugin

GetShotGathererPlugins() public method

public GetShotGathererPlugins ( ) : String[]
return String[]

GetSwitchPlugin() public method

public GetSwitchPlugin ( String type ) : SwitchOutputPlugin
type String
return SwitchOutputPlugin

GetSwitchPlugins() public method

public GetSwitchPlugins ( ) : String[]
return String[]

GetYAGPlugin() public method

public GetYAGPlugin ( String type ) : YAGPlugin
type String
return YAGPlugin

GetYAGPlugins() public method

public GetYAGPlugins ( ) : String[]
return String[]