blob: 205f9c4b8f317ff259c9503aae6e024b45a5f599 [file] [log] [blame]
#ifndef FRC971_WPILIB_JOYSTICK_SENDER_H_
#define FRC971_WPILIB_JOYSTICK_SENDER_H_
#include <atomic>
namespace frc971 {
namespace wpilib {
class JoystickSender {
public:
void operator()();
void Quit() { run_ = false; }
private:
::std::atomic<bool> run_{true};
};
} // namespace wpilib
} // namespace frc971
#endif // FRC971_WPILIB_JOYSTICK_SENDER_H_