LLAgent::addWearableToAgentInventoryCallback Class Reference

Inheritance diagram for LLAgent::addWearableToAgentInventoryCallback:

Inheritance graph
[legend]
Collaboration diagram for LLAgent::addWearableToAgentInventoryCallback:

Collaboration graph
[legend]
List of all members.

Public Types

 CALL_NONE = 0
 CALL_UPDATE = 1
 CALL_RECOVERDONE = 2
 CALL_CREATESTANDARDDONE = 4
 CALL_MAKENEWOUTFITDONE = 8
enum  {
  CALL_NONE = 0, CALL_UPDATE = 1, CALL_RECOVERDONE = 2, CALL_CREATESTANDARDDONE = 4,
  CALL_MAKENEWOUTFITDONE = 8
}

Public Member Functions

 addWearableToAgentInventoryCallback (LLPointer< LLRefCount > cb, S32 index, LLWearable *wearable, U32 todo=CALL_NONE)
 Construct a callback for dealing with the wearables.
virtual void fire (const LLUUID &inv_item)

Public Attributes

enum LLAgent::addWearableToAgentInventoryCallback:: { ... }  EType

Private Attributes

S32 mIndex
LLWearablemWearable
U32 mTodo
LLPointer< LLRefCountmCB

Detailed Description

Definition at line 882 of file llagent.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
CALL_NONE 
CALL_UPDATE 
CALL_RECOVERDONE 
CALL_CREATESTANDARDDONE 
CALL_MAKENEWOUTFITDONE 

Definition at line 885 of file llagent.h.


Constructor & Destructor Documentation

LLAgent::addWearableToAgentInventoryCallback::addWearableToAgentInventoryCallback ( LLPointer< LLRefCount cb,
S32  index,
LLWearable wearable,
U32  todo = CALL_NONE 
)

Construct a callback for dealing with the wearables.

Would like to pass the agent in here, but we can't safely count on it being around later. Just use gAgent directly.

Parameters:
cb callback to execute on completion (??? unused ???)
index Index for the wearable in the agent
wearable The wearable data.
todo Bitmask of actions to take on completion.

Definition at line 5974 of file llagent.cpp.


Member Function Documentation

void LLAgent::addWearableToAgentInventoryCallback::fire ( const LLUUID inv_item  )  [virtual]

Implements LLInventoryCallback.

Definition at line 5983 of file llagent.cpp.

References LLAgent::addWearabletoAgentInventoryDone(), CALL_CREATESTANDARDDONE, CALL_MAKENEWOUTFITDONE, CALL_RECOVERDONE, CALL_UPDATE, LLAgent::createStandardWearablesDone(), gAgent, LLUUID::isNull(), LLAgent::makeNewOutfitDone(), mIndex, mTodo, mWearable, LLAgent::recoverMissingWearableDone(), and LLAgent::sendAgentWearablesUpdate().


Member Data Documentation

enum { ... } LLAgent::addWearableToAgentInventoryCallback::EType

LLPointer<LLRefCount> LLAgent::addWearableToAgentInventoryCallback::mCB [private]

Definition at line 914 of file llagent.h.

S32 LLAgent::addWearableToAgentInventoryCallback::mIndex [private]

Definition at line 911 of file llagent.h.

Referenced by fire().

U32 LLAgent::addWearableToAgentInventoryCallback::mTodo [private]

Definition at line 913 of file llagent.h.

Referenced by fire().

LLWearable* LLAgent::addWearableToAgentInventoryCallback::mWearable [private]

Definition at line 912 of file llagent.h.

Referenced by fire().


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