Top-level interface for opmode classes.
Definition OpMode.hpp:16
virtual ~OpMode()=default
The object is destroyed when the opmode is no longer selected on the DS or after OpModeRun() returns.
virtual void OpModeStop()=0
This function is called asynchronously when the robot is disabled, to request the opmode return from ...
virtual void DisabledPeriodic()
This function is called periodically while the opmode is selected on the DS (robot is disabled).
Definition OpMode.hpp:29
virtual void OpModeRun(int64_t opModeId)=0
This function is called when the opmode starts (robot is enabled).
Definition CvSource.hpp:15