LLWearableBridge Class Reference

#include <llinventorybridge.h>

Inheritance diagram for LLWearableBridge:

Inheritance graph
[legend]
Collaboration diagram for LLWearableBridge:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual LLUIImagePtr getIcon () const
virtual void performAction (LLFolderView *folder, LLInventoryModel *model, LLString action)
virtual void openItem ()
virtual void buildContextMenu (LLMenuGL &menu, U32 flags)
virtual LLFontGL::StyleFlags getLabelStyle () const
virtual LLString getLabelSuffix () const
virtual BOOL isItemRemovable ()
virtual BOOL renameItem (const LLString &new_name)
void wearOnAvatar ()
void editOnAvatar ()

Static Public Member Functions

static void onWearOnAvatar (void *userdata)
static BOOL canWearOnAvatar (void *userdata)
static void onWearOnAvatarArrived (LLWearable *wearable, void *userdata)
static BOOL canEditOnAvatar (void *userdata)
static void onEditOnAvatar (void *userdata)
static BOOL canRemoveFromAvatar (void *userdata)
static void onRemoveFromAvatar (void *userdata)
static void onRemoveFromAvatarArrived (LLWearable *wearable, void *userdata)

Protected Member Functions

 LLWearableBridge (LLInventoryPanel *inventory, const LLUUID &uuid, LLAssetType::EType asset_type, LLInventoryType::EType inv_type, EWearableType wearable_type)

Protected Attributes

LLAssetType::EType mAssetType
LLInventoryType::EType mInvType
EWearableType mWearableType

Friends

class LLInvFVBridge


Detailed Description

Definition at line 567 of file llinventorybridge.h.


Constructor & Destructor Documentation

LLWearableBridge::LLWearableBridge ( LLInventoryPanel inventory,
const LLUUID uuid,
LLAssetType::EType  asset_type,
LLInventoryType::EType  inv_type,
EWearableType  wearable_type 
) [inline, protected]

Definition at line 594 of file llinventorybridge.h.


Member Function Documentation

LLUIImagePtr LLWearableBridge::getIcon (  )  const [virtual]

Reimplemented from LLItemBridge.

Definition at line 4245 of file llinventorybridge.cpp.

References FALSE, get_item_icon(), mAssetType, mInvType, and mWearableType.

Here is the call graph for this function:

void LLWearableBridge::performAction ( LLFolderView folder,
LLInventoryModel model,
LLString  action 
) [virtual]

void LLWearableBridge::openItem ( void   )  [virtual]

void LLWearableBridge::buildContextMenu ( LLMenuGL menu,
U32  flags 
) [virtual]

LLFontGL::StyleFlags LLWearableBridge::getLabelStyle (  )  const [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 4220 of file llinventorybridge.cpp.

References LLFontGL::BOLD, gAgent, LLAgent::isWearingItem(), LLInvFVBridge::mUUID, and LLFontGL::NORMAL.

Here is the call graph for this function:

LLString LLWearableBridge::getLabelSuffix (  )  const [virtual]

Reimplemented from LLItemBridge.

Definition at line 4233 of file llinventorybridge.cpp.

References gAgent, LLItemBridge::getLabelSuffix(), LLAgent::isWearingItem(), and LLInvFVBridge::mUUID.

Here is the call graph for this function:

BOOL LLWearableBridge::isItemRemovable ( void   )  [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 4214 of file llinventorybridge.cpp.

References FALSE, gAgent, LLInvFVBridge::isItemRemovable(), LLAgent::isWearingItem(), and LLInvFVBridge::mUUID.

Referenced by buildContextMenu().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLWearableBridge::renameItem ( const LLString new_name  )  [virtual]

Reimplemented from LLItemBridge.

Definition at line 4205 of file llinventorybridge.cpp.

References gAgent, LLAgent::isWearingItem(), LLInvFVBridge::mUUID, LLItemBridge::renameItem(), and LLAgent::setWearableName().

Here is the call graph for this function:

void LLWearableBridge::onWearOnAvatar ( void *  userdata  )  [static]

Definition at line 4401 of file llinventorybridge.cpp.

BOOL LLWearableBridge::canWearOnAvatar ( void *  userdata  )  [static]

Definition at line 4387 of file llinventorybridge.cpp.

References FALSE, gAgent, LLViewerInventoryItem::isComplete(), and LLAgent::isWearingItem().

Here is the call graph for this function:

void LLWearableBridge::onWearOnAvatarArrived ( LLWearable wearable,
void *  userdata 
) [static]

Definition at line 4440 of file llinventorybridge.cpp.

References gAgent, LLInventoryItem::getAssetUUID(), LLWearable::getID(), LLInventoryModel::getItem(), gInventory, llendl, llinfos, LLInventoryModel::notifyObservers(), NULL, and LLAgent::setWearable().

Referenced by wear_inventory_item_on_avatar().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLWearableBridge::wearOnAvatar (  ) 

BOOL LLWearableBridge::canEditOnAvatar ( void *  userdata  )  [static]

Definition at line 4480 of file llinventorybridge.cpp.

References FALSE, gAgent, and LLAgent::isWearingItem().

Here is the call graph for this function:

void LLWearableBridge::onEditOnAvatar ( void *  userdata  )  [static]

Definition at line 4489 of file llinventorybridge.cpp.

void LLWearableBridge::editOnAvatar (  ) 

BOOL LLWearableBridge::canRemoveFromAvatar ( void *  userdata  )  [static]

Definition at line 4515 of file llinventorybridge.cpp.

References LLAssetType::AT_BODYPART, FALSE, gAgent, and LLAgent::isWearingItem().

Here is the call graph for this function:

void LLWearableBridge::onRemoveFromAvatar ( void *  userdata  )  [static]

void LLWearableBridge::onRemoveFromAvatarArrived ( LLWearable wearable,
void *  userdata 
) [static]

((!gAgent.isTeen()) && ( type==WT_UNDERPANTS || type==WT_UNDERSHIRT )) )

Definition at line 4545 of file llinventorybridge.cpp.

References gAgent, LLWearable::getType(), LLAgent::isWearingItem(), LLAgent::removeWearable(), WT_HAIR, WT_SHAPE, and WT_SKIN.

Referenced by onRemoveFromAvatar(), performAction(), and remove_inventory_category_from_avatar_step2().

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LLInvFVBridge [friend]

Definition at line 569 of file llinventorybridge.h.


Member Data Documentation

Definition at line 602 of file llinventorybridge.h.

Referenced by getIcon().

Reimplemented from LLInvFVBridge.

Definition at line 603 of file llinventorybridge.h.

Referenced by getIcon().

Definition at line 604 of file llinventorybridge.h.

Referenced by getIcon().


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

Generated on Fri May 16 09:39:15 2008 for SecondLife by  doxygen 1.5.5