mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[docs] Fix wpilibj JavaDoc warnings (#6154)
This commit is contained in:
@@ -8,9 +8,16 @@
|
||||
#include <thread>
|
||||
|
||||
namespace frc::internal {
|
||||
/**
|
||||
* For internal use only.
|
||||
*/
|
||||
class DriverStationModeThread {
|
||||
public:
|
||||
/**
|
||||
* For internal use only.
|
||||
*/
|
||||
DriverStationModeThread();
|
||||
|
||||
~DriverStationModeThread();
|
||||
|
||||
DriverStationModeThread(const DriverStationModeThread& other) = delete;
|
||||
@@ -19,9 +26,39 @@ class DriverStationModeThread {
|
||||
delete;
|
||||
DriverStationModeThread& operator=(DriverStationModeThread&& other) = delete;
|
||||
|
||||
void InAutonomous(bool entering);
|
||||
/**
|
||||
* Only to be used to tell the Driver Station what code you claim to be
|
||||
* executing for diagnostic purposes only.
|
||||
*
|
||||
* @param entering If true, starting disabled code; if false, leaving disabled
|
||||
* code
|
||||
*/
|
||||
void InDisabled(bool entering);
|
||||
|
||||
/**
|
||||
* Only to be used to tell the Driver Station what code you claim to be
|
||||
* executing for diagnostic purposes only.
|
||||
*
|
||||
* @param entering If true, starting autonomous code; if false, leaving
|
||||
* autonomous code
|
||||
*/
|
||||
void InAutonomous(bool entering);
|
||||
|
||||
/**
|
||||
* Only to be used to tell the Driver Station what code you claim to be
|
||||
* executing for diagnostic purposes only.
|
||||
*
|
||||
* @param entering If true, starting teleop code; if false, leaving teleop
|
||||
* code
|
||||
*/
|
||||
void InTeleop(bool entering);
|
||||
|
||||
/**
|
||||
* Only to be used to tell the Driver Station what code you claim to be
|
||||
* executing for diagnostic purposes only.
|
||||
*
|
||||
* @param entering If true, starting test code; if false, leaving test code
|
||||
*/
|
||||
void InTest(bool entering);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user