VEX V5 C++ API
|
Use the device class to get information about a vex device plugged into the V5. More...
Inherited by vex::distance, vex::inertial, vex::motor, vex::optical, vex::rotation, vex::triport, and vex::vision.
Public Member Functions | |
device () | |
device (int32_t index) | |
~device () | |
V5_DeviceType | type () |
void | init (int32_t index) |
virtual bool | installed () |
virtual int32_t | value () |
Protected Attributes | |
int32_t | _index |
Use the device class to get information about a vex device plugged into the V5.
vex::device::device | ( | ) |
vex::device::device | ( | int32_t | index | ) |
vex::device::~device | ( | ) |
V5_DeviceType vex::device::type | ( | ) |
void vex::device::init | ( | int32_t | index | ) |
|
virtual |
Reimplemented in vex::triport, vex::vision, vex::motor, vex::inertial, vex::optical, vex::distance, and vex::rotation.
|
virtual |
Reimplemented in vex::vision, vex::motor, vex::inertial, vex::optical, vex::distance, and vex::rotation.
|
protected |