![]() |
VEXcode IQ C++ Unofficial documentation for version 3.0.4.1
|
Use the device class to get information about all of the vex devices plugged into the IQ. More...
#include <vex_device.h>
Public Member Functions | |
IQ_DeviceType | type (int32_t index) |
Get the V5 device type plugged into a specific port. | |
int32_t | number () |
Gets the number of VEX devices that are plugged in. | |
int32_t | numberOf (IQ_DeviceType type) |
Gets the number of specified devices that are plugged into the V5. | |
Use the device class to get information about all of the vex devices plugged into the IQ.
Definition at line 93 of file vex_device.h.
int32_t vex::devices::number | ( | ) |
Gets the number of VEX devices that are plugged in.
int32_t vex::devices::numberOf | ( | IQ_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. |
IQ_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. |