13#include "wpi/units/time.hpp"
46 void End(
bool interrupted)
override;
49 std::function<void()> m_toRun;
51 wpi::units::second_t m_period;
Notifiers run a user-provided callback function on a separate thread.
Definition Notifier.hpp:30
NotifierCommand(NotifierCommand &&other)
void Initialize() override
void End(bool interrupted) override
NotifierCommand(std::function< void()> toRun, wpi::units::second_t period, Requirements requirements={})
Creates a new NotifierCommand.
NotifierCommand(const NotifierCommand &other)
Represents requirements for a command, which is a set of (pointers to) subsystems.
Definition Requirements.hpp:20
Definition CommandNiDsStadiaController.hpp:15