Class Sensor. API for working with sensor. More...
#include <ev3cxx_sensor.h>
Protected Member Functions | |
| Sensor (SensorPort port, sensor_type_t type) | |
| Constructor of class Sensor. More... | |
| virtual | ~Sensor () |
| Destructor of class Sensor. | |
| sensor_port_t | getPort () |
| Get sensor port set in constructor. More... | |
| sensor_type_t | getType () |
| Get actual sensor type. More... | |
Protected Attributes | |
| sensor_port_t | m_port |
| sensor_type_t | m_type |
Class Sensor. API for working with sensor.
Definition at line 30 of file ev3cxx_sensor.h.
|
inlineprotected |
Constructor of class Sensor.
| port | Port index (1-4). |
Definition at line 38 of file ev3cxx_sensor.h.
|
inlineprotected |
Get sensor port set in constructor.
Definition at line 55 of file ev3cxx_sensor.h.
|
inlineprotected |
Get actual sensor type.
Definition at line 64 of file ev3cxx_sensor.h.