C# Class AVM.DDP.MetaAvmProject

TODO: Update summary.
Show file Open project: metamorph-inc/meta-core Class Usage Examples

Private Properties

Property Type Description
GetDesignSpacesFolder string
GetDesignsFolder string
GetResultsFolder string
GetTestbenchFolder string

Public Methods

Method Description
Create ( MgaProject project ) : MetaAvmProject
Create ( string outputDirectory, MgaProject project = null, MgaModel rootDS = null, GME console = null ) : MetaAvmProject

Call this function within a transaction!

MakeRelativePath ( string fromPath, string toPath ) : string

Creates a relative path from one file or folder to another.

MetaAvmProject ( ) : System

Use the static create method.

SaveDesign ( ISIS.GME.Dsml.CyPhyML.Interfaces designEntity ) : bool
SaveDesign ( MgaFCO fco ) : bool

Saves associated design.

SaveSummaryReportJson ( string interpreterOutputDir, MgaFCO fco ) : void

Call this function if a GME transaction is open.

SaveTestBench ( ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType ) : bool
SaveTestBenchManifest ( string designName, string configurationName, ISIS.GME.Dsml.CyPhyML.Interfaces expandedTestBenchType, string outputDir, ISIS.GME.Dsml.CyPhyML.Interfaces origialTestBenchType, System.DateTime analysisStartTime ) : bool
SaveTestBenchManifest ( string outputDirectory, ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType ) : void
SaveTestBenchManifest ( string outputDirectory, ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType, List dependencies ) : void

Function to be invoked from SOT TestBench.

Serialize ( bool saveToFile = true, string filename = null ) : string
UpdateResultsJson ( MgaFCO singleFco, string OutputSubDir ) : void

Call this within a transaction.

UpdateTestBenchJson ( MgaFCO testBench ) : string
UpdateTestBenchJson ( MgaFCO testBench ) : void

Private Methods

Method Description
GetDesignSpacesFolder ( ) : string
GetDesignsFolder ( ) : string
GetResultsFolder ( ) : string
GetTestbenchFolder ( ) : string

Method Details

Create() public static method

public static Create ( MgaProject project ) : MetaAvmProject
project MgaProject
return MetaAvmProject

Create() public static method

Call this function within a transaction!
public static Create ( string outputDirectory, MgaProject project = null, MgaModel rootDS = null, GME console = null ) : MetaAvmProject
outputDirectory string
project MgaProject
rootDS MgaModel
console GME
return MetaAvmProject

MakeRelativePath() public static method

Creates a relative path from one file or folder to another.
public static MakeRelativePath ( string fromPath, string toPath ) : string
fromPath string Contains the directory that defines the start of the relative path.
toPath string Contains the path that defines the endpoint of the relative path.
return string

MetaAvmProject() public method

Use the static create method.
public MetaAvmProject ( ) : System
return System

SaveDesign() public method

public SaveDesign ( ISIS.GME.Dsml.CyPhyML.Interfaces designEntity ) : bool
designEntity ISIS.GME.Dsml.CyPhyML.Interfaces
return bool

SaveDesign() public method

Saves associated design.
public SaveDesign ( MgaFCO fco ) : bool
fco MgaFCO TestBench, ParametricExploration, SoT
return bool

SaveSummaryReportJson() public method

Call this function if a GME transaction is open.
public SaveSummaryReportJson ( string interpreterOutputDir, MgaFCO fco ) : void
interpreterOutputDir string
fco MgaFCO
return void

SaveTestBench() public method

public SaveTestBench ( ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType ) : bool
testBenchType ISIS.GME.Dsml.CyPhyML.Interfaces
return bool

SaveTestBenchManifest() public method

public SaveTestBenchManifest ( string designName, string configurationName, ISIS.GME.Dsml.CyPhyML.Interfaces expandedTestBenchType, string outputDir, ISIS.GME.Dsml.CyPhyML.Interfaces origialTestBenchType, System.DateTime analysisStartTime ) : bool
designName string
configurationName string
expandedTestBenchType ISIS.GME.Dsml.CyPhyML.Interfaces
outputDir string
origialTestBenchType ISIS.GME.Dsml.CyPhyML.Interfaces
analysisStartTime System.DateTime
return bool

SaveTestBenchManifest() public method

public SaveTestBenchManifest ( string outputDirectory, ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType ) : void
outputDirectory string
testBenchType ISIS.GME.Dsml.CyPhyML.Interfaces
return void

SaveTestBenchManifest() public method

Function to be invoked from SOT TestBench.
public SaveTestBenchManifest ( string outputDirectory, ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType, List dependencies ) : void
outputDirectory string
testBenchType ISIS.GME.Dsml.CyPhyML.Interfaces
dependencies List
return void

Serialize() public method

public Serialize ( bool saveToFile = true, string filename = null ) : string
saveToFile bool
filename string
return string

UpdateResultsJson() public method

Call this within a transaction.
public UpdateResultsJson ( MgaFCO singleFco, string OutputSubDir ) : void
singleFco MgaFCO
OutputSubDir string
return void

UpdateTestBenchJson() public method

public UpdateTestBenchJson ( MgaFCO testBench ) : string
testBench MgaFCO
return string

UpdateTestBenchJson() public method

public UpdateTestBenchJson ( MgaFCO testBench ) : void
testBench MgaFCO
return void