45 std::atomic_bool m_keepAlive{
false};
49 std::atomic<int64_t> m_userControlWord;
A wrapper around Driver Station control word.
Definition DriverStationTypes.hpp:29
HAL_ControlWord GetValue() const
Get the HAL raw value.
Definition DriverStationTypes.hpp:198
DriverStationModeThread(const DriverStationModeThread &other)=delete
DriverStationModeThread(DriverStationModeThread &&other)=delete
DriverStationModeThread(wpi::hal::ControlWord word)
For internal use only.
DriverStationModeThread & operator=(const DriverStationModeThread &other)=delete
void InControl(wpi::hal::ControlWord word)
Only to be used to tell the Driver Station what code you claim to be executing for diagnostic purpose...
Definition DriverStationModeThread.hpp:40
DriverStationModeThread & operator=(DriverStationModeThread &&other)=delete
~DriverStationModeThread()
An atomic signaling event for synchronization.
Definition Synchronization.hpp:231
Definition DriverStationModeThread.hpp:13
int64_t value
Definition DriverStationTypes.h:27