| /** |
| * ******************************************************************************* |
| * Copyright (c) 2015-2020 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>Connection Handler Definition</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.app4mc.amalthea.model.ConnectionHandlerDefinition#getPolicy <em>Policy</em>}</li> |
| * <li>{@link org.eclipse.app4mc.amalthea.model.ConnectionHandlerDefinition#getReadLatency <em>Read Latency</em>}</li> |
| * <li>{@link org.eclipse.app4mc.amalthea.model.ConnectionHandlerDefinition#getWriteLatency <em>Write Latency</em>}</li> |
| * <li>{@link org.eclipse.app4mc.amalthea.model.ConnectionHandlerDefinition#getDataRate <em>Data Rate</em>}</li> |
| * <li>{@link org.eclipse.app4mc.amalthea.model.ConnectionHandlerDefinition#getMaxBurstSize <em>Max Burst Size</em>}</li> |
| * <li>{@link org.eclipse.app4mc.amalthea.model.ConnectionHandlerDefinition#getMaxConcurrentTransfers <em>Max Concurrent Transfers</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getConnectionHandlerDefinition() |
| * @model |
| * @generated |
| */ |
| public interface ConnectionHandlerDefinition extends HwDefinition { |
| /** |
| * Returns the value of the '<em><b>Policy</b></em>' attribute. |
| * The literals are from the enumeration {@link org.eclipse.app4mc.amalthea.model.SchedPolicy}. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Policy</em>' attribute. |
| * @see org.eclipse.app4mc.amalthea.model.SchedPolicy |
| * @see #setPolicy(SchedPolicy) |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getConnectionHandlerDefinition_Policy() |
| * @model unique="false" |
| * @generated |
| */ |
| SchedPolicy getPolicy(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.ConnectionHandlerDefinition#getPolicy <em>Policy</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Policy</em>' attribute. |
| * @see org.eclipse.app4mc.amalthea.model.SchedPolicy |
| * @see #getPolicy() |
| * @generated |
| */ |
| void setPolicy(SchedPolicy value); |
| |
| /** |
| * Returns the value of the '<em><b>Read Latency</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * <p><b>Read latency [cycles]</b></p> |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Read Latency</em>' containment reference. |
| * @see #setReadLatency(IDiscreteValueDeviation) |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getConnectionHandlerDefinition_ReadLatency() |
| * @model containment="true" |
| * @generated |
| */ |
| IDiscreteValueDeviation getReadLatency(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.ConnectionHandlerDefinition#getReadLatency <em>Read Latency</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Read Latency</em>' containment reference. |
| * @see #getReadLatency() |
| * @generated |
| */ |
| void setReadLatency(IDiscreteValueDeviation value); |
| |
| /** |
| * Returns the value of the '<em><b>Write Latency</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * <p><b>Write latency [cycles]</b></p> |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Write Latency</em>' containment reference. |
| * @see #setWriteLatency(IDiscreteValueDeviation) |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getConnectionHandlerDefinition_WriteLatency() |
| * @model containment="true" |
| * @generated |
| */ |
| IDiscreteValueDeviation getWriteLatency(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.ConnectionHandlerDefinition#getWriteLatency <em>Write Latency</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Write Latency</em>' containment reference. |
| * @see #getWriteLatency() |
| * @generated |
| */ |
| void setWriteLatency(IDiscreteValueDeviation value); |
| |
| /** |
| * Returns the value of the '<em><b>Data Rate</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Data Rate</em>' containment reference. |
| * @see #setDataRate(DataRate) |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getConnectionHandlerDefinition_DataRate() |
| * @model containment="true" |
| * @generated |
| */ |
| DataRate getDataRate(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.ConnectionHandlerDefinition#getDataRate <em>Data Rate</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Data Rate</em>' containment reference. |
| * @see #getDataRate() |
| * @generated |
| */ |
| void setDataRate(DataRate value); |
| |
| /** |
| * Returns the value of the '<em><b>Max Burst Size</b></em>' attribute. |
| * The default value is <code>"1"</code>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Max Burst Size</em>' attribute. |
| * @see #setMaxBurstSize(int) |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getConnectionHandlerDefinition_MaxBurstSize() |
| * @model default="1" unique="false" dataType="org.eclipse.app4mc.amalthea.model.PositiveInt" |
| * @generated |
| */ |
| int getMaxBurstSize(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.ConnectionHandlerDefinition#getMaxBurstSize <em>Max Burst Size</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Max Burst Size</em>' attribute. |
| * @see #getMaxBurstSize() |
| * @generated |
| */ |
| void setMaxBurstSize(int value); |
| |
| /** |
| * Returns the value of the '<em><b>Max Concurrent Transfers</b></em>' attribute. |
| * The default value is <code>"1"</code>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Max Concurrent Transfers</em>' attribute. |
| * @see #setMaxConcurrentTransfers(int) |
| * @see org.eclipse.app4mc.amalthea.model.AmaltheaPackage#getConnectionHandlerDefinition_MaxConcurrentTransfers() |
| * @model default="1" unique="false" dataType="org.eclipse.app4mc.amalthea.model.PositiveInt" |
| * @generated |
| */ |
| int getMaxConcurrentTransfers(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.app4mc.amalthea.model.ConnectionHandlerDefinition#getMaxConcurrentTransfers <em>Max Concurrent Transfers</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Max Concurrent Transfers</em>' attribute. |
| * @see #getMaxConcurrentTransfers() |
| * @generated |
| */ |
| void setMaxConcurrentTransfers(int value); |
| |
| } // ConnectionHandlerDefinition |