| /** |
| * ******************************************************************************* |
| * Copyright (c) 2015-2021 Robert Bosch GmbH and others. |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Generated using Eclipse EMF |
| * |
| * ******************************************************************************* |
| */ |
| package org.eclipse.app4mc.amalthea.model; |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Memory Mapping</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * Mapping of AbstractMemoryElement (Label, Runnable, ISR, Task, ...) |
| * to a specific memory. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.app4mc.amalthea.model.MemoryMapping#getAbstractElement <em>Abstract Element</em>}</li> |
| * <li>{@link org.eclipse.app4mc.amalthea.model.MemoryMapping#getMemory <em>Memory</em>}</li> |
| * <li>{@link org.eclipse.app4mc.amalthea.model.MemoryMapping#getMemoryPositionAddress <em>Memory Position Address</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getMemoryMapping() |
| * @model |
| * @generated |
| */ |
| public interface MemoryMapping extends BaseObject { |
| /** |
| * Returns the value of the '<em><b>Abstract Element</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Abstract Element</em>' reference. |
| * @see #setAbstractElement(AbstractMemoryElement) |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getMemoryMapping_AbstractElement() |
| * @model required="true" |
| * @generated |
| */ |
| AbstractMemoryElement getAbstractElement(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.MemoryMapping#getAbstractElement <em>Abstract Element</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Abstract Element</em>' reference. |
| * @see #getAbstractElement() |
| * @generated |
| */ |
| void setAbstractElement(AbstractMemoryElement value); |
| |
| /** |
| * Returns the value of the '<em><b>Memory</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Memory</em>' reference. |
| * @see #setMemory(Memory) |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getMemoryMapping_Memory() |
| * @model required="true" |
| * @generated |
| */ |
| Memory getMemory(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.MemoryMapping#getMemory <em>Memory</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Memory</em>' reference. |
| * @see #getMemory() |
| * @generated |
| */ |
| void setMemory(Memory value); |
| |
| /** |
| * Returns the value of the '<em><b>Memory Position Address</b></em>' attribute. |
| * The default value is <code>"0"</code>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The position of the element in the mapped memory |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Memory Position Address</em>' attribute. |
| * @see #setMemoryPositionAddress(long) |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getMemoryMapping_MemoryPositionAddress() |
| * @model default="0" unique="false" dataType="org.eclipse.app4mc.amalthea.model.Address" |
| * @generated |
| */ |
| long getMemoryPositionAddress(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.MemoryMapping#getMemoryPositionAddress <em>Memory Position Address</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Memory Position Address</em>' attribute. |
| * @see #getMemoryPositionAddress() |
| * @generated |
| */ |
| void setMemoryPositionAddress(long value); |
| |
| } // MemoryMapping |