blob: a0c399a498d11ee928dd24ca155aad8fdac48854 [file] [log] [blame]
// SequentialSequencer.java
package org.eclipse.stem.core.sequencer;
/*******************************************************************************
* Copyright (c) 2007 IBM Corporation 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
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
/**
* A <code>SequentialSequencer</code> is a {@link Sequencer} that generates
* sequential time points that are uniformly spaced at a constant interval of
* time.
*
* @model
*/
public interface SequentialSequencer extends Sequencer {
/**
* @return the number of milliseconds between the time points returned by
* successive calls to {@link Sequencer#getNextTime()}.
*
* @model
*/
long getTimeIncrement();
/**
* Sets the value of the '{@link org.eclipse.stem.core.sequencer.SequentialSequencer#getTimeIncrement <em>Time Increment</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @param value the new value of the '<em>Time Increment</em>' attribute.
* @see #getTimeIncrement()
* @generated
*/
void setTimeIncrement(long value);
} // SequentialSequencer