#include <llwatchdog.h>
Public Member Functions | |
LLWatchdogTimeout () | |
virtual | ~LLWatchdogTimeout () |
bool | isAlive () const |
void | start () |
void | stop () |
void | setTimeout (F32 d) |
void | ping () |
Private Attributes | |
LLTimer | mTimer |
F32 | mTimeout |
Definition at line 55 of file llwatchdog.h.
LLWatchdogTimeout::LLWatchdogTimeout | ( | ) |
Definition at line 90 of file llwatchdog.cpp.
LLWatchdogTimeout::~LLWatchdogTimeout | ( | ) | [virtual] |
Definition at line 95 of file llwatchdog.cpp.
bool LLWatchdogTimeout::isAlive | ( | ) | const [virtual] |
Implements LLWatchdogEntry.
Definition at line 99 of file llwatchdog.cpp.
References LLTimer::getStarted(), LLTimer::hasExpired(), and mTimer.
void LLWatchdogTimeout::start | ( | void | ) | [virtual] |
Reimplemented from LLWatchdogEntry.
Definition at line 109 of file llwatchdog.cpp.
References mTimeout, mTimer, LLTimer::setTimerExpirySec(), LLWatchdogEntry::start(), and LLTimer::start().
Referenced by LLAppViewer::startMainloopTimeout().
void LLWatchdogTimeout::stop | ( | ) | [virtual] |
Reimplemented from LLWatchdogEntry.
Definition at line 118 of file llwatchdog.cpp.
References mTimer, LLTimer::stop(), and LLWatchdogEntry::stop().
Referenced by LLAppViewer::mainLoop(), and LLAppViewer::stopMainloopTimeout().
void LLWatchdogTimeout::setTimeout | ( | F32 | d | ) |
Definition at line 104 of file llwatchdog.cpp.
References mTimeout.
Referenced by LLAppViewer::mainLoop(), and LLAppViewer::startMainloopTimeout().
void LLWatchdogTimeout::ping | ( | ) |
Definition at line 124 of file llwatchdog.cpp.
References mTimeout, mTimer, and LLTimer::setTimerExpirySec().
Referenced by LLAppViewer::mainLoop().
LLTimer LLWatchdogTimeout::mTimer [private] |
F32 LLWatchdogTimeout::mTimeout [private] |