VEXcode Doxygen
Public Member Functions | Protected Attributes | List of all members
vex::device Class Reference

Use the device class to get information about a vex device plugged into the V5. More...

#include <vex_device.h>

Inheritance diagram for vex::device:
vex::distance vex::electromagnet vex::inertial vex::motor vex::optical vex::rotation vex::triport vex::vexlink vex::vision

Public Member Functions

 device (int32_t index)
 
V5_DeviceType type ()
 
int32_t index ()
 
void init (int32_t index)
 
virtual bool installed ()
 
virtual int32_t value ()
 
uint32_t timestamp ()
 

Protected Attributes

int32_t _index
 
int32_t _threadID
 

Detailed Description

Use the device class to get information about a vex device plugged into the V5.


The documentation for this class was generated from the following file: