Constructs the element instances of an application model that are mapped to the given Arduino instance via the given A2RMapping (see constructor). More...
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, PortInstance > | digitalPortMap |
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< FunctionInstance > | services |
Collection< StorageInstance > | variables |
Collection< PortInstance > | wirePorts |
> 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 |
Constructs the element instances of an application model that are mapped to the given Arduino instance via the given A2RMapping (see constructor).
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
hwSubComponentInstance | the Arduino-instance the code is generated for |
A2RMapping de.fraunhofer.isst.axbench.operations.writer.arduino.ArduinoInstanceBuilder.axlA2RMapping [private] |
> the service instances that are mapped to an Arduino instance
a2r-mapping for this writer
Map<ConnectionPathInstance, Map<DataElement, String> > de.fraunhofer.isst.axbench.operations.writer.arduino.ArduinoInstanceBuilder.connectionPathVariableMap |
maps an internal connection path and a signal to the id of the connection path variable in the generated code
Map<PortInstance, PortInstance> de.fraunhofer.isst.axbench.operations.writer.arduino.ArduinoInstanceBuilder.digitalPortMap |
Collection<ConnectionPathInstance> de.fraunhofer.isst.axbench.operations.writer.arduino.ArduinoInstanceBuilder.internalConnectionPaths |
> maps an internal port to the internal connection path instance it is attached to
the internal connection paths
Map<PortInstance, ConnectionPathInstance> de.fraunhofer.isst.axbench.operations.writer.arduino.ArduinoInstanceBuilder.portToInternalConnectionPathMap |
Map<PortInstance, DataType> de.fraunhofer.isst.axbench.operations.writer.arduino.ArduinoInstanceBuilder.serialPorts |
> 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
Collection<FunctionInstance> de.fraunhofer.isst.axbench.operations.writer.arduino.ArduinoInstanceBuilder.services |
Collection<StorageInstance> de.fraunhofer.isst.axbench.operations.writer.arduino.ArduinoInstanceBuilder.variables |
Collection<PortInstance> de.fraunhofer.isst.axbench.operations.writer.arduino.ArduinoInstanceBuilder.wirePorts |
> 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