2020-12-26 14:12:05 -08:00
|
|
|
// Copyright (c) FIRST and other WPILib contributors.
|
|
|
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
|
|
|
// the WPILib BSD license file in the root directory of this project.
|
2020-07-24 08:34:30 -07:00
|
|
|
|
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
|
|
|
}
|