Public Member Functions | Public Attributes | Private Attributes

de.fraunhofer.isst.axbench.operations.writer.arduino.ArduinoInstanceBuilder Class Reference

Constructs the element instances of an application model that are mapped to the given Arduino instance via the given A2RMapping (see constructor). More...

List of all members.

Public Member Functions

 ArduinoInstanceBuilder (SubComponentInstance hwSubComponentInstance, A2RMapping axlA2RMp)
 constructor; collects and structures the element instances of the application model that are needed for the code generation

Public Attributes

Map< ConnectionPathInstance,
Map< DataElement, String > > 
connectionPathVariableMap
 maps an internal connection path and a signal to the id of the connection path variable in the generated code
Map< PortInstance, PortInstancedigitalPortMap
Collection
< ConnectionPathInstance
internalConnectionPaths
 > maps an internal port to the internal connection path instance it is attached to
Map< PortInstance,
ConnectionPathInstance
portToInternalConnectionPathMap
Map< PortInstance, DataType > serialPorts
 > maps an application port instance to a hardware port instance according to the axlA2RMapping
String serialVariable
 > the application ports that are mapped to the Arduino Serial port and the data types of the signals communicated via these ports
Collection< FunctionInstanceservices
Collection< StorageInstancevariables
Collection< PortInstancewirePorts
 > the identifier of the variable that represents the value read at the Serial port

Private Attributes

A2RMapping axlA2RMapping
 > the service instances that are mapped to an Arduino instance

Detailed Description

Constructs the element instances of an application model that are mapped to the given Arduino instance via the given A2RMapping (see constructor).

Author:
mgrosse
ekleinod
Version:
0.10.0
Since:
0.9.9

Constructor & Destructor Documentation

de.fraunhofer.isst.axbench.operations.writer.arduino.ArduinoInstanceBuilder.ArduinoInstanceBuilder ( SubComponentInstance  hwSubComponentInstance,
A2RMapping  axlA2RMp 
)

constructor; collects and structures the element instances of the application model that are needed for the code generation

Parameters:
hwSubComponentInstance the Arduino-instance the code is generated for

Member Data Documentation

> the service instances that are mapped to an Arduino instance

a2r-mapping for this writer

maps an internal connection path and a signal to the id of the connection path variable in the generated code

> maps an internal port to the internal connection path instance it is attached to

the internal connection paths

> maps an application port instance to a hardware port instance according to the axlA2RMapping

> the application ports that are mapped to the Arduino Serial port and the data types of the signals communicated via these ports

> the identifier of the variable that represents the value read at the Serial port

the application ports that are mapped to an Arduino Wire port