#include <InputData.h>
Inheritance diagram for gadget::InputData:

Public Methods | |
| InputData () | |
| Constructor. More... | |
| void | setTime () |
| Record the current time using the vpr::Interval. More... | |
| void | setTime (const vpr::Interval &iv) |
| Record the given time. More... | |
| vpr::Interval | getTime () const |
| Return the last marked time using the vpr::Interval. More... | |
Protected Methods | |
| void | copy (const InputData &id) |
Protected Attributes | |
| vpr::Interval | mTimeStamp |
This provides all input data with a standard timestamping system used to calculate input latency.
Definition at line 48 of file InputData.h.
|
|
Constructor.
Definition at line 53 of file InputData.h.
00054 {
00055 ;
00056 }
|
|
|
Record the current time using the vpr::Interval.
Definition at line 59 of file InputData.h.
00060 {
00061 mTimeStamp.setNow();
00062 }
|
|
|
Record the given time.
Definition at line 65 of file InputData.h.
00066 {
00067 mTimeStamp = iv;
00068 }
|
|
|
Return the last marked time using the vpr::Interval.
Definition at line 71 of file InputData.h.
00072 {
00073 return mTimeStamp;
00074 }
|
|
|
Definition at line 78 of file InputData.h.
00079 {
00080 mTimeStamp = id.mTimeStamp;
00081 }
|
|
|
Definition at line 83 of file InputData.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002