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

82 lines
1.6 KiB
Java
Raw Normal View History

/*******************************************************************************
2021-01-09 14:26:49 +01:00
* Copyright (c) 2015-2021 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
/**
* The Interface IWaveform.
*
* @author eyck
*/
public interface IWaveform extends IHierNode {
2015-01-06 17:14:16 +01:00
/**
* Gets the id.
*
* @return the id
*/
2015-01-06 17:14:16 +01:00
public Long getId();
/**
* Checks if is same.
*
* @param other the other
* @return true, if is same
*/
public boolean isSame(IWaveform other);
2015-01-06 17:14:16 +01:00
/**
* Gets the events.
*
* @return the events
*/
2020-11-28 10:22:22 +01:00
public NavigableMap<Long, IEvent[]> getEvents();
/**
* Gets the events at time.
*
* @param time the time
* @return the events at time
*/
2020-11-28 10:22:22 +01:00
public IEvent[] getEventsAtTime(Long time);
/**
* Gets the events before time.
*
* @param time the time
* @return the events before time
*/
2020-11-28 10:22:22 +01:00
public IEvent[] getEventsBeforeTime(Long time);
/**
* Gets the type.
*
* @return the type
*/
2020-11-28 14:08:34 +01:00
public WaveformType getType();
/**
* Gets the kind.
*
* @return the kind
*/
2021-01-09 10:34:22 +01:00
public String getKind();
/**
* Gets the width.
*
* @return the width
*/
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
}