11 #include "SmartDashboard/Sendable.h"
38 virtual bool Get() = 0;
39 void WhenActive(
Command *command);
40 void WhileActive(
Command *command);
41 void WhenInactive(
Command *command);
42 void CancelWhenActive(
Command *command);
43 void ToggleWhenActive(
Command *command);
45 virtual void InitTable(std::shared_ptr<ITable> table);
46 virtual std::shared_ptr<ITable>
GetTable()
const;
50 std::shared_ptr<ITable> m_table;
Definition: Sendable.h:15
virtual std::shared_ptr< ITable > GetTable() const
Definition: Trigger.cpp:62
virtual std::string GetSmartDashboardType() const
Definition: Trigger.cpp:53
The Command class is at the very core of the entire command framework.
Definition: Command.h:54
This class provides an easy way to link commands to inputs.
Definition: Trigger.h:33
virtual void InitTable(std::shared_ptr< ITable > table)
Initializes a table for this sendable object.
Definition: Trigger.cpp:55