C# Class CyPhyMasterInterpreter.CyPhyMasterInterpreterAPI

Inheritance: IDisposable
Afficher le fichier Open project: metamorph-inc/meta-core Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
OnMultipleConfigurationProgress ( CyPhyMasterInterpreter.ProgressCallbackEventArgs e ) : void
OnSingleConfigurationProgress ( CyPhyMasterInterpreter.ProgressCallbackEventArgs e ) : void

Private Methods

Méthode Description
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

Method Details

Cancel() public méthode

public Cancel ( ) : void
Résultat void

CheckContext() public méthode

public CheckContext ( IMgaModel context ) : ContextCheckerResult[]
context IMgaModel
Résultat ContextCheckerResult[]

CreateLogger() public méthode

public CreateLogger ( ) : void
Résultat void

CyPhyMasterInterpreterAPI() public méthode

public CyPhyMasterInterpreterAPI ( ) : System
Résultat System

CyPhyMasterInterpreterAPI() public méthode

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

CyPhyMasterInterpreterAPI() public méthode

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.
Résultat System

Dispose() public méthode

Disposes the logger if it needs to be disposed.
public Dispose ( ) : void
Résultat void

GetConfigurations() public méthode

public GetConfigurations ( IMgaModel context ) : IMgaFCOs
context IMgaModel TestBench, PET, PCC, or SoT
Résultat IMgaFCOs

GetConfigurations() public méthode

public GetConfigurations ( IMgaProject project, string gmeId ) : IMgaFCOs
project IMgaProject
gmeId string
Résultat IMgaFCOs

Initialize() public méthode

public Initialize ( MgaProject project, CyPhyGUIs logger = null ) : void
project MgaProject
logger CyPhyGUIs
Résultat void

OnMultipleConfigurationProgress() protected méthode

protected OnMultipleConfigurationProgress ( CyPhyMasterInterpreter.ProgressCallbackEventArgs e ) : void
e CyPhyMasterInterpreter.ProgressCallbackEventArgs
Résultat void

OnSingleConfigurationProgress() protected méthode

protected OnSingleConfigurationProgress ( CyPhyMasterInterpreter.ProgressCallbackEventArgs e ) : void
e CyPhyMasterInterpreter.ProgressCallbackEventArgs
Résultat void

OpenDashboardWithChrome() public méthode

public OpenDashboardWithChrome ( ) : void
Résultat void

RunInTransactionOnMultipleConfigs() public méthode

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.
Résultat CyPhyMasterInterpreter.MasterInterpreterResult[]

RunInTransactionOnOneConfig() public méthode

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

RunInTransactionWithConfigLight() public méthode

public RunInTransactionWithConfigLight ( ConfigurationSelectionLight configLight ) : CyPhyMasterInterpreter.MasterInterpreterResult[]
configLight ConfigurationSelectionLight
Résultat CyPhyMasterInterpreter.MasterInterpreterResult[]

TryCheckContext() public méthode

public TryCheckContext ( IMgaModel context, ContextCheckerResult &results ) : bool
context IMgaModel
results ContextCheckerResult
Résultat bool

WriteSummary() public méthode

public WriteSummary ( CyPhyMasterInterpreter.MasterInterpreterResult results ) : void
results CyPhyMasterInterpreter.MasterInterpreterResult
Résultat void