2015-01-21 21:58:35 +01:00
|
|
|
/*******************************************************************************
|
2021-01-09 14:26:49 +01:00
|
|
|
* Copyright (c) 2015-2021 MINRES Technologies GmbH and others.
|
2015-01-21 21:58:35 +01:00
|
|
|
* 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;
|
|
|
|
|
2015-01-20 18:50:15 +01:00
|
|
|
|
2021-01-14 23:55:47 +01:00
|
|
|
// TODO: Auto-generated Javadoc
|
2021-01-09 12:43:02 +01:00
|
|
|
/**
|
|
|
|
* The Interface IWaveform.
|
|
|
|
*
|
|
|
|
* @author eyck
|
|
|
|
*/
|
2018-11-05 18:21:54 +01:00
|
|
|
public interface IWaveform extends IHierNode {
|
2015-01-06 17:14:16 +01:00
|
|
|
|
2021-01-09 12:43:02 +01:00
|
|
|
/**
|
|
|
|
* Gets the id.
|
|
|
|
*
|
|
|
|
* @return the id
|
|
|
|
*/
|
2015-01-06 17:14:16 +01:00
|
|
|
public Long getId();
|
|
|
|
|
2021-01-09 12:43:02 +01:00
|
|
|
/**
|
|
|
|
* Checks if is same.
|
|
|
|
*
|
|
|
|
* @param other the other
|
|
|
|
* @return true, if is same
|
|
|
|
*/
|
2020-11-29 10:25:48 +01:00
|
|
|
public boolean isSame(IWaveform other);
|
2015-01-06 17:14:16 +01:00
|
|
|
|
2021-01-09 12:43:02 +01:00
|
|
|
/**
|
|
|
|
* Gets the events.
|
|
|
|
*
|
|
|
|
* @return the events
|
|
|
|
*/
|
2021-02-26 12:57:54 +01:00
|
|
|
public IEventList<Long, IEvent[]> getEvents();
|
2020-11-28 10:22:22 +01:00
|
|
|
|
2021-01-09 12:43:02 +01:00
|
|
|
/**
|
|
|
|
* 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);
|
|
|
|
|
2021-01-09 12:43:02 +01:00
|
|
|
/**
|
|
|
|
* 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);
|
2021-01-09 12:43:02 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the type.
|
|
|
|
*
|
|
|
|
* @return the type
|
|
|
|
*/
|
2020-11-28 14:08:34 +01:00
|
|
|
public WaveformType getType();
|
2021-01-09 12:43:02 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the kind.
|
|
|
|
*
|
|
|
|
* @return the kind
|
|
|
|
*/
|
2021-01-09 10:34:22 +01:00
|
|
|
public String getKind();
|
2021-01-09 12:43:02 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the width.
|
|
|
|
*
|
|
|
|
* @return the width
|
|
|
|
*/
|
2021-01-14 23:13:11 +01:00
|
|
|
public int getRowCount();
|
|
|
|
|
2015-01-06 17:14:16 +01:00
|
|
|
}
|