RapidCodeOS Class Reference

The RapidCode Operating System base class. More...

List of all members.

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 ()

Detailed Description

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.


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