webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WebCore::SuspendableTimer Class Referenceabstract

#include <SuspendableTimer.h>

Inheritance diagram for WebCore::SuspendableTimer:
WebCore::TimerBase WebCore::ActiveDOMObject WebCore::TimerBase WebCore::ActiveDOMObject WebCore::ContextDestructionObserver WebCore::ContextDestructionObserver WebCore::ContextDestructionObserver WebCore::ContextDestructionObserver WebCore::DocumentEventQueue::Timer WebCore::DOMTimer WebCore::DOMTimer WindowCloseTimer

Public Member Functions

 SuspendableTimer (ScriptExecutionContext &)
 
virtual ~SuspendableTimer ()
 
virtual void didStop ()
 
bool isActive () const
 
bool isSuspended () const
 
void startRepeating (double repeatInterval)
 
void startOneShot (double interval)
 
double repeatInterval () const
 
void augmentFireInterval (double delta)
 
void augmentRepeatInterval (double delta)
 
void startRepeating (std::chrono::milliseconds repeatInterval)
 
void startOneShot (std::chrono::milliseconds interval)
 
std::chrono::milliseconds repeatIntervalMS () const
 
void augmentFireInterval (std::chrono::milliseconds delta)
 
void augmentRepeatInterval (std::chrono::milliseconds delta)
 
void cancel ()
 
 SuspendableTimer (ScriptExecutionContext &)
 
virtual ~SuspendableTimer ()
 
virtual void didStop ()
 
bool isActive () const
 
bool isSuspended () const
 
void startRepeating (double repeatInterval)
 
void startOneShot (double interval)
 
double repeatInterval () const
 
void augmentFireInterval (double delta)
 
void augmentRepeatInterval (double delta)
 
void startRepeating (std::chrono::milliseconds repeatInterval)
 
void startOneShot (std::chrono::milliseconds interval)
 
std::chrono::milliseconds repeatIntervalMS () const
 
void augmentFireInterval (std::chrono::milliseconds delta)
 
void augmentRepeatInterval (std::chrono::milliseconds delta)
 
void cancel ()
 
- Public Member Functions inherited from WebCore::ActiveDOMObject
void suspendIfNeeded ()
 
void assertSuspendIfNeededWasCalled () const
 
virtual const char * activeDOMObjectName () const =0
 
template<class T >
void setPendingActivity (T *thisObject)
 
template<class T >
void unsetPendingActivity (T *thisObject)
 
void suspendIfNeeded ()
 
void assertSuspendIfNeededWasCalled () const
 
virtual const char * activeDOMObjectName () const =0
 
template<class T >
void setPendingActivity (T *thisObject)
 
template<class T >
void unsetPendingActivity (T *thisObject)
 
- Public Member Functions inherited from WebCore::ContextDestructionObserver
WEBCORE_EXPORT ContextDestructionObserver (ScriptExecutionContext *)
 
virtual WEBCORE_EXPORT void contextDestroyed ()
 
ScriptExecutionContextscriptExecutionContext () const
 
WEBCORE_EXPORT ContextDestructionObserver (ScriptExecutionContext *)
 
virtual WEBCORE_EXPORT void contextDestroyed ()
 
ScriptExecutionContextscriptExecutionContext () const
 

Additional Inherited Members

- Public Types inherited from WebCore::ActiveDOMObject
enum  ReasonForSuspension {
  JavaScriptDebuggerPaused, WillDeferLoading, PageCache, PageWillBeSuspended,
  JavaScriptDebuggerPaused, WillDeferLoading, PageCache, PageWillBeSuspended
}
 
enum  ReasonForSuspension {
  JavaScriptDebuggerPaused, WillDeferLoading, PageCache, PageWillBeSuspended,
  JavaScriptDebuggerPaused, WillDeferLoading, PageCache, PageWillBeSuspended
}
 
- Protected Member Functions inherited from WebCore::ActiveDOMObject
 ActiveDOMObject (ScriptExecutionContext *)
 
virtual ~ActiveDOMObject ()
 
 ActiveDOMObject (ScriptExecutionContext *)
 
virtual ~ActiveDOMObject ()
 
- Protected Member Functions inherited from WebCore::ContextDestructionObserver
virtual WEBCORE_EXPORT ~ContextDestructionObserver ()
 
void observeContext (ScriptExecutionContext *)
 
virtual WEBCORE_EXPORT ~ContextDestructionObserver ()
 
void observeContext (ScriptExecutionContext *)
 
- Protected Attributes inherited from WebCore::ContextDestructionObserver
ScriptExecutionContextm_scriptExecutionContext
 

Constructor & Destructor Documentation

◆ SuspendableTimer() [1/2]

WebCore::SuspendableTimer::SuspendableTimer ( ScriptExecutionContext context)
explicit

◆ ~SuspendableTimer() [1/2]

WebCore::SuspendableTimer::~SuspendableTimer ( )
virtual

◆ SuspendableTimer() [2/2]

WebCore::SuspendableTimer::SuspendableTimer ( ScriptExecutionContext )
explicit

◆ ~SuspendableTimer() [2/2]

virtual WebCore::SuspendableTimer::~SuspendableTimer ( )
virtual

Member Function Documentation

◆ augmentFireInterval() [1/4]

void WebCore::SuspendableTimer::augmentFireInterval ( double  delta)

◆ augmentFireInterval() [2/4]

void WebCore::SuspendableTimer::augmentFireInterval ( double  delta)

◆ augmentFireInterval() [3/4]

void WebCore::SuspendableTimer::augmentFireInterval ( std::chrono::milliseconds  delta)
inline

◆ augmentFireInterval() [4/4]

void WebCore::SuspendableTimer::augmentFireInterval ( std::chrono::milliseconds  delta)
inline

◆ augmentRepeatInterval() [1/4]

void WebCore::SuspendableTimer::augmentRepeatInterval ( double  delta)

◆ augmentRepeatInterval() [2/4]

void WebCore::SuspendableTimer::augmentRepeatInterval ( double  delta)

◆ augmentRepeatInterval() [3/4]

void WebCore::SuspendableTimer::augmentRepeatInterval ( std::chrono::milliseconds  delta)
inline

◆ augmentRepeatInterval() [4/4]

void WebCore::SuspendableTimer::augmentRepeatInterval ( std::chrono::milliseconds  delta)
inline

◆ cancel() [1/2]

void WebCore::SuspendableTimer::cancel ( )

◆ cancel() [2/2]

void WebCore::SuspendableTimer::cancel ( )

◆ didStop() [1/2]

void WebCore::SuspendableTimer::didStop ( )
virtual

◆ didStop() [2/2]

virtual void WebCore::SuspendableTimer::didStop ( )
virtual

◆ isActive() [1/2]

bool WebCore::SuspendableTimer::isActive ( ) const
inline

◆ isActive() [2/2]

bool WebCore::SuspendableTimer::isActive ( ) const
inline

◆ isSuspended() [1/2]

bool WebCore::SuspendableTimer::isSuspended ( ) const
inline

◆ isSuspended() [2/2]

bool WebCore::SuspendableTimer::isSuspended ( ) const
inline

◆ repeatInterval() [1/2]

double WebCore::SuspendableTimer::repeatInterval ( ) const

◆ repeatInterval() [2/2]

double WebCore::SuspendableTimer::repeatInterval ( ) const

◆ repeatIntervalMS() [1/2]

std::chrono::milliseconds WebCore::SuspendableTimer::repeatIntervalMS ( ) const
inline

◆ repeatIntervalMS() [2/2]

std::chrono::milliseconds WebCore::SuspendableTimer::repeatIntervalMS ( ) const
inline

◆ startOneShot() [1/4]

void WebCore::SuspendableTimer::startOneShot ( double  interval)

◆ startOneShot() [2/4]

void WebCore::SuspendableTimer::startOneShot ( double  interval)

◆ startOneShot() [3/4]

void WebCore::SuspendableTimer::startOneShot ( std::chrono::milliseconds  interval)
inline

◆ startOneShot() [4/4]

void WebCore::SuspendableTimer::startOneShot ( std::chrono::milliseconds  interval)
inline

◆ startRepeating() [1/4]

void WebCore::SuspendableTimer::startRepeating ( double  repeatInterval)

◆ startRepeating() [2/4]

void WebCore::SuspendableTimer::startRepeating ( double  repeatInterval)

◆ startRepeating() [3/4]

void WebCore::SuspendableTimer::startRepeating ( std::chrono::milliseconds  repeatInterval)
inline

◆ startRepeating() [4/4]

void WebCore::SuspendableTimer::startRepeating ( std::chrono::milliseconds  repeatInterval)
inline

The documentation for this class was generated from the following files: