|
VEX V5 C++ API
|
Use the device class to get information about all of the vex devices plugged into the V5. More...
Public Member Functions | |
| devices () | |
| ~devices () | |
| device & | operator[] (int i) |
| V5_DeviceType | type (int32_t index) |
| Get the V5 device type plugged into a specific port. More... | |
| int32_t | number () |
| Gets the number of VEX devices that are plugged in. More... | |
| int32_t | numberOf (V5_DeviceType type) |
| Gets the number of specified devices that are plugged into the V5. More... | |
Use the device class to get information about all of the vex devices plugged into the V5.
| vex::devices::devices | ( | ) |
| vex::devices::~devices | ( | ) |
|
inline |
| V5_DeviceType vex::devices::type | ( | int32_t | index | ) |
Get the V5 device type plugged into a specific port.
| index | Specifies the index to look at for the device. |
| int32_t vex::devices::number | ( | ) |
Gets the number of VEX devices that are plugged in.
| int32_t vex::devices::numberOf | ( | V5_DeviceType | type | ) |
Gets the number of specified devices that are plugged into the V5.
| type | The type of device to look for on the V5. |
1.8.15