|virtual void||WhenPressed (Command *command)|
|virtual void||WhileHeld (Command *command)|
|virtual void||WhenReleased (Command *command)|
|Public Member Functions inherited from Trigger|
|virtual bool||Get ()=0|
|void||WhenActive (Command *command)|
|void||WhileActive (Command *command)|
|void||WhenInactive (Command *command)|
|virtual void||InitTable (ITable *table)|
|virtual ITable *||GetTable ()|
|virtual std::string||GetSmartDashboardType ()|
|Protected Attributes inherited from Trigger|
This class provides an easy way to link commands to OI inputs.
It is very easy to link a button to a command. For instance, you could link the trigger button of a joystick to a "score" command.
This class represents a subclass of Trigger that is specifically aimed at buttons on an operator interface as a common use case of the more generalized Trigger objects. This is a simple wrapper around Trigger with the method names renamed to fit the Button object use.