WPILibC++  unspecified
frc::InternalButton Class Reference
Inheritance diagram for frc::InternalButton:
Collaboration diagram for frc::InternalButton:

Public Member Functions

 InternalButton (bool inverted)
 
void SetInverted (bool inverted)
 
void SetPressed (bool pressed)
 
virtual bool Get ()
 
- Public Member Functions inherited from frc::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. More...
 
virtual void WhenReleased (Command *command)
 Specifies the command to run when the button is released. 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 frc::Trigger
bool Grab ()
 
void WhenActive (Command *command)
 
void WhileActive (Command *command)
 
void WhenInactive (Command *command)
 
void CancelWhenActive (Command *command)
 
void ToggleWhenActive (Command *command)
 
void InitTable (std::shared_ptr< nt::NetworkTable > subtable) override
 Initializes a table for this sendable object. More...
 
std::string GetSmartDashboardType () const override
 

Additional Inherited Members

- Protected Attributes inherited from frc::Trigger
nt::NetworkTableEntry m_pressedEntry
 

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