Package edu.wpi.first.math
Class MathSharedStore
java.lang.Object
edu.wpi.first.math.MathSharedStore
public final class MathSharedStore extends Object
-
Method Summary
Modifier and Type Method Description static MathShared
getMathShared()
Get the MathShared object.static void
reportError(String error, StackTraceElement[] stackTrace)
Report an error.static void
reportUsage(MathUsageId id, int count)
Report usage.static void
setMathShared(MathShared shared)
Set the MathShared object.
-
Method Details
-
getMathShared
Get the MathShared object.- Returns:
- The MathShared object.
-
setMathShared
Set the MathShared object.- Parameters:
shared
- The MathShared object.
-
reportError
Report an error.- Parameters:
error
- the error to setstackTrace
- array of stacktrace elements
-
reportUsage
Report usage.- Parameters:
id
- the usage idcount
- the usage count
-