A manually advanced clock. More...
|Construct a manual clock. |
|unsigned long||elapsed () const|
|Return number of milliseconds elapsed since start. |
|Restart the clock. |
|void||advance (unsigned long amount)|
|Advance the clock by the given amount of milliseconds. |
A manually advanced clock.
Construct a manual clock.
|void gnash::ManualClock::advance||(||unsigned long||amount||)||
Advance the clock by the given amount of milliseconds.
Referenced by gnash::MovieTester::advanceClock().
|unsigned long gnash::ManualClock::elapsed||(||)|| const
Return number of milliseconds elapsed since start.
Subclass this to provide time to the core lib. NOTE: 32bit unsigned int has an upper limit of 4294967295 which means about 49 days before overlflow.
Restart the clock.