LLViewerPartSource Class Reference

#include <llviewerpartsource.h>

Inheritance diagram for LLViewerPartSource:

Inheritance graph
[legend]
Collaboration diagram for LLViewerPartSource:

Collaboration graph
[legend]
List of all members.

Public Types

 LL_PART_SOURCE_NULL
 LL_PART_SOURCE_SCRIPT
 LL_PART_SOURCE_SPIRAL
 LL_PART_SOURCE_BEAM
 LL_PART_SOURCE_CHAT
enum  {
  LL_PART_SOURCE_NULL, LL_PART_SOURCE_SCRIPT, LL_PART_SOURCE_SPIRAL, LL_PART_SOURCE_BEAM,
  LL_PART_SOURCE_CHAT
}

Public Member Functions

 LLViewerPartSource (const U32 type)
virtual void update (const F32 dt)
virtual void setDead ()
BOOL isDead () const
void setSuspended (BOOL state)
BOOL isSuspended () const
U32 getType () const
void setOwnerUUID (const LLUUID &owner_id)
LLUUID getOwnerUUID () const
U32 getID () const
LLUUID getImageUUID () const

Static Public Member Functions

static void updatePart (LLViewerPart &part, const F32 dt)

Public Attributes

LLVector3 mPosAgent
LLVector3 mTargetPosAgent
LLVector3 mLastUpdatePosAgent
LLPointer< LLViewerObjectmSourceObjectp
U32 mID

Protected Attributes

U32 mType
BOOL mIsDead
BOOL mIsSuspended
F32 mLastUpdateTime
F32 mLastPartTime
LLUUID mOwnerUUID
LLPointer< LLViewerImagemImagep
U32 mPartFlags

Detailed Description

Definition at line 50 of file llviewerpartsource.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
LL_PART_SOURCE_NULL 
LL_PART_SOURCE_SCRIPT 
LL_PART_SOURCE_SPIRAL 
LL_PART_SOURCE_BEAM 
LL_PART_SOURCE_CHAT 

Definition at line 53 of file llviewerpartsource.h.


Constructor & Destructor Documentation

LLViewerPartSource::LLViewerPartSource ( const U32  type  ) 

Definition at line 46 of file llviewerpartsource.cpp.

References FALSE, mID, mIsDead, mIsSuspended, mLastPartTime, and mLastUpdateTime.


Member Function Documentation

U32 LLViewerPartSource::getID (  )  const [inline]

Definition at line 74 of file llviewerpartsource.h.

References mID.

LLUUID LLViewerPartSource::getImageUUID (  )  const

Definition at line 73 of file llviewerpartsource.cpp.

References LLViewerImage::getID(), mImagep, and LLUUID::null.

LLUUID LLViewerPartSource::getOwnerUUID (  )  const [inline]

Definition at line 73 of file llviewerpartsource.h.

References mOwnerUUID.

U32 LLViewerPartSource::getType (  )  const [inline]

Definition at line 70 of file llviewerpartsource.h.

References mType.

BOOL LLViewerPartSource::isDead (  )  const [inline]

Definition at line 67 of file llviewerpartsource.h.

References mIsDead.

BOOL LLViewerPartSource::isSuspended (  )  const [inline]

Definition at line 69 of file llviewerpartsource.h.

References mIsSuspended.

void LLViewerPartSource::setDead (  )  [virtual]

Reimplemented in LLViewerPartSourceScript, LLViewerPartSourceSpiral, LLViewerPartSourceBeam, and LLViewerPartSourceChat.

Definition at line 58 of file llviewerpartsource.cpp.

References mIsDead, and TRUE.

void LLViewerPartSource::setOwnerUUID ( const LLUUID owner_id  )  [inline]

Definition at line 72 of file llviewerpartsource.h.

References mOwnerUUID.

void LLViewerPartSource::setSuspended ( BOOL  state  )  [inline]

Definition at line 68 of file llviewerpartsource.h.

References mIsSuspended.

Referenced by LLViewerObject::hideExtraDisplayItems().

void LLViewerPartSource::update ( const F32  dt  )  [virtual]

Reimplemented in LLViewerPartSourceScript, LLViewerPartSourceSpiral, LLViewerPartSourceBeam, and LLViewerPartSourceChat.

Definition at line 68 of file llviewerpartsource.cpp.

References llendl, and llerrs.

void LLViewerPartSource::updatePart ( LLViewerPart part,
const F32  dt 
) [static]

Reimplemented in LLViewerPartSourceSpiral, LLViewerPartSourceBeam, and LLViewerPartSourceChat.

Definition at line 64 of file llviewerpartsource.cpp.


Member Data Documentation

U32 LLViewerPartSource::mID

Definition at line 81 of file llviewerpartsource.h.

Referenced by getID(), and LLViewerPartSource().

LLPointer<LLViewerImage> LLViewerPartSource::mImagep [protected]

Definition at line 90 of file llviewerpartsource.h.

Referenced by LLViewerPartSourceScript::getImage(), getImageUUID(), LLViewerPartSourceScript::LLViewerPartSourceScript(), LLViewerPartSourceScript::setImage(), LLViewerPartSourceChat::update(), LLViewerPartSourceBeam::update(), LLViewerPartSourceSpiral::update(), and LLViewerPartSourceScript::update().

BOOL LLViewerPartSource::mIsDead [protected]

Definition at line 85 of file llviewerpartsource.h.

Referenced by isDead(), LLViewerPartSource(), LLViewerPartSourceChat::setDead(), LLViewerPartSourceBeam::setDead(), LLViewerPartSourceSpiral::setDead(), LLViewerPartSourceScript::setDead(), and setDead().

BOOL LLViewerPartSource::mIsSuspended [protected]

Definition at line 86 of file llviewerpartsource.h.

Referenced by isSuspended(), LLViewerPartSource(), setSuspended(), and LLViewerPartSourceScript::update().

F32 LLViewerPartSource::mLastPartTime [protected]

Definition at line 88 of file llviewerpartsource.h.

Referenced by LLViewerPartSource(), LLViewerPartSourceChat::update(), LLViewerPartSourceBeam::update(), LLViewerPartSourceSpiral::update(), and LLViewerPartSourceScript::update().

LLVector3 LLViewerPartSource::mLastUpdatePosAgent

Definition at line 79 of file llviewerpartsource.h.

F32 LLViewerPartSource::mLastUpdateTime [protected]

Definition at line 87 of file llviewerpartsource.h.

Referenced by LLViewerPartSource(), LLViewerPartSourceChat::update(), LLViewerPartSourceBeam::update(), LLViewerPartSourceSpiral::update(), and LLViewerPartSourceScript::update().

LLUUID LLViewerPartSource::mOwnerUUID [protected]

Definition at line 89 of file llviewerpartsource.h.

Referenced by getOwnerUUID(), and setOwnerUUID().

U32 LLViewerPartSource::mPartFlags [protected]

Definition at line 93 of file llviewerpartsource.h.

LLVector3 LLViewerPartSource::mPosAgent

Definition at line 77 of file llviewerpartsource.h.

Referenced by LLViewerPartSourceChat::LLViewerPartSourceChat(), LLViewerPartSourceScript::LLViewerPartSourceScript(), LLViewerPartSourceSpiral::LLViewerPartSourceSpiral(), LLViewerPartSourceChat::update(), LLViewerPartSourceBeam::update(), LLViewerPartSourceSpiral::update(), LLViewerPartSourceScript::update(), and LLViewerPartSourceSpiral::updatePart().

LLPointer<LLViewerObject> LLViewerPartSource::mSourceObjectp

Definition at line 80 of file llviewerpartsource.h.

Referenced by LLViewerPartSourceScript::LLViewerPartSourceScript(), LLViewerPartSourceChat::setDead(), LLViewerPartSourceBeam::setDead(), LLViewerPartSourceSpiral::setDead(), LLViewerPartSourceScript::setDead(), LLViewerPartSourceChat::setSourceObject(), LLViewerPartSourceBeam::setSourceObject(), LLViewerPartSourceSpiral::setSourceObject(), LLViewerPartSourceChat::update(), LLViewerPartSourceBeam::update(), LLViewerPartSourceSpiral::update(), LLViewerPartSourceScript::update(), and LLViewerPartSourceSpiral::updatePart().

LLVector3 LLViewerPartSource::mTargetPosAgent

Definition at line 78 of file llviewerpartsource.h.

Referenced by LLViewerPartSourceBeam::update(), and LLViewerPartSourceScript::update().

U32 LLViewerPartSource::mType [protected]

Definition at line 84 of file llviewerpartsource.h.

Referenced by getType().


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