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 ()

Static Public Member Functions

static LLFloaterGroupPickerfindInstance (const LLSD &seed)
static LLFloaterGroupPickercreateInstance (const LLSD &seed)

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 void onBtnOK (void *userdata)
static void onBtnCancel (void *userdata)

Protected Attributes

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

Static Protected Attributes

static instance_map_t sInstances

Friends

class LLUIFactory< 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 82 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().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Function Documentation

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(), invite_to_group(), LLPanelPermissions::onClickGroup(), and LLPanelLandGeneral::onClickSetGroup().

Here is the caller graph for this function:

void LLFloaterGroupPicker::setPowersMask ( U64  powers_mask  ) 

Definition at line 109 of file llfloatergroups.cpp.

References mPowersMask, and postBuild().

Referenced by invite_to_group().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLFloaterGroupPicker::postBuild ( void   )  [virtual]

Reimplemented from LLPanel.

Definition at line 116 of file llfloatergroups.cpp.

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

Referenced by setPowersMask().

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

Definition at line 70 of file llfloatergroups.cpp.

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

Here is the call graph for this function:

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

Definition at line 81 of file llfloatergroups.cpp.

References LLUICtrlFactory::buildFloater(), LLSingleton< LLUICtrlFactory >::getInstance(), and LLFloaterGroupPicker().

Here is the call graph for this function:

void LLFloaterGroupPicker::ok (  )  [protected]

Definition at line 147 of file llfloatergroups.cpp.

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

Here is the call graph for this function:

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

Definition at line 134 of file llfloatergroups.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

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

Definition at line 140 of file llfloatergroups.cpp.

Referenced by postBuild().

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LLUIFactory< LLFloaterGroupPicker > [friend]

Definition at line 58 of file llfloatergroups.h.


Member Data Documentation

Definition at line 77 of file llfloatergroups.h.

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

Definition at line 78 of file llfloatergroups.h.

Referenced by postBuild(), and setPowersMask().

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

Referenced by ok(), and setSelectCallback().

Definition at line 80 of file llfloatergroups.h.

Referenced by ok(), and setSelectCallback().

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

Definition at line 83 of file llfloatergroups.h.

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


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

Generated on Fri May 16 08:45:40 2008 for SecondLife by  doxygen 1.5.5