Class BrickButton. API for working with brick buttons. More...
#include <ev3cxx_brick_button.h>
Public Member Functions | |
BrickButton (BrickButtons button) | |
Constructor of class BrickButton. More... | |
int | isPressed () |
Get state of brick button. More... | |
Public Member Functions inherited from Button | |
void | waitForPress () |
Blocks until button is pressed. | |
void | waitForRelease () |
Blocks until button is release. | |
void | waitForClick () |
Blocks until button is clicked (press and release) | |
Private Attributes | |
const BrickButtons | m_button |
Class BrickButton. API for working with brick buttons.
Definition at line 33 of file ev3cxx_brick_button.h.
|
inline |
Constructor of class BrickButton.
button | Button identificator. |
Definition at line 41 of file ev3cxx_brick_button.h.
|
inlinevirtual |
Get state of brick button.
Implements Button.
Definition at line 50 of file ev3cxx_brick_button.h.