Public Member Functions | Private Attributes
Button Class Reference

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

List of all members.

Public Member Functions

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

Private Attributes

bool bReleased
int iPressed

Detailed Description

Class to save the state of the buttons.

Definition at line 73 of file rbcar_pad.cpp.


Constructor & Destructor Documentation

Button::Button ( ) [inline]

Definition at line 79 of file rbcar_pad.cpp.


Member Function Documentation

int Button::IsPressed ( ) [inline]

Definition at line 95 of file rbcar_pad.cpp.

bool Button::IsReleased ( ) [inline]

Definition at line 99 of file rbcar_pad.cpp.

void Button::Press ( int  value) [inline]

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

Definition at line 84 of file rbcar_pad.cpp.


Member Data Documentation

bool Button::bReleased [private]

Definition at line 75 of file rbcar_pad.cpp.

int Button::iPressed [private]

Definition at line 74 of file rbcar_pad.cpp.


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


rbcar_pad
Author(s): Román Navarro
autogenerated on Thu Jun 6 2019 21:37:47