CoreRegistrant

object CoreRegistrant : OpModeManagerNotifier.Notifications

This object is responsible for registering and running the core systems required for all opmodes.

Its method register adds this object as a listener which then gets called when certain opmode actions occur, as specified in OpModeManagerNotifier. So far, this object facilitates:

  • Resetting all Resettable variables at the start of an opmode.

  • Setting up Logging, and closing it after an opmode finishes.

  • Checking Dependencies when an opmode is started.

Functions

Link copied to clipboard
open override fun onOpModePostStop(opMode: OpMode)
Link copied to clipboard
open override fun onOpModePreInit(opMode: OpMode)
Link copied to clipboard
open override fun onOpModePreStart(opMode: OpMode)
Link copied to clipboard
@OnCreateEventLoop
fun register(context: Context, ftcEventLoop: FtcEventLoop)