C# 클래스 CyPhyComponentExporter.CyPhyComponentExporterInterpreter

상속: IMgaComponentEx, IGMEVersionInfo
파일 보기 프로젝트 열기: metamorph-inc/meta-core 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
OutputDir string
previousExportPath string

보호된 프로퍼티들

프로퍼티 타입 설명
cadResourceRegex System.Text.RegularExpressions.Regex
interactiveMode bool

Private Properties

프로퍼티 타입 설명
Convert ComponentStartMode
GMERegister void
GMEUnRegister void
GetAllComponents List
Main void
Safeify String
TraverseComponentAssemblyForComponentExport void

공개 메소드들

메소드 설명
Enable ( bool newval ) : void
ExportComponentPackage ( ISIS.GME.Dsml.CyPhyML.Interfaces component, String outputFolder = null ) : String

Given a CyPhy Component, builds a .ZIP-format Component Package, which includes an ACM version, as well as all artifacts from the component's backend folder. Note that it will grab ALL artifacts from that folder, not just those called out as Resources by the Component. It will also exclude any *.acm file found in that folder, opting to create a new ACM file from the current state of the component.

ExportToFile ( ISIS.GME.Dsml.CyPhyML.Interfaces c, String s_outFolder ) : String
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
ObjectsInvokeEx ( MgaProject Project, MgaObject currentobj, MgaObjects selectedobjs, int param ) : void
SerializeAvmComponent ( avm avmComponent, String s_outFilePath ) : void
TraverseTestBenchForComponentExport ( MgaFCO currentobj, string OutputDirectory, string ProjectDirectory ) : void
get_ComponentParameter ( string Name ) : object
set_ComponentParameter ( string Name, object pVal ) : void

비공개 메소드들

메소드 설명
Convert ( int param ) : ComponentStartMode
GMERegister ( Type t ) : void
GMEUnRegister ( Type t ) : void
GetAllComponents ( ISIS.GME.Dsml.CyPhyML.Interfaces componentsFolder ) : List
Main ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, ComponentStartMode startMode ) : void
Safeify ( String s_in ) : String
TraverseComponentAssemblyForComponentExport ( ComponentIndex compindex, ISIS.GME.Dsml.CyPhyML.Interfaces componentasm, string OutputDirectory, string ProjectDirectory ) : void

메소드 상세

Enable() 공개 메소드

public Enable ( bool newval ) : void
newval bool
리턴 void

ExportComponentPackage() 공개 정적인 메소드

Given a CyPhy Component, builds a .ZIP-format Component Package, which includes an ACM version, as well as all artifacts from the component's backend folder. Note that it will grab ALL artifacts from that folder, not just those called out as Resources by the Component. It will also exclude any *.acm file found in that folder, opting to create a new ACM file from the current state of the component.
public static ExportComponentPackage ( ISIS.GME.Dsml.CyPhyML.Interfaces component, String outputFolder = null ) : String
component ISIS.GME.Dsml.CyPhyML.Interfaces
outputFolder String The folder where the component package should be created. If null, a temporary folder will be used.
리턴 String

ExportToFile() 공개 정적인 메소드

public static ExportToFile ( ISIS.GME.Dsml.CyPhyML.Interfaces c, String s_outFolder ) : String
c ISIS.GME.Dsml.CyPhyML.Interfaces
s_outFolder String
리턴 String

Initialize() 공개 메소드

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.
리턴 void

Invoke() 공개 메소드

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

InvokeEx() 공개 메소드

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

ObjectsInvokeEx() 공개 메소드

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

SerializeAvmComponent() 공개 정적인 메소드

public static SerializeAvmComponent ( avm avmComponent, String s_outFilePath ) : void
avmComponent avm
s_outFilePath String
리턴 void

TraverseTestBenchForComponentExport() 공개 메소드

public TraverseTestBenchForComponentExport ( MgaFCO currentobj, string OutputDirectory, string ProjectDirectory ) : void
currentobj MgaFCO
OutputDirectory string
ProjectDirectory string
리턴 void

get_ComponentParameter() 공개 메소드

public get_ComponentParameter ( string Name ) : object
Name string
리턴 object

set_ComponentParameter() 공개 메소드

public set_ComponentParameter ( string Name, object pVal ) : void
Name string
pVal object
리턴 void

프로퍼티 상세

OutputDir 공개적으로 프로퍼티

public string OutputDir
리턴 string

cadResourceRegex 보호되어 있는 정적으로 프로퍼티

protected static Regex,System.Text.RegularExpressions cadResourceRegex
리턴 System.Text.RegularExpressions.Regex

interactiveMode 보호되어 있는 프로퍼티

protected bool interactiveMode
리턴 bool

previousExportPath 공개적으로 정적으로 프로퍼티

public static string previousExportPath
리턴 string