LLTrackingData Class Reference

Collaboration diagram for LLTrackingData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLTrackingData (const LLUUID &avatar_id, const std::string &name)
bool haveTrackingInfo ()
void setTrackedCoarseLocation (const LLVector3d &global_pos)
void agentFound (const LLUUID &prey, const LLVector3d &estimated_global_pos)

Public Attributes

LLUUID mAvatarID
LLString mName
LLVector3d mGlobalPositionEstimate
bool mHaveInfo
bool mHaveCoarseInfo
LLTimer mCoarseLocationTimer
LLTimer mUpdateTimer
LLTimer mAgentGone

Detailed Description

---------------------------------------------------------------------------- Local function declarations, constants, enums, and typedefs ----------------------------------------------------------------------------

Definition at line 68 of file llcallingcard.cpp.


Constructor & Destructor Documentation

LLTrackingData::LLTrackingData ( const LLUUID avatar_id,
const std::string &  name 
)

---------------------------------------------------------------------------- Tracking Data ----------------------------------------------------------------------------

Definition at line 722 of file llcallingcard.cpp.

References COARSE_FREQUENCY, FIND_FREQUENCY, mAgentGone, mCoarseLocationTimer, mName, mUpdateTimer, OFFLINE_SECONDS, and LLTimer::setTimerExpirySec().


Member Function Documentation

void LLTrackingData::agentFound ( const LLUUID prey,
const LLVector3d estimated_global_pos 
)

Definition at line 736 of file llcallingcard.cpp.

References llendl, llwarns, mAgentGone, mAvatarID, mGlobalPositionEstimate, mHaveInfo, OFFLINE_SECONDS, and LLTimer::setTimerExpirySec().

Referenced by LLAvatarTracker::agentFound().

bool LLTrackingData::haveTrackingInfo (  ) 

Definition at line 749 of file llcallingcard.cpp.

References LLTimer::checkExpirationAndReset(), COARSE_FREQUENCY, FIND_FREQUENCY, LLAvatarTracker::findAgent(), LLViewerObjectList::findObject(), gObjectList, LLAvatarTracker::instance(), LLViewerObject::isDead(), mAgentGone, mAvatarID, mCoarseLocationTimer, mHaveCoarseInfo, mHaveInfo, mUpdateTimer, OFFLINE_SECONDS, and LLTimer::setTimerExpirySec().

Referenced by LLAvatarTracker::haveTrackingInfo().

void LLTrackingData::setTrackedCoarseLocation ( const LLVector3d global_pos  ) 

Definition at line 781 of file llcallingcard.cpp.

References COARSE_FREQUENCY, mCoarseLocationTimer, mGlobalPositionEstimate, mHaveCoarseInfo, mHaveInfo, and LLTimer::setTimerExpirySec().

Referenced by LLAvatarTracker::setTrackedCoarseLocation().


Member Data Documentation

LLTimer LLTrackingData::mAgentGone

Definition at line 85 of file llcallingcard.cpp.

Referenced by agentFound(), haveTrackingInfo(), and LLTrackingData().

LLUUID LLTrackingData::mAvatarID

Definition at line 78 of file llcallingcard.cpp.

Referenced by agentFound(), LLAvatarTracker::findAgent(), LLAvatarTracker::getAvatarID(), LLAvatarTracker::getDegreesAndDist(), LLAvatarTracker::getGlobalPos(), haveTrackingInfo(), LLAvatarTracker::processNotify(), and LLAvatarTracker::untrack().

LLTimer LLTrackingData::mCoarseLocationTimer

Definition at line 83 of file llcallingcard.cpp.

Referenced by haveTrackingInfo(), LLTrackingData(), and setTrackedCoarseLocation().

LLVector3d LLTrackingData::mGlobalPositionEstimate

Definition at line 80 of file llcallingcard.cpp.

Referenced by agentFound(), LLAvatarTracker::getDegreesAndDist(), LLAvatarTracker::getGlobalPos(), and setTrackedCoarseLocation().

bool LLTrackingData::mHaveCoarseInfo

Definition at line 82 of file llcallingcard.cpp.

Referenced by haveTrackingInfo(), and setTrackedCoarseLocation().

bool LLTrackingData::mHaveInfo

Definition at line 81 of file llcallingcard.cpp.

Referenced by agentFound(), haveTrackingInfo(), and setTrackedCoarseLocation().

LLString LLTrackingData::mName

Definition at line 79 of file llcallingcard.cpp.

Referenced by LLAvatarTracker::getName(), and LLTrackingData().

LLTimer LLTrackingData::mUpdateTimer

Definition at line 84 of file llcallingcard.cpp.

Referenced by haveTrackingInfo(), and LLTrackingData().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:53 2010 for Second Life Viewer by  doxygen 1.4.7