blob: c45b187cf6fcdb2b361d8065b3b59e1d12b3ba5c [file] [log] [blame]
/**
* *******************************************************************************
* Copyright (c) 2017 Timing-Architects Embedded Systems GmbH and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Generated using Eclipse EMF
*
* *******************************************************************************
*/
package org.eclipse.app4mc.amalthea.generator.configuration;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Semaphore Properties</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.app4mc.amalthea.generator.configuration.SemaphoreProperties#getCount <em>Count</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.generator.configuration.SemaphoreProperties#isPriorityCeilingProtocol <em>Priority Ceiling Protocol</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.generator.configuration.SemaphoreProperties#getSemaphoreType <em>Semaphore Type</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.generator.configuration.SemaphoreProperties#getWaitMode <em>Wait Mode</em>}</li>
* <li>{@link org.eclipse.app4mc.amalthea.generator.configuration.SemaphoreProperties#getSemaphoreAccess <em>Semaphore Access</em>}</li>
* </ul>
*
* @see org.eclipse.app4mc.amalthea.generator.configuration.RTMGCPackage#getSemaphoreProperties()
* @model
* @generated
*/
public interface SemaphoreProperties extends EObject {
/**
* Returns the value of the '<em><b>Count</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Count</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Count</em>' containment reference.
* @see #setCount(IntegerDistribution)
* @see org.eclipse.app4mc.amalthea.generator.configuration.RTMGCPackage#getSemaphoreProperties_Count()
* @model containment="true" required="true"
* @generated
*/
IntegerDistribution getCount();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.generator.configuration.SemaphoreProperties#getCount <em>Count</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Count</em>' containment reference.
* @see #getCount()
* @generated
*/
void setCount(IntegerDistribution value);
/**
* Returns the value of the '<em><b>Priority Ceiling Protocol</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Priority Ceiling Protocol</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Priority Ceiling Protocol</em>' attribute.
* @see #setPriorityCeilingProtocol(boolean)
* @see org.eclipse.app4mc.amalthea.generator.configuration.RTMGCPackage#getSemaphoreProperties_PriorityCeilingProtocol()
* @model unique="false"
* @generated
*/
boolean isPriorityCeilingProtocol();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.generator.configuration.SemaphoreProperties#isPriorityCeilingProtocol <em>Priority Ceiling Protocol</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Priority Ceiling Protocol</em>' attribute.
* @see #isPriorityCeilingProtocol()
* @generated
*/
void setPriorityCeilingProtocol(boolean value);
/**
* Returns the value of the '<em><b>Semaphore Type</b></em>' attribute.
* The default value is <code>"counting"</code>.
* The literals are from the enumeration {@link org.eclipse.app4mc.amalthea.generator.configuration.SemaphoreType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Semaphore Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Semaphore Type</em>' attribute.
* @see org.eclipse.app4mc.amalthea.generator.configuration.SemaphoreType
* @see #setSemaphoreType(SemaphoreType)
* @see org.eclipse.app4mc.amalthea.generator.configuration.RTMGCPackage#getSemaphoreProperties_SemaphoreType()
* @model default="counting" unique="false" required="true"
* @generated
*/
SemaphoreType getSemaphoreType();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.generator.configuration.SemaphoreProperties#getSemaphoreType <em>Semaphore Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Semaphore Type</em>' attribute.
* @see org.eclipse.app4mc.amalthea.generator.configuration.SemaphoreType
* @see #getSemaphoreType()
* @generated
*/
void setSemaphoreType(SemaphoreType value);
/**
* Returns the value of the '<em><b>Wait Mode</b></em>' attribute.
* The default value is <code>"active waiting"</code>.
* The literals are from the enumeration {@link org.eclipse.app4mc.amalthea.generator.configuration.WaitModes}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Wait Mode</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Wait Mode</em>' attribute.
* @see org.eclipse.app4mc.amalthea.generator.configuration.WaitModes
* @see #setWaitMode(WaitModes)
* @see org.eclipse.app4mc.amalthea.generator.configuration.RTMGCPackage#getSemaphoreProperties_WaitMode()
* @model default="active waiting" unique="false" required="true"
* @generated
*/
WaitModes getWaitMode();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.generator.configuration.SemaphoreProperties#getWaitMode <em>Wait Mode</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Wait Mode</em>' attribute.
* @see org.eclipse.app4mc.amalthea.generator.configuration.WaitModes
* @see #getWaitMode()
* @generated
*/
void setWaitMode(WaitModes value);
/**
* Returns the value of the '<em><b>Semaphore Access</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Semaphore Access</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Semaphore Access</em>' containment reference.
* @see #setSemaphoreAccess(SemaphoreAccessProperties)
* @see org.eclipse.app4mc.amalthea.generator.configuration.RTMGCPackage#getSemaphoreProperties_SemaphoreAccess()
* @model containment="true" required="true"
* @generated
*/
SemaphoreAccessProperties getSemaphoreAccess();
/**
* Sets the value of the '{@link org.eclipse.app4mc.amalthea.generator.configuration.SemaphoreProperties#getSemaphoreAccess <em>Semaphore Access</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Semaphore Access</em>' containment reference.
* @see #getSemaphoreAccess()
* @generated
*/
void setSemaphoreAccess(SemaphoreAccessProperties value);
} // SemaphoreProperties