|
PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
|
#include <PTimer.h>
Public Member Functions | |
| PTimer () | |
| The Standard constructor. | |
| virtual | ~PTimer () |
| The Standard destructor. | |
| virtual void | Wait (unsigned long int msecs)=0 |
| virtual void | Sleep (unsigned long int msecs)=0 |
| virtual unsigned long int | GetTime () const =0 |
| virtual void | GetTimeOfDay (unsigned long &secs, unsigned long &msecs)=0 |
| virtual int | GetState (int iface) const =0 |
| virtual PEBL_DEVICE_TYPE | GetDeviceType () |
Public Member Functions inherited from PDevice | |
| PDevice () | |
| The Standard constructor. | |
| virtual | ~PDevice () |
| The Standard destructor. | |
This device is the generic interface for two types of platform functions: Querying the actual time, in msec, since the program started (which will wrap after a while) and waiting a specified period of time. It is an abstract base class, and needs to be inherited and implemented on a specific platform to be of any use.
| PTimer::PTimer | ( | ) |
The Standard constructor.
This is the standard PTimer constructor.
Definition at line 35 of file PTimer.cpp.
|
virtual |
The Standard destructor.
This is the standard pNode destructor.
Definition at line 41 of file PTimer.cpp.
|
inlinevirtual |
|
pure virtual |
Reimplemented from PDevice.
Implemented in PlatformTimer, and PlatformTimer.
|
pure virtual |
Implemented in PlatformTimer, and PlatformTimer.
|
pure virtual |
Implemented in PlatformTimer, and PlatformTimer.
|
pure virtual |
Implemented in PlatformTimer, and PlatformTimer.
|
pure virtual |
Implemented in PlatformTimer, and PlatformTimer.