C# Class CyPhyComplexity.CyPhyComplexityInterpreter

Inheritance: IMgaComponentEx, IGMEVersionInfo, ICyPhyInterpreter
显示文件 Open project: metamorph-inc/meta-core

Protected Properties

Property Type Description
interactiveMode bool

Private Properties

Property Type Description
CallElaboratorAndMain void
Convert ComponentStartMode
GMERegister void
GMEUnRegister void
Main void

Public Methods

Method Description
DoGUIConfiguration ( IInterpreterPreConfiguration preConfig, IInterpreterConfiguration previousConfig ) : IInterpreterConfiguration
Enable ( bool newval ) : void
Initialize ( MgaProject project ) : void

This function is called for each interpreter invocation before Main. Don't perform MGA operations here unless you open a tansaction.

Invoke ( MgaProject Project, MgaFCOs selectedobjs, int param ) : void
InvokeEx ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, int param ) : void
Main ( IInterpreterMainParameters parameters ) : IInterpreterResult
ObjectsInvokeEx ( MgaProject Project, MgaObject currentobj, MgaObjects selectedobjs, int param ) : void
PreConfig ( IPreConfigParameters parameters ) : IInterpreterPreConfiguration
get_ComponentParameter ( string Name ) : object
set_ComponentParameter ( string Name, object pVal ) : void

Private Methods

Method Description
CallElaboratorAndMain ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, int param ) : void
Convert ( int param ) : ComponentStartMode
GMERegister ( Type t ) : void
GMEUnRegister ( Type t ) : void
Main ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, ComponentStartMode startMode ) : void

Method Details

DoGUIConfiguration() public method

public DoGUIConfiguration ( IInterpreterPreConfiguration preConfig, IInterpreterConfiguration previousConfig ) : IInterpreterConfiguration
preConfig IInterpreterPreConfiguration
previousConfig IInterpreterConfiguration
return IInterpreterConfiguration

Enable() public method

public Enable ( bool newval ) : void
newval bool
return void

Initialize() public method

This function is called for each interpreter invocation before Main. Don't perform MGA operations here unless you open a tansaction.
public Initialize ( MgaProject project ) : void
project MgaProject The handle of the project opened in GME, for which the interpreter was called.
return void

Invoke() public method

public Invoke ( MgaProject Project, MgaFCOs selectedobjs, int param ) : void
Project MgaProject
selectedobjs MgaFCOs
param int
return void

InvokeEx() public method

public InvokeEx ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, int param ) : void
project MgaProject
currentobj MgaFCO
selectedobjs MgaFCOs
param int
return void

Main() public method

public Main ( IInterpreterMainParameters parameters ) : IInterpreterResult
parameters IInterpreterMainParameters
return IInterpreterResult

ObjectsInvokeEx() public method

public ObjectsInvokeEx ( MgaProject Project, MgaObject currentobj, MgaObjects selectedobjs, int param ) : void
Project MgaProject
currentobj MgaObject
selectedobjs MgaObjects
param int
return void

PreConfig() public method

public PreConfig ( IPreConfigParameters parameters ) : IInterpreterPreConfiguration
parameters IPreConfigParameters
return IInterpreterPreConfiguration

get_ComponentParameter() public method

public get_ComponentParameter ( string Name ) : object
Name string
return object

set_ComponentParameter() public method

public set_ComponentParameter ( string Name, object pVal ) : void
Name string
pVal object
return void

Property Details

interactiveMode protected_oe property

protected bool interactiveMode
return bool