The RapidCode Operating System base class. More...
Operating System | |
|
| |
| void | Sleep (long milliseconds) |
| Put the current thread to sleep. | |
| long | TimerCountGet () |
| long | TimerFrequencyGet () |
| long | PerformanceTimerCountGet () |
| long | PerformanceTimerFrequencyGet () |
| long | KeyGet (long milliseconds) |
| Wait for a key to be pressed and return its value. | |
| long | PIDGet () |
RapidCodeOS is primarily responsible for handling timer/sleep functionality. The most common example uses of which are:
// Hold Execution in a while loop until a key is pressed. /// while (controller->OS->KeyGet(RSIWaitPOLL) < 0)
-and-
// Hold Execution until a certain amount of time has passed. /// controller->OS->Sleep(timeInMilliseconds);
For more detailed information on RapidCodeOS, please contact RSI at tech@roboticsys.com for assistance.