Package edu.wpi.first.math
Class MathSharedStore
java.lang.Object
edu.wpi.first.math.MathSharedStore
Storage for MathShared object.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MathShared
Get the MathShared object.static double
Get the time.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
-
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
-
getTimestamp
Get the time.- Returns:
- The time in seconds.