LLPanelGroups Class Reference

#include <llfloatergroups.h>

Inheritance diagram for LLPanelGroups:

Inheritance graph
[legend]
Collaboration diagram for LLPanelGroups:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelGroups ()
virtual ~LLPanelGroups ()
bool handleEvent (LLPointer< LLEvent > event, const LLSD &userdata)
void reset ()

Protected Member Functions

BOOL postBuild ()
void enableButtons ()
void create ()
void activate ()
void info ()
void startIM ()
void leave ()
void search ()
void callVote ()

Static Protected Member Functions

static void onGroupList (LLUICtrl *ctrl, void *userdata)
static void onBtnCreate (void *userdata)
static void onBtnActivate (void *userdata)
static void onBtnInfo (void *userdata)
static void onBtnIM (void *userdata)
static void onBtnLeave (void *userdata)
static void onBtnSearch (void *userdata)
static void onBtnVote (void *userdata)
static void onDoubleClickGroup (void *userdata)
static void callbackLeaveGroup (S32 option, void *userdata)

Detailed Description

Definition at line 84 of file llfloatergroups.h.


Constructor & Destructor Documentation

LLPanelGroups::LLPanelGroups (  ) 

Definition at line 181 of file llfloatergroups.cpp.

References LLObservable::addListener(), and gAgent.

LLPanelGroups::~LLPanelGroups (  )  [virtual]

Definition at line 187 of file llfloatergroups.cpp.

References gAgent, and LLObservable::removeListener().


Member Function Documentation

void LLPanelGroups::activate (  )  [protected]

Definition at line 320 of file llfloatergroups.cpp.

References _PREHASH_ActivateGroup, _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupID, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), LLPanel::childGetListInterface(), gAgent, LLCtrlSelectionInterface::getCurrentID(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, llendl, llinfos, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLAgent::sendReliableMessage().

void LLPanelGroups::callbackLeaveGroup ( S32  option,
void userdata 
) [static, protected]

Definition at line 406 of file llfloatergroups.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupData, _PREHASH_GroupID, _PREHASH_LeaveGroupRequest, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLAgent::sendReliableMessage().

Referenced by leave().

void LLPanelGroups::callVote (  )  [protected]

void LLPanelGroups::create (  )  [protected]

Definition at line 314 of file llfloatergroups.cpp.

References llendl, llinfos, NULL, and LLFloaterGroupInfo::showCreateGroup().

void LLPanelGroups::enableButtons (  )  [protected]

Definition at line 238 of file llfloatergroups.cpp.

References LLPanel::childDisable(), LLPanel::childEnable(), LLPanel::childGetListInterface(), LLDynamicArray< Type, BlockSize >::count(), gAgent, LLCtrlSelectionInterface::getCurrentID(), LLAgent::getGroupID(), MAX_AGENT_GROUPS, LLAgent::mGroups, and LLUUID::notNull().

Referenced by reset().

bool LLPanelGroups::handleEvent ( LLPointer< LLEvent event,
const LLSD userdata 
) [virtual]

---------------------------------------------------------------------------- Class LLPanelGroups ----------------------------------------------------------------------------

Reimplemented from LLView.

Definition at line 169 of file llfloatergroups.cpp.

References LLView::handleEvent(), and reset().

void LLPanelGroups::info (  )  [protected]

Definition at line 338 of file llfloatergroups.cpp.

References LLPanel::childGetListInterface(), LLCtrlSelectionInterface::getCurrentID(), llendl, llinfos, and LLFloaterGroupInfo::showFromUUID().

void LLPanelGroups::leave (  )  [protected]

Definition at line 376 of file llfloatergroups.cpp.

References LLViewerWindow::alertXml(), callbackLeaveGroup(), LLPanel::childGetListInterface(), LLDynamicArray< Type, BlockSize >::count(), count, gAgent, LLDynamicArray< Type, BlockSize >::get(), LLCtrlSelectionInterface::getCurrentID(), gViewerWindow, i, llendl, llinfos, LLAgent::mGroups, LLGroupData::mID, LLGroupData::mName, and S32.

void LLPanelGroups::onBtnActivate ( void userdata  )  [static, protected]

Definition at line 284 of file llfloatergroups.cpp.

Referenced by postBuild().

void LLPanelGroups::onBtnCreate ( void userdata  )  [static, protected]

Definition at line 278 of file llfloatergroups.cpp.

Referenced by postBuild().

void LLPanelGroups::onBtnIM ( void userdata  )  [static, protected]

Definition at line 296 of file llfloatergroups.cpp.

Referenced by postBuild().

void LLPanelGroups::onBtnInfo ( void userdata  )  [static, protected]

Definition at line 290 of file llfloatergroups.cpp.

Referenced by postBuild().

void LLPanelGroups::onBtnLeave ( void userdata  )  [static, protected]

Definition at line 302 of file llfloatergroups.cpp.

Referenced by postBuild().

void LLPanelGroups::onBtnSearch ( void userdata  )  [static, protected]

Definition at line 308 of file llfloatergroups.cpp.

Referenced by postBuild().

static void LLPanelGroups::onBtnVote ( void userdata  )  [static, protected]

static void LLPanelGroups::onDoubleClickGroup ( void userdata  )  [static, protected]

void LLPanelGroups::onGroupList ( LLUICtrl ctrl,
void userdata 
) [static, protected]

Definition at line 423 of file llfloatergroups.cpp.

Referenced by postBuild().

BOOL LLPanelGroups::postBuild (  )  [protected, virtual]

Reimplemented from LLPanel.

Definition at line 207 of file llfloatergroups.cpp.

References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetDoubleClickCallback(), LLPanel::childSetTextArg(), LLPanel::childSetUserData(), LLDynamicArray< Type, BlockSize >::count(), gAgent, LLAgent::getGroupID(), LLUICtrlFactory::getScrollListByName(), init_group_list(), llformat(), MAX_AGENT_GROUPS, LLAgent::mGroups, onBtnActivate(), onBtnCreate(), onBtnIM(), onBtnInfo(), onBtnLeave(), onBtnSearch(), onGroupList(), reset(), LLPanel::setDefaultBtn(), and TRUE.

void LLPanelGroups::reset (  ) 

Definition at line 193 of file llfloatergroups.cpp.

References LLPanel::childGetListInterface(), LLPanel::childSetTextArg(), LLDynamicArray< Type, BlockSize >::count(), enableButtons(), gAgent, LLAgent::getGroupID(), LLUICtrlFactory::getScrollListByName(), init_group_list(), llformat(), MAX_AGENT_GROUPS, LLAgent::mGroups, LLCtrlSelectionInterface::OP_DELETE, and LLCtrlSelectionInterface::operateOnAll().

Referenced by handleEvent(), and postBuild().

void LLPanelGroups::search (  )  [protected]

Definition at line 400 of file llfloatergroups.cpp.

References LLFloaterDirectory::showGroups().

void LLPanelGroups::startIM (  )  [protected]

Definition at line 349 of file llfloatergroups.cpp.

References LLIMMgr::addSession(), LLPanel::childGetListInterface(), gAgent, LLCtrlSelectionInterface::getCurrentID(), LLAgent::getGroupData(), gIMMgr, IM_SESSION_GROUP_START, make_ui_sound(), LLIMMgr::setFloaterOpen(), and TRUE.


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