13 #include "SmartDashboard/Sendable.h"
39 virtual bool Get() = 0;
40 void WhenActive(
Command* command);
41 void WhileActive(
Command* command);
42 void WhenInactive(
Command* command);
43 void CancelWhenActive(
Command* command);
44 void ToggleWhenActive(
Command* command);
46 void InitTable(std::shared_ptr<ITable> subtable)
override;
47 std::shared_ptr<ITable>
GetTable()
const override;
51 std::shared_ptr<ITable> m_table;
void InitTable(std::shared_ptr< ITable > subtable) override
Initializes a table for this sendable object.
Definition: Trigger.cpp:54
std::string GetSmartDashboardType() const override
Definition: Trigger.cpp:52
Definition: Sendable.h:17
The Command class is at the very core of the entire command framework.
Definition: Command.h:52
This class provides an easy way to link commands to inputs.
Definition: Trigger.h:34
std::shared_ptr< ITable > GetTable() const override
Definition: Trigger.cpp:61