LLFloaterGroupPicker Class Reference

#include <llfloatergroups.h>

Inheritance diagram for LLFloaterGroupPicker:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterGroupPicker:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ~LLFloaterGroupPicker ()
void setSelectCallback (void(*callback)(LLUUID, void *), void *userdata)
void setPowersMask (U64 powers_mask)
BOOL postBuild ()

Protected Types

typedef std::map< const LLUUID,
LLFloaterGroupPicker * > 
instance_map_t

Protected Member Functions

 LLFloaterGroupPicker (const LLSD &seed)
void ok ()

Static Protected Member Functions

static LLFloaterGroupPickerfindInstance (const LLSD &seed)
static LLFloaterGroupPickercreateInstance (const LLSD &seed)
static void onBtnOK (void *userdata)
static void onBtnCancel (void *userdata)

Protected Attributes

LLUUID mID
U64 mPowersMask
void(* mSelectCallback )(LLUUID id, void *userdata)
voidmCallbackUserdata

Static Protected Attributes

static instance_map_t sInstances

Friends

class LLUIInstanceMgr< LLFloaterGroupPicker >

Detailed Description

Definition at line 56 of file llfloatergroups.h.


Member Typedef Documentation

typedef std::map<const LLUUID, LLFloaterGroupPicker*> LLFloaterGroupPicker::instance_map_t [protected]

Definition at line 80 of file llfloatergroups.h.


Constructor & Destructor Documentation

LLFloaterGroupPicker::~LLFloaterGroupPicker (  ) 

Definition at line 97 of file llfloatergroups.cpp.

References mID, and sInstances.

LLFloaterGroupPicker::LLFloaterGroupPicker ( const LLSD seed  )  [protected]

Definition at line 88 of file llfloatergroups.cpp.

References LLSD::asUUID(), mID, and sInstances.

Referenced by createInstance().


Member Function Documentation

LLFloaterGroupPicker * LLFloaterGroupPicker::createInstance ( const LLSD seed  )  [static, protected]

Definition at line 81 of file llfloatergroups.cpp.

References LLUICtrlFactory::buildFloater(), gUICtrlFactory, and LLFloaterGroupPicker().

LLFloaterGroupPicker * LLFloaterGroupPicker::findInstance ( const LLSD seed  )  [static, protected]

---------------------------------------------------------------------------- Class LLFloaterGroupPicker ----------------------------------------------------------------------------

Definition at line 70 of file llfloatergroups.cpp.

References LLSD::asUUID(), NULL, and sInstances.

void LLFloaterGroupPicker::ok (  )  [protected]

Definition at line 147 of file llfloatergroups.cpp.

References LLPanel::childGetListInterface(), LLFloater::close(), LLCtrlSelectionInterface::getCurrentID(), mCallbackUserdata, and mSelectCallback.

void LLFloaterGroupPicker::onBtnCancel ( void userdata  )  [static, protected]

Definition at line 140 of file llfloatergroups.cpp.

Referenced by postBuild().

void LLFloaterGroupPicker::onBtnOK ( void userdata  )  [static, protected]

Definition at line 134 of file llfloatergroups.cpp.

Referenced by postBuild().

BOOL LLFloaterGroupPicker::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 116 of file llfloatergroups.cpp.

References LLPanel::childEnable(), LLPanel::childSetAction(), LLPanel::childSetDoubleClickCallback(), LLPanel::childSetUserData(), gAgent, LLAgent::getGroupID(), LLUICtrlFactory::getScrollListByName(), init_group_list(), mPowersMask, onBtnCancel(), onBtnOK(), LLPanel::setDefaultBtn(), and TRUE.

Referenced by setPowersMask().

void LLFloaterGroupPicker::setPowersMask ( U64  powers_mask  ) 

Definition at line 109 of file llfloatergroups.cpp.

References mPowersMask, and postBuild().

void LLFloaterGroupPicker::setSelectCallback ( void(*)(LLUUID, void *)  callback,
void userdata 
)

Definition at line 102 of file llfloatergroups.cpp.

References mCallbackUserdata, and mSelectCallback.

Referenced by LLPanelEstateInfo::addAllowedGroup(), LLPanelPermissions::onClickGroup(), and LLPanelLandGeneral::onClickSetGroup().


Friends And Related Function Documentation

friend class LLUIInstanceMgr< LLFloaterGroupPicker > [friend]

Definition at line 58 of file llfloatergroups.h.


Member Data Documentation

void* LLFloaterGroupPicker::mCallbackUserdata [protected]

Definition at line 78 of file llfloatergroups.h.

Referenced by ok(), and setSelectCallback().

LLUUID LLFloaterGroupPicker::mID [protected]

Definition at line 75 of file llfloatergroups.h.

Referenced by LLFloaterGroupPicker(), and ~LLFloaterGroupPicker().

U64 LLFloaterGroupPicker::mPowersMask [protected]

Definition at line 76 of file llfloatergroups.h.

Referenced by postBuild(), and setPowersMask().

void(* LLFloaterGroupPicker::mSelectCallback)(LLUUID id, void *userdata) [protected]

Referenced by ok(), and setSelectCallback().

std::map< const LLUUID, LLFloaterGroupPicker * > LLFloaterGroupPicker::sInstances [static, protected]

Definition at line 81 of file llfloatergroups.h.

Referenced by findInstance(), LLFloaterGroupPicker(), and ~LLFloaterGroupPicker().


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