2020-07-24 08:34:30 -07:00
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
/* Copyright (c) 2020 FIRST. All Rights Reserved. */
|
|
|
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
|
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
|
|
|
/* the project. */
|
|
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
|
2020-08-06 23:57:39 -07:00
|
|
|
package edu.wpi.first.math;
|
2020-07-24 08:34:30 -07:00
|
|
|
|
2020-08-06 23:57:39 -07:00
|
|
|
public interface MathShared {
|
|
|
|
|
/**
|
|
|
|
|
* Report an error.
|
|
|
|
|
*
|
|
|
|
|
* @param error the error to set
|
|
|
|
|
*/
|
|
|
|
|
void reportError(String error, StackTraceElement[] stackTrace);
|
2020-07-24 08:34:30 -07:00
|
|
|
|
2020-08-06 23:57:39 -07:00
|
|
|
/**
|
|
|
|
|
* Report usage.
|
|
|
|
|
*
|
|
|
|
|
* @param id the usage id
|
|
|
|
|
* @param count the usage count
|
|
|
|
|
*/
|
|
|
|
|
void reportUsage(MathUsageId id, int count);
|
2020-07-24 08:34:30 -07:00
|
|
|
}
|