Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

de.fraunhofer.isst.axbench.timing.axbench_interface.TimingStarter Class Reference

aXLang operation to start the timing module. More...

List of all members.

Public Member Functions

void start (IAXLangElement theAXLElement, String...sConcrete)
 starts the timing module with input values read from the specified transaction model of the axl model
 TimingStarter ()
 Constructor setting the operation parameters.

Protected Member Functions

Map< String, Object > executeConcreteOperation (Map< String, Object > theInputParameters)
 Writes an element.

Private Member Functions

TransactionSet constructTransactionSet (Model axlModel, TransactionModel axlTransactionModel)
 constructs the transaction set that is used as input for the timing module
SubComponent getHWSubComponent (A2RMapping a2rMapping, SubComponent subComponent)
 returns the HWSubComponent the subComponent is mapped to by the a2rMapping
int getHWSubComponentID (IAXLangElement hwSubComponent)
 generates a new integer as identifier for each new hsSubComponent
List< String > getSubComponentAndElementIdentifierList (IGlobalInstance globalInstance)
 ?
void startTimingModule (Model theModel, String transactionModelID)

Private Attributes

int hwSubCompID = 0
Map< String, Integer > hwSubCompIdMap = new HashMap<String,Integer>()

Static Private Attributes

static final String ID_IN_ELEMENT = "axlin"
 identifier of the aXLang-model
static final String ID_IN_TRANSACTIONMODEL = "transactionmodel"
 identifier of the transaction model
static final String PATH_SEPARATOR = ":"

Detailed Description

aXLang operation to start the timing module.

Author:
ekleinod
mgrosse
Version:
0.9.0
Since:
0.8.0

Constructor & Destructor Documentation

de.fraunhofer.isst.axbench.timing.axbench_interface.TimingStarter.TimingStarter (  ) 

Constructor setting the operation parameters.

Operation parameters:

  • identifier of a model
  • identifier of a task model

Member Function Documentation

TransactionSet de.fraunhofer.isst.axbench.timing.axbench_interface.TimingStarter.constructTransactionSet ( Model  axlModel,
TransactionModel  axlTransactionModel 
) [private]

constructs the transaction set that is used as input for the timing module

Bug:
just commented out buggy code, search for "bug ek"
Parameters:
axlModel the aXLang model
axlTransactionModel the aXLang transaction model
Returns:
Map<String, Object> de.fraunhofer.isst.axbench.timing.axbench_interface.TimingStarter.executeConcreteOperation ( Map< String, Object >  theInputParameters  )  [protected]

Writes an element.

either

  • collect all files to generate (all components and operations have to be processed) or
  • write the element
Parameters:
theInputParameters map of the input parameters (empty map allowed)
Returns:
map of the output parameters (empty map allowed)

Reimplemented from de.fraunhofer.isst.axbench.api.operations.AbstractAXLOperation.

SubComponent de.fraunhofer.isst.axbench.timing.axbench_interface.TimingStarter.getHWSubComponent ( A2RMapping  a2rMapping,
SubComponent  subComponent 
) [private]

returns the HWSubComponent the subComponent is mapped to by the a2rMapping

Parameters:
a2rMapping the a2rMapping
subComponent the subComponent
Returns:
the HWSubComponent
int de.fraunhofer.isst.axbench.timing.axbench_interface.TimingStarter.getHWSubComponentID ( IAXLangElement  hwSubComponent  )  [private]

generates a new integer as identifier for each new hsSubComponent

Parameters:
hwSubComponent the hwSubComponent
Returns:
integer valued identifier
List<String> de.fraunhofer.isst.axbench.timing.axbench_interface.TimingStarter.getSubComponentAndElementIdentifierList ( IGlobalInstance  globalInstance  )  [private]

?

Bug:
just commented out buggy code, search for "bug ek"
Parameters:
globalInstance 
Returns:
void de.fraunhofer.isst.axbench.timing.axbench_interface.TimingStarter.start ( IAXLangElement  theAXLElement,
String...  sConcrete 
)

starts the timing module with input values read from the specified transaction model of the axl model

Deprecated:
has to be replaced by executeConcreteOperation
Parameters:
theAXLElement the axl-model
sConcrete identifier of the transaction model the timing input data shall be read from
void de.fraunhofer.isst.axbench.timing.axbench_interface.TimingStarter.startTimingModule ( Model  theModel,
String  transactionModelID 
) [private]

Member Data Documentation

Map<String,Integer> de.fraunhofer.isst.axbench.timing.axbench_interface.TimingStarter.hwSubCompIdMap = new HashMap<String,Integer>() [private]

Since the timing module does not accept strings as identifiers integer identifiers must be generated

identifier of the aXLang-model

identifier of the transaction model