mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Some C++ Doxygen comments were updated to reflect any wording changes. See `rg "(@return|@param \w+) TODO" | less` for list of incomplete docs.
24 lines
599 B
Java
24 lines
599 B
Java
// 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.
|
|
|
|
package edu.wpi.first.math;
|
|
|
|
public interface MathShared {
|
|
/**
|
|
* Report an error.
|
|
*
|
|
* @param error the error to set
|
|
* @param stackTrace array of stacktrace elements
|
|
*/
|
|
void reportError(String error, StackTraceElement[] stackTrace);
|
|
|
|
/**
|
|
* Report usage.
|
|
*
|
|
* @param id the usage id
|
|
* @param count the usage count
|
|
*/
|
|
void reportUsage(MathUsageId id, int count);
|
|
}
|