PWLib
1.10.10
|
#include <delaychan.h>
Public Member Functions | |
PAdaptiveDelay () | |
BOOL | Delay (int time) |
void | Restart () |
Protected Attributes | |
BOOL | firstTime |
PTime | targetTime |
Class for implementing an "adaptive" delay. This class will cause the the caller to, on average, delay the specified number of milliseconds between calls. This can be used to simulate hardware timing for a sofwtare only device
BOOL PAdaptiveDelay::Delay | ( | int | time | ) |
void PAdaptiveDelay::Restart | ( | ) |
BOOL PAdaptiveDelay::firstTime [protected] |
PTime PAdaptiveDelay::targetTime [protected] |