SCViewer/plugins/com.minres.scviewer.database/src/com/minres/scviewer/database/IWaveform.java

32 lines
946 B
Java
Raw Normal View History

/*******************************************************************************
2015-10-22 00:25:12 +02:00
* Copyright (c) 2015 MINRES Technologies 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
*
* Contributors:
* MINRES Technologies GmbH - initial API and implementation
*******************************************************************************/
2015-01-06 17:14:16 +01:00
package com.minres.scviewer.database;
2020-11-28 10:22:22 +01:00
import java.util.NavigableMap;
2015-01-20 18:50:15 +01:00
public interface IWaveform extends IHierNode {
2015-01-06 17:14:16 +01:00
public Long getId();
public boolean isSame(IWaveform other);
2015-01-06 17:14:16 +01:00
2020-11-28 10:22:22 +01:00
public NavigableMap<Long, IEvent[]> getEvents();
public IEvent[] getEventsAtTime(Long time);
public IEvent[] getEventsBeforeTime(Long time);
2020-11-28 14:08:34 +01:00
public WaveformType getType();
2020-11-28 10:22:22 +01:00
2020-11-28 14:08:34 +01:00
public int getWidth();
2020-11-28 10:22:22 +01:00
2015-01-06 17:14:16 +01:00
}