llgroupmgr.cpp File Reference

LLGroupMgr class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "llgroupmgr.h"
#include <vector>
#include <algorithm>
#include "llagent.h"
#include "llui.h"
#include "message.h"
#include "roles_constants.h"
#include "lltransactiontypes.h"
#include "llstatusbar.h"
#include "viewer.h"
#include "lleconomy.h"
#include "llviewerwindow.h"
#include "llfloaterdirectory.h"
#include "llfloatergroupinfo.h"
#include "lluictrlfactory.h"

Include dependency graph for llgroupmgr.cpp:

Go to the source code of this file.

Functions

bool packRoleUpdateMessageBlock (LLMessageSystem *msg, const LLUUID &group_id, const LLUUID &role_id, const LLRoleData &role_data, bool start_message)

Variables

LLGroupMgr sGroupMgr
LLGroupMgrgGroupMgr = &sGroupMgr
const U32 MAX_CACHED_GROUPS = 10


Detailed Description

LLGroupMgr class implementation.

LicenseInfo
firstyear=2004&license=viewergpl

Copyright (c) 2004-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llgroupmgr.cpp.


Function Documentation

bool packRoleUpdateMessageBlock ( LLMessageSystem msg,
const LLUUID group_id,
const LLUUID role_id,
const LLRoleData role_data,
bool  start_message 
)

Definition at line 601 of file llgroupmgr.cpp.

References LLMessageSystem::addString(), LLMessageSystem::addU64(), LLMessageSystem::addU8(), LLMessageSystem::addUUID(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), LLMessageSystem::isSendFullFast(), LLRoleData::mChangeType, LLRoleData::mRoleDescription, LLRoleData::mRoleName, LLRoleData::mRolePowers, LLRoleData::mRoleTitle, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), and LLAgent::sendReliableMessage().

Referenced by LLGroupMgrGroupData::sendRoleChanges().


Variable Documentation

LLGroupMgr* gGroupMgr = &sGroupMgr

Definition at line 58 of file llgroupmgr.cpp.

Referenced by LLPanelGroupVoting::activate(), LLPanelGroupRoles::activate(), LLPanelGroupGeneral::activate(), agentCanAddToRole(), LLPanelGroupRolesSubTab::apply(), LLPanelGroupMembersSubTab::apply(), LLPanelGroupGeneral::apply(), LLPanelGroupMembersSubTab::applyMemberChanges(), LLPanelGroupSubTab::buildActionsList(), LLPanelGroupRolesSubTab::buildMembersList(), LLPanelGroupRolesSubTab::cancel(), LLPanelGroupGeneral::createGroupCallback(), LLGroupMgr::createGroupData(), LLGroupMgr::debugClearAllGroups(), LLPanelGroupMembersSubTab::getAgentPowersBasedOnRoleChanges(), LLPanelGroupRolesSubTab::handleActionCheck(), LLPanelGroupActionsSubTab::handleActionSelect(), LLPanelGroupRolesSubTab::handleCreateRole(), LLPanelGroupRolesSubTab::handleDeleteRole(), LLPanelGroupMembersSubTab::handleEjectMembers(), LLPanelGroupMembersSubTab::handleMemberSelect(), LLPanelGroupRolesSubTab::handleMemberVisibilityChange(), LLPanelGroupMembersSubTab::handleRoleCheck(), LLPanelGroupRolesSubTab::handleRoleSelect(), LLPanelGroupGeneral::joinDlgCB(), LLPanelGroup::LLPanelGroup(), LLPanelGroupRolesSubTab::needsApply(), LLPanelGroupGeneral::onClickJoin(), LLPanelGroupGeneral::onCommitTitle(), LLGroupMgr::parseRoleActions(), LLAgent::processAgentDropGroup(), LLGroupMgr::processGroupMembersReply(), LLGroupMgr::processGroupPropertiesReply(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupRoleMembersReply(), LLGroupMgr::processGroupTitlesReply(), LLGroupMgr::processJoinGroupReply(), LLGroupMgr::processLeaveGroupReply(), LLPanelGroup::refreshData(), LLPanelGroupRolesSubTab::saveRoleChanges(), LLGroupMgr::sendGroupMemberEjects(), LLGroupMgrGroupData::sendRoleChanges(), LLPanelGroup::setGroupID(), LLPanelGroupInvite::impl::submitInvitations(), LLPanelGroupVoting::update(), LLPanelGroupRolesSubTab::update(), LLPanelGroupMembersSubTab::update(), LLPanelGroupGeneral::update(), LLPanelGroupInvite::updateLists(), LLPanelGroupMembersSubTab::updateMembers(), LLPanelGroupGeneral::updateMembers(), and LLPanelGroup::~LLPanelGroup().

const U32 MAX_CACHED_GROUPS = 10

Definition at line 60 of file llgroupmgr.cpp.

Referenced by LLGroupMgr::addGroup().

LLGroupMgr sGroupMgr

Manager for aggregating all client knowledge for specific groups Keeps a cache of group information.

Definition at line 57 of file llgroupmgr.cpp.


Generated on Thu Jul 1 06:10:28 2010 for Second Life Viewer by  doxygen 1.4.7