Inherited by Eaagles::DeviceIO::BGDevice, Eaagles::DeviceIO::JoystickDevice, Eaagles::DeviceIO::JoystickDevice, and Eaagles::DeviceIO::KeithleyDevice.
Inheritance diagram for Eaagles::DeviceIO::ThreadedDevice:


Public Member Functions | |
| ThreadedDevice (void) | |
| bool | runAsync (int f) |
| void | stopAsync (void) |
| bool | IsAsync (void) |
Private Member Functions | |
| void | setTimeCritical (void) |
| double | getSystemTime (void) |
| void | mySleep (int sleepTime) |
| void | receiveThread (void) |
Static Private Member Functions | |
| static void * | threadStarter (void *) |
Private Attributes | |
| int | freq |
| bool | threading |
| Eaagles::DeviceIO::ThreadedDevice::ThreadedDevice | ( | void | ) |
constructor
| bool Eaagles::DeviceIO::ThreadedDevice::runAsync | ( | int | f | ) |
starts up a thread for automatic device query (Load the data file) the result is "hands free" async button and axe event generation
| void Eaagles::DeviceIO::ThreadedDevice::stopAsync | ( | void | ) |
stop receiving thread
| bool Eaagles::DeviceIO::ThreadedDevice::IsAsync | ( | void | ) | [inline] |
return status of threading
| void * Eaagles::DeviceIO::ThreadedDevice::threadStarter | ( | void * | ) | [static, private] |
threading function
| void Eaagles::DeviceIO::ThreadedDevice::setTimeCritical | ( | void | ) | [private] |
make thread time critical - high priority
| double Eaagles::DeviceIO::ThreadedDevice::getSystemTime | ( | void | ) | [private] |
return the system time in seconds
| void Eaagles::DeviceIO::ThreadedDevice::mySleep | ( | int | sleepTime | ) | [private] |
sleep for a number of microseconds
| void Eaagles::DeviceIO::ThreadedDevice::receiveThread | ( | void | ) | [private] |
receive thread
int Eaagles::DeviceIO::ThreadedDevice::freq [private] |
set the desired frequency
bool Eaagles::DeviceIO::ThreadedDevice::threading [private] |
set the status of threading
1.5.0