Class Button. API for working with general button buttons. More...
#include <ev3cxx_button.h>
Public Member Functions | |
virtual int | isPressed ()=0 |
Get state of touch sensor. More... | |
void | waitForPress () |
Blocks until button is pressed. | |
void | waitForRelease () |
Blocks until button is release. | |
void | waitForClick () |
Blocks until button is clicked (press and release) | |
Class Button. API for working with general button buttons.
Definition at line 19 of file ev3cxx_button.h.
|
pure virtual |
Get state of touch sensor.
Implemented in BrickButton, and TouchSensor.
Referenced by Button::waitForPress(), and Button::waitForRelease().