VEX IQ C++ API
Functions | Classes | Namespaces
vexiq_thread.h File Reference

Header for thread control class used in C++ only. More...

Functions

void vex::wait (float time, timeUnits units=timeUnits::sec)
 Wait for a specific amount of time. Identical to sleep() More...
 
void vex::sleep (float duration, timeUnits units=timeUnits::sec)
 Wait for a specific amount of time. Identical to wait() More...
 
void vex::sleepMs (uint32_t duration)
 Wait for a specific amount of time (in milliseconds) More...
 
float vex::clock ()
 System time, in seconds. More...
 
uint32_t vex::clockMs ()
 System time, in milliseconds. More...
 
int32_t vex::this_thread::get_id ()
 Gets the ID of the thread. More...
 
void vex::this_thread::yield ()
 Suspends the current thread. More...
 
void vex::this_thread::sleep_for (uint32_t time_ms)
 sleep_for More...
 
void vex::this_thread::sleep_until (uint32_t time)
 sleep_until More...
 

Classes

class  vex::thread
 Use this class to create and control threads. More...
 

Namespaces

 vex
 Touch led device class.
 
 vex::this_thread
 

Detailed Description

Header for thread control class used in C++ only.