blob: 197bc4ac3500a6e8846b7d430a18b0f69fde4bb4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011 2Laurent CARON
* 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:
* Laurent CARON (laurent.caron at gmail dot com) - initial API and implementation
*******************************************************************************/
package org.mihalis.opal.systemMonitor;
/**
* This interface represents a data sample that will be displayed in the
* SystemMonitor widget.
*/
public interface Sample {
/**
* Gets the value.
*
* @return the current value of the sample
*/
double getValue();
/**
* Gets the max value.
*
* @return the max value of the sample
*/
double getMaxValue();
}