Page Speed Optimization Libraries  1.3.25.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net_instaweb::CountdownTimer Class Reference

#include "countdown_timer.h"

List of all members.

Public Member Functions

 CountdownTimer (Timer *timer, void *user_data, int64 allowed_time_ms)
void Reset (int64 allowed_time_ms)
bool HaveTimeLeft () const
void * user_data () const

Detailed Description

Once initialized with a non-negative interval 'allowed_time_ms' via the ctor or Reset(), repeated calls to HaveTimeLeft() will return true only until the interval has elapsed. If the interval is negative number, HaveTimeLeft() always returns true.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines