LLHeartbeat Class Reference

#include <llheartbeat.h>

Collaboration diagram for LLHeartbeat:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLHeartbeat (F32 secs_between_heartbeat=5.0f, F32 aggressive_heartbeat_panic_secs=10.0f, F32 aggressive_heartbeat_max_blocking_secs=4.0f)
 ~LLHeartbeat ()
bool send (F32 timeout_sec=0.0f)
void setSuppressed (bool is_suppressed)

Private Member Functions

int rawSend ()
int rawSendWithTimeout (F32 timeout_sec)

Private Attributes

F32 mSecsBetweenHeartbeat
F32 mAggressiveHeartbeatPanicSecs
F32 mAggressiveHeartbeatMaxBlockingSecs
bool mSuppressed
LLTimer mBeatTimer
LLTimer mPanicTimer
LLTimer mTimeoutTimer


Detailed Description

Definition at line 42 of file llheartbeat.h.


Constructor & Destructor Documentation

LLHeartbeat::LLHeartbeat ( F32  secs_between_heartbeat = 5.0f,
F32  aggressive_heartbeat_panic_secs = 10.0f,
F32  aggressive_heartbeat_max_blocking_secs = 4.0f 
)

Definition at line 40 of file llheartbeat.cpp.

References mAggressiveHeartbeatPanicSecs, mBeatTimer, mPanicTimer, mSecsBetweenHeartbeat, LLTimer::reset(), and LLTimer::setTimerExpirySec().

Here is the call graph for this function:

LLHeartbeat::~LLHeartbeat (  ) 

Definition at line 54 of file llheartbeat.cpp.


Member Function Documentation

bool LLHeartbeat::send ( F32  timeout_sec = 0.0f  ) 

void LLHeartbeat::setSuppressed ( bool  is_suppressed  ) 

Definition at line 60 of file llheartbeat.cpp.

References mSuppressed.

int LLHeartbeat::rawSend (  )  [private]

Definition at line 67 of file llheartbeat.cpp.

References LL_HEARTBEAT_SIGNAL, and mSuppressed.

Referenced by rawSendWithTimeout(), and send().

Here is the caller graph for this function:

int LLHeartbeat::rawSendWithTimeout ( F32  timeout_sec  )  [private]

Definition at line 89 of file llheartbeat.cpp.

References LLTimer::hasExpired(), mTimeoutTimer, rawSend(), LLTimer::reset(), and LLTimer::setTimerExpirySec().

Referenced by send().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 64 of file llheartbeat.h.

Referenced by LLHeartbeat(), and send().

Definition at line 65 of file llheartbeat.h.

Referenced by LLHeartbeat(), and send().

Definition at line 66 of file llheartbeat.h.

Referenced by send().

bool LLHeartbeat::mSuppressed [private]

Definition at line 67 of file llheartbeat.h.

Referenced by rawSend(), and setSuppressed().

Definition at line 68 of file llheartbeat.h.

Referenced by LLHeartbeat(), and send().

Definition at line 69 of file llheartbeat.h.

Referenced by LLHeartbeat(), and send().

Definition at line 70 of file llheartbeat.h.

Referenced by rawSendWithTimeout().


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

Generated on Fri May 16 08:48:48 2008 for SecondLife by  doxygen 1.5.5