LLGroupMgrGroupData Class Reference

#include <llgroupmgr.h>

Collaboration diagram for LLGroupMgrGroupData:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::map< LLUUID,
LLGroupMemberData * > 
member_list_t
typedef std::map< LLUUID,
LLGroupRoleData * > 
role_list_t
typedef std::map< lluuid_pair,
LLRoleMemberChange,
lluuid_pair_less
change_map_t
typedef std::map< LLUUID,
LLRoleData
role_data_map_t

Public Member Functions

 LLGroupMgrGroupData (const LLUUID &id)
 ~LLGroupMgrGroupData ()
const LLUUIDgetID ()
BOOL getRoleData (const LLUUID &role_id, LLRoleData &role_data)
void setRoleData (const LLUUID &role_id, LLRoleData role_data)
void createRole (const LLUUID &role_id, LLRoleData role_data)
void deleteRole (const LLUUID &role_id)
BOOL pendingRoleChanges ()
void addRolePower (const LLUUID &role_id, U64 power)
void removeRolePower (const LLUUID &role_id, U64 power)
U64 getRolePowers (const LLUUID &role_id)
void removeData ()
void removeRoleData ()
void removeMemberData ()
void removeRoleMemberData ()
bool changeRoleMember (const LLUUID &role_id, const LLUUID &member_id, LLRoleMemberChangeType rmc)
void recalcAllAgentPowers ()
void recalcAgentPowers (const LLUUID &agent_id)
BOOL isMemberDataComplete ()
BOOL isRoleDataComplete ()
BOOL isRoleMemberDataComplete ()
BOOL isGroupPropertiesDataComplete ()

Public Attributes

member_list_t mMembers
role_list_t mRoles
change_map_t mRoleMemberChanges
role_data_map_t mRoleChanges
std::vector< LLGroupTitlemTitles
LLUUID mID
LLUUID mOwnerRole
std::string mName
std::string mCharter
BOOL mShowInList
LLUUID mInsigniaID
LLUUID mFounderID
BOOL mOpenEnrollment
S32 mMembershipFee
BOOL mAllowPublish
BOOL mListInProfile
BOOL mMaturePublish
BOOL mChanged
S32 mMemberCount
S32 mRoleCount

Protected Member Functions

void sendRoleChanges ()
void cancelRoleChanges ()

Private Attributes

LLUUID mMemberRequestID
LLUUID mRoleDataRequestID
LLUUID mRoleMembersRequestID
LLUUID mTitlesRequestID
U32 mReceivedRoleMemberPairs
BOOL mMemberDataComplete
BOOL mRoleDataComplete
BOOL mRoleMemberDataComplete
BOOL mGroupPropertiesDataComplete
BOOL mPendingRoleMemberRequest

Friends

class LLGroupMgr


Detailed Description

Definition at line 199 of file llgroupmgr.h.


Member Typedef Documentation

Definition at line 234 of file llgroupmgr.h.

Definition at line 235 of file llgroupmgr.h.

Definition at line 236 of file llgroupmgr.h.

Definition at line 237 of file llgroupmgr.h.


Constructor & Destructor Documentation

LLGroupMgrGroupData::LLGroupMgrGroupData ( const LLUUID id  ) 

Definition at line 212 of file llgroupmgr.cpp.

LLGroupMgrGroupData::~LLGroupMgrGroupData (  ) 

Definition at line 459 of file llgroupmgr.cpp.

References removeData().

Here is the call graph for this function:


Member Function Documentation

const LLUUID& LLGroupMgrGroupData::getID (  )  [inline]

Definition at line 207 of file llgroupmgr.h.

References mID.

Referenced by LLGroupMgr::addGroup(), sendRoleChanges(), and LLGroupMgr::sendUpdateGroupInfo().

Here is the caller graph for this function:

BOOL LLGroupMgrGroupData::getRoleData ( const LLUUID role_id,
LLRoleData role_data 
)

void LLGroupMgrGroupData::setRoleData ( const LLUUID role_id,
LLRoleData  role_data 
)

void LLGroupMgrGroupData::createRole ( const LLUUID role_id,
LLRoleData  role_data 
)

Definition at line 323 of file llgroupmgr.cpp.

References llendl, llwarns, LLRoleData::mChangeType, mRoleChanges, and RC_CREATE.

Referenced by LLPanelGroupRolesSubTab::handleCreateRole().

Here is the caller graph for this function:

void LLGroupMgrGroupData::deleteRole ( const LLUUID role_id  ) 

Definition at line 336 of file llgroupmgr.cpp.

References LLRoleData::mChangeType, mRoleChanges, RC_CREATE, and RC_DELETE.

Referenced by LLPanelGroupRolesSubTab::handleDeleteRole().

Here is the caller graph for this function:

BOOL LLGroupMgrGroupData::pendingRoleChanges (  ) 

Definition at line 317 of file llgroupmgr.cpp.

References mRoleChanges.

Referenced by LLPanelGroupRolesSubTab::needsApply(), and LLGroupMgr::sendGroupRoleChanges().

Here is the caller graph for this function:

void LLGroupMgrGroupData::addRolePower ( const LLUUID role_id,
U64  power 
)

Definition at line 354 of file llgroupmgr.cpp.

References getRoleData(), llendl, llwarns, LLRoleData::mRolePowers, and setRoleData().

Referenced by LLPanelGroupRolesSubTab::handleActionCheck(), and LLPanelGroupRolesSubTab::handleMemberVisibilityChange().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLGroupMgrGroupData::removeRolePower ( const LLUUID role_id,
U64  power 
)

Definition at line 368 of file llgroupmgr.cpp.

References getRoleData(), llendl, llwarns, LLRoleData::mRolePowers, and setRoleData().

Referenced by LLPanelGroupRolesSubTab::handleActionCheck(), and LLPanelGroupRolesSubTab::handleMemberVisibilityChange().

Here is the call graph for this function:

Here is the caller graph for this function:

U64 LLGroupMgrGroupData::getRolePowers ( const LLUUID role_id  ) 

Definition at line 382 of file llgroupmgr.cpp.

References getRoleData(), GP_NO_POWERS, llendl, llwarns, and LLRoleData::mRolePowers.

Referenced by LLPanelGroupMembersSubTab::getAgentPowersBasedOnRoleChanges().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLGroupMgrGroupData::removeData (  ) 

Definition at line 396 of file llgroupmgr.cpp.

References removeMemberData(), and removeRoleData().

Referenced by ~LLGroupMgrGroupData().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLGroupMgrGroupData::removeRoleData (  ) 

Definition at line 413 of file llgroupmgr.cpp.

References LLGroupMemberData::clearRoles(), FALSE, mMembers, mReceivedRoleMemberPairs, mRoleDataComplete, mRoleMemberDataComplete, and mRoles.

Referenced by removeData(), and LLGroupMgr::sendGroupRoleDataRequest().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLGroupMgrGroupData::removeMemberData (  ) 

Definition at line 403 of file llgroupmgr.cpp.

References FALSE, mMemberDataComplete, and mMembers.

Referenced by removeData(), and LLGroupMgr::sendGroupMembersRequest().

Here is the caller graph for this function:

void LLGroupMgrGroupData::removeRoleMemberData (  ) 

Definition at line 435 of file llgroupmgr.cpp.

References LLGroupRoleData::clearMembers(), LLGroupMemberData::clearRoles(), FALSE, mMembers, mReceivedRoleMemberPairs, mRoleMemberDataComplete, and mRoles.

Referenced by LLGroupMgr::sendGroupRoleMembersRequest(), and sendRoleChanges().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLGroupMgrGroupData::changeRoleMember ( const LLUUID role_id,
const LLUUID member_id,
LLRoleMemberChangeType  rmc 
)

void LLGroupMgrGroupData::recalcAllAgentPowers (  ) 

Definition at line 551 of file llgroupmgr.cpp.

References LLGroupMemberData::mAgentPowers, mMembers, LLGroupRoleData::mRoleData, LLRoleData::mRolePowers, and LLGroupMemberData::mRolesList.

Referenced by sendRoleChanges().

Here is the caller graph for this function:

void LLGroupMgrGroupData::recalcAgentPowers ( const LLUUID agent_id  ) 

Definition at line 573 of file llgroupmgr.cpp.

References LLGroupMemberData::mAgentPowers, mMembers, LLGroupRoleData::mRoleData, LLRoleData::mRolePowers, and LLGroupMemberData::mRolesList.

Referenced by changeRoleMember().

Here is the caller graph for this function:

BOOL LLGroupMgrGroupData::isMemberDataComplete (  )  [inline]

BOOL LLGroupMgrGroupData::isRoleDataComplete (  )  [inline]

BOOL LLGroupMgrGroupData::isRoleMemberDataComplete (  )  [inline]

BOOL LLGroupMgrGroupData::isGroupPropertiesDataComplete (  )  [inline]

Definition at line 231 of file llgroupmgr.h.

References mGroupPropertiesDataComplete.

Referenced by LLPanelGroupRoles::activate(), and LLPanelGroupInvite::updateLists().

Here is the caller graph for this function:

void LLGroupMgrGroupData::sendRoleChanges (  )  [protected]

void LLGroupMgrGroupData::cancelRoleChanges (  )  [protected]

Definition at line 719 of file llgroupmgr.cpp.

References mRoleChanges.

Referenced by LLGroupMgr::cancelGroupRoleChanges().

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LLGroupMgr [friend]

Definition at line 201 of file llgroupmgr.h.


Member Data Documentation

Definition at line 242 of file llgroupmgr.h.

Referenced by changeRoleMember(), and LLGroupMgr::sendGroupRoleMemberChanges().

Definition at line 257 of file llgroupmgr.h.


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

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