C# 클래스 CyPhyMasterInterpreter.CyPhyMasterInterpreterAPI

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

Private Properties

프로퍼티 타입 설명
CreateOrUpdateProjectManifest AVM.DDP.MetaAvmProject
DirectoryCopy void
ExecuteInTransaction void
ExecuteInTransaction void
GenerateDashboardScriptFiles void
GetConfigurationGroups CyPhyMasterInterpreter.ConfigurationGroup[]
GetIndexFilename string
GetSelectedDesign AVM.DDP.MetaTBManifest.DesignType
ResolveConfiguration MgaFCOs
ResolveConfigurations MgaFCOs
RunAnalysisModelProcessors CyPhyMasterInterpreter.MasterInterpreterResult
RunInTransactionWithConfig CyPhyMasterInterpreter.MasterInterpreterResult[]
ShowConfigurationSelectionForm ConfigurationSelection
SplitCamelCase string
TurnOffAddons void
TurnOnAddons void

공개 메소드들

메소드 설명
Cancel ( ) : void
CheckContext ( IMgaModel context ) : ContextCheckerResult[]
CreateLogger ( ) : void
CyPhyMasterInterpreterAPI ( ) : System
CyPhyMasterInterpreterAPI ( MgaProject project ) : System

Initializes a new instance of CyPhyMasterInterpreterAPI.

CyPhyMasterInterpreterAPI ( MgaProject project, CyPhyGUIs logger ) : System

Initializes a new instance of CyPhyMasterInterpreterAPI.

Dispose ( ) : void

Disposes the logger if it needs to be disposed.

GetConfigurations ( IMgaModel context ) : IMgaFCOs

GetConfigurations ( IMgaProject project, string gmeId ) : IMgaFCOs
Initialize ( MgaProject project, CyPhyGUIs logger = null ) : void
OpenDashboardWithChrome ( ) : void
RunInTransactionOnMultipleConfigs ( IMgaModel context, IMgaFCOs configurations, bool postToJobManager = false, bool keepTempModels = false ) : CyPhyMasterInterpreter.MasterInterpreterResult[]

All RunInTransaction public functions should end up calling this function. It checks all constraints and initializes the variables.

Execute outside of transactions.

RunInTransactionOnOneConfig ( IMgaModel context, IMgaFCO configuration, bool postToJobManager = false, bool keepTempModels = false ) : CyPhyMasterInterpreter.MasterInterpreterResult[]
RunInTransactionWithConfigLight ( ConfigurationSelectionLight configLight ) : CyPhyMasterInterpreter.MasterInterpreterResult[]
TryCheckContext ( IMgaModel context, ContextCheckerResult &results ) : bool
WriteSummary ( CyPhyMasterInterpreter.MasterInterpreterResult results ) : void

보호된 메소드들

메소드 설명
OnMultipleConfigurationProgress ( CyPhyMasterInterpreter.ProgressCallbackEventArgs e ) : void
OnSingleConfigurationProgress ( CyPhyMasterInterpreter.ProgressCallbackEventArgs e ) : void

비공개 메소드들

메소드 설명
CreateOrUpdateProjectManifest ( MgaProject project ) : AVM.DDP.MetaAvmProject

Creates or updates the project manifest file.

Execute within transaction.

DirectoryCopy ( string sourceDirName, string destinationDirName, bool copySubDirs ) : void
ExecuteInTransaction ( IMgaObject context, System.Action doWork, bool abort = false, transactiontype_enum type = transactiontype_enum.TRANSACTION_NON_NESTED ) : void
ExecuteInTransaction ( MgaProject project, System.Action doWork, bool abort = false, transactiontype_enum type = transactiontype_enum.TRANSACTION_NON_NESTED ) : void
GenerateDashboardScriptFiles ( ) : void
GetConfigurationGroups ( IMgaModel context ) : CyPhyMasterInterpreter.ConfigurationGroup[]
GetIndexFilename ( ) : string
GetSelectedDesign ( ISIS.GME.Dsml.CyPhyML.Interfaces cwc, ISIS.GME.Dsml.CyPhyML.Interfaces designContainer ) : AVM.DDP.MetaTBManifest.DesignType
ResolveConfiguration ( MgaFCO configuration ) : MgaFCOs
ResolveConfigurations ( IMgaFCOs configurations ) : MgaFCOs

Resolves all possible variations of configuration specification.

RunAnalysisModelProcessors ( IMgaModel context, IMgaFCO configuration, bool postToJobManager = false, bool keepTempModels = false, bool passTraceability = true ) : CyPhyMasterInterpreter.MasterInterpreterResult
RunInTransactionWithConfig ( ConfigurationSelection config ) : CyPhyMasterInterpreter.MasterInterpreterResult[]
ShowConfigurationSelectionForm ( IMgaModel context, bool enableDebugging = false ) : ConfigurationSelection
SplitCamelCase ( string input ) : string
TurnOffAddons ( IMgaObject context ) : void
TurnOnAddons ( IMgaModel context ) : void

메소드 상세

Cancel() 공개 메소드

public Cancel ( ) : void
리턴 void

CheckContext() 공개 메소드

public CheckContext ( IMgaModel context ) : ContextCheckerResult[]
context IMgaModel
리턴 ContextCheckerResult[]

CreateLogger() 공개 메소드

public CreateLogger ( ) : void
리턴 void

CyPhyMasterInterpreterAPI() 공개 메소드

public CyPhyMasterInterpreterAPI ( ) : System
리턴 System

CyPhyMasterInterpreterAPI() 공개 메소드

Initializes a new instance of CyPhyMasterInterpreterAPI.
public CyPhyMasterInterpreterAPI ( MgaProject project ) : System
project MgaProject Master interpreter runs on part of this project.
리턴 System

CyPhyMasterInterpreterAPI() 공개 메소드

Initializes a new instance of CyPhyMasterInterpreterAPI.
public CyPhyMasterInterpreterAPI ( MgaProject project, CyPhyGUIs logger ) : System
project MgaProject Master interpreter runs on part of this project.
logger CyPhyGUIs If logger is give it will be used.
리턴 System

Dispose() 공개 메소드

Disposes the logger if it needs to be disposed.
public Dispose ( ) : void
리턴 void

GetConfigurations() 공개 메소드

public GetConfigurations ( IMgaModel context ) : IMgaFCOs
context IMgaModel TestBench, PET, PCC, or SoT
리턴 IMgaFCOs

GetConfigurations() 공개 메소드

public GetConfigurations ( IMgaProject project, string gmeId ) : IMgaFCOs
project IMgaProject
gmeId string
리턴 IMgaFCOs

Initialize() 공개 메소드

public Initialize ( MgaProject project, CyPhyGUIs logger = null ) : void
project MgaProject
logger CyPhyGUIs
리턴 void

OnMultipleConfigurationProgress() 보호된 메소드

protected OnMultipleConfigurationProgress ( CyPhyMasterInterpreter.ProgressCallbackEventArgs e ) : void
e CyPhyMasterInterpreter.ProgressCallbackEventArgs
리턴 void

OnSingleConfigurationProgress() 보호된 메소드

protected OnSingleConfigurationProgress ( CyPhyMasterInterpreter.ProgressCallbackEventArgs e ) : void
e CyPhyMasterInterpreter.ProgressCallbackEventArgs
리턴 void

OpenDashboardWithChrome() 공개 메소드

public OpenDashboardWithChrome ( ) : void
리턴 void

RunInTransactionOnMultipleConfigs() 공개 메소드

All RunInTransaction public functions should end up calling this function. It checks all constraints and initializes the variables.

Execute outside of transactions.

public RunInTransactionOnMultipleConfigs ( IMgaModel context, IMgaFCOs configurations, bool postToJobManager = false, bool keepTempModels = false ) : CyPhyMasterInterpreter.MasterInterpreterResult[]
context IMgaModel Master interpreter runs on this model.
configurations IMgaFCOs Configurations to run the context with.
postToJobManager bool True posts all jobs to the job manager.
keepTempModels bool The interpreter will keep all temporary models.
리턴 CyPhyMasterInterpreter.MasterInterpreterResult[]

RunInTransactionOnOneConfig() 공개 메소드

public RunInTransactionOnOneConfig ( IMgaModel context, IMgaFCO configuration, bool postToJobManager = false, bool keepTempModels = false ) : CyPhyMasterInterpreter.MasterInterpreterResult[]
context IMgaModel
configuration IMgaFCO
postToJobManager bool
keepTempModels bool
리턴 CyPhyMasterInterpreter.MasterInterpreterResult[]

RunInTransactionWithConfigLight() 공개 메소드

public RunInTransactionWithConfigLight ( ConfigurationSelectionLight configLight ) : CyPhyMasterInterpreter.MasterInterpreterResult[]
configLight ConfigurationSelectionLight
리턴 CyPhyMasterInterpreter.MasterInterpreterResult[]

TryCheckContext() 공개 메소드

public TryCheckContext ( IMgaModel context, ContextCheckerResult &results ) : bool
context IMgaModel
results ContextCheckerResult
리턴 bool

WriteSummary() 공개 메소드

public WriteSummary ( CyPhyMasterInterpreter.MasterInterpreterResult results ) : void
results CyPhyMasterInterpreter.MasterInterpreterResult
리턴 void