76 virtual std::vector<wpi::internal::PeriodicPriorityQueue::Callback>
Top-level interface for opmode classes.
Definition OpMode.hpp:32
virtual ~OpMode()=default
The object is destroyed when the opmode is no longer selected on the DS or after an enabled run ends.
virtual void End()
This function is called when the robot disables or switches opmodes while this opmode is enabled.
Definition OpMode.hpp:61
virtual void DisabledPeriodic()
This function is called periodically while the opmode is selected on the DS (robot is disabled).
Definition OpMode.hpp:46
virtual void Periodic()
This function is called periodically while the opmode is enabled.
Definition OpMode.hpp:54
virtual void Start()
Called once when this opmode transitions to enabled.
Definition OpMode.hpp:49
virtual std::vector< wpi::internal::PeriodicPriorityQueue::Callback > GetCallbacks()
Returns a vector of custom periodic callbacks to be executed while the opmode is enabled.
Definition OpMode.hpp:77
Definition CvSource.hpp:15