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'. | |
Private Attributes | |
bool | bReleased |
int | iPressed |
Class to save the state of the buttons.
Definition at line 77 of file agvs_pad_node.cpp.
Button::Button | ( | ) | [inline] |
Definition at line 83 of file agvs_pad_node.cpp.
int Button::IsPressed | ( | ) | [inline] |
Definition at line 99 of file agvs_pad_node.cpp.
bool Button::IsReleased | ( | ) | [inline] |
Definition at line 103 of file agvs_pad_node.cpp.
void Button::Press | ( | int | value | ) | [inline] |
Set the button as 'pressed'/'released'.
Definition at line 88 of file agvs_pad_node.cpp.
bool Button::bReleased [private] |
Definition at line 79 of file agvs_pad_node.cpp.
int Button::iPressed [private] |
Definition at line 78 of file agvs_pad_node.cpp.