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

Public Member Functions

 NetworkButton (const std::string &tableName, const std::string &field)
 
 NetworkButton (std::shared_ptr< ITable > table, const std::string &field)
 
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< ITable > subtable) override
 Initializes a table for this sendable object. More...
 
std::shared_ptr< ITableGetTable () const override
 
std::string GetSmartDashboardType () const override
 

Additional Inherited Members

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

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