12 #include "SmartDashboard/SendableBase.h" 36 virtual bool Get() = 0;
37 void WhenActive(
Command* command);
38 void WhileActive(
Command* command);
39 void WhenInactive(
Command* command);
40 void CancelWhenActive(
Command* command);
41 void ToggleWhenActive(
Command* command);
46 std::atomic_bool m_sendablePressed{
false};
Definition: Utility.cpp:119
void InitSendable(SendableBuilder &builder) override
Initializes this Sendable object.
Definition: Trigger.cpp:45
Definition: SendableBase.h:19
Definition: SendableBuilder.h:23
The Command class is at the very core of the entire command framework.
Definition: Command.h:48
This class provides an easy way to link commands to inputs.
Definition: Trigger.h:31