Public Member Functions | Private Attributes | List of all members
Button Class Reference

Class to save the state of the buttons. More...

Public Member Functions

 Button ()
 
int IsPressed ()
 
bool IsReleased ()
 
void Press (int value)
 Set the button as 'pressed'/'released'. More...
 

Private Attributes

bool bReleased
 
int iPressed
 

Detailed Description

Class to save the state of the buttons.

Definition at line 75 of file agvs_pad_node.cpp.

Constructor & Destructor Documentation

Button::Button ( )
inline

Definition at line 81 of file agvs_pad_node.cpp.

Member Function Documentation

int Button::IsPressed ( )
inline

Definition at line 97 of file agvs_pad_node.cpp.

bool Button::IsReleased ( )
inline

Definition at line 101 of file agvs_pad_node.cpp.

void Button::Press ( int  value)
inline

Set the button as 'pressed'/'released'.

Definition at line 86 of file agvs_pad_node.cpp.

Member Data Documentation

bool Button::bReleased
private

Definition at line 77 of file agvs_pad_node.cpp.

int Button::iPressed
private

Definition at line 76 of file agvs_pad_node.cpp.


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


agvs_pad
Author(s): Román Navarro
autogenerated on Mon Jun 10 2019 12:41:14