WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
InternalButton Class Reference
Inheritance diagram for InternalButton:
Button Trigger Sendable

Public Member Functions

 InternalButton (bool inverted)
 
void SetInverted (bool inverted)
 
void SetPressed (bool pressed)
 
virtual bool Get ()
 
- Public Member Functions inherited from Button
virtual void WhenPressed (Command *command)
 Specifies the command to run when a button is first pressed. More...
 
virtual void WhileHeld (Command *command)
 Specifies the command to be scheduled while the button is pressed The command will be scheduled repeatedly while the button is pressed and will be canceled when the button is released. More...
 
virtual void WhenReleased (Command *command)
 Specifies the command to run when the button is released The command will be scheduled a single time. More...
 
virtual void CancelWhenPressed (Command *command)
 Cancels the specificed command when the button is pressed. More...
 
virtual void ToggleWhenPressed (Command *command)
 Toggle the specified command when the button is pressed. More...
 
- Public Member Functions inherited from Trigger
bool Grab ()
 
void WhenActive (Command *command)
 
void WhileActive (Command *command)
 
void WhenInactive (Command *command)
 
void CancelWhenActive (Command *command)
 
void ToggleWhenActive (Command *command)
 
virtual void InitTable (std::shared_ptr< ITable > table)
 Initializes a table for this sendable object. More...
 
virtual std::shared_ptr< ITableGetTable () const
 
virtual std::string GetSmartDashboardType () const
 

Additional Inherited Members

- Protected Attributes inherited from Trigger
std::shared_ptr< ITablem_table
 

The documentation for this class was generated from the following files: