toggle menu
BunyipsLib
v6.0.0-master-33a554fa
BunyipsLib
switch theme
search in API
BunyipsLib
/
au.edu.sa.mbhs.studentrobotics.bunyipslib.util
/
Storage
Storage
class
Storage
Global filesystem and volatile storage utilities for robot operation.
Author
Lucas Bubner, 2024
Since
3.2.0
Members
Types
Filesystem
Link copied to clipboard
open
class
Filesystem
:
Closeable
Represents persistent, file-saved storage for the robot.
Memory
Link copied to clipboard
open
class
Memory
Represents in-memory storage for the robot.
Functions
filesystem
Link copied to clipboard
@
NonNull
open
fun
filesystem
(
)
:
Storage.Filesystem
Get the global persistent (saved after restart) filesystem storage for the robot.
memory
Link copied to clipboard
@
NonNull
open
fun
memory
(
)
:
Storage.Memory
Get the global volatile (cleared after restart) memory storage for the robot.
reset
All
Static
Fields
For
Op
Mode
Link copied to clipboard
open
fun
resetAllStaticFieldsForOpMode
(
)
Global method to clear all static state for an OpMode.