LLPermissionsView Class Reference

#include <llfloaterpermissionsmgr.h>

Inheritance diagram for LLPermissionsView:

Inheritance graph
Collaboration diagram for LLPermissionsView:

Collaboration graph
List of all members.

Public Member Functions

 LLPermissionsView (const LLRect &rect)
virtual ~LLPermissionsView ()
virtual EWidgetType getWidgetType () const
virtual LLString getWidgetTag () const
void clearPermissionsData ()
void addPermissionsData (const LLString &object_name, const LLUUID &object_id, U32 permissions_flags)

Static Public Member Functions

static void revokePermissions (void *userdata)
static void findObject (void *userdata)

Protected Attributes

std::map< LLUUID, LLPermissionsData * > mPermData

Detailed Description

Definition at line 75 of file llfloaterpermissionsmgr.h.

Constructor & Destructor Documentation

LLPermissionsView::LLPermissionsView ( const LLRect rect  ) 

Definition at line 101 of file llfloaterpermissionsmgr.cpp.

virtual LLPermissionsView::~LLPermissionsView (  )  [inline, virtual]

Definition at line 79 of file llfloaterpermissionsmgr.h.

Member Function Documentation

void LLPermissionsView::addPermissionsData ( const LLString object_name,
const LLUUID object_id,
U32  permissions_flags 

Definition at line 122 of file llfloaterpermissionsmgr.cpp.

References LLView::addChild(), BTN_HEIGHT, findObject(), FOLLOWS_BOTTOM, FOLLOWS_LEFT, FOLLOWS_RIGHT, LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), HPAD, LINE, mPermData, LLView::mRect, LLView::reshape(), revokePermissions(), S32, LLRectBase< Type >::set(), LLView::setFollows(), VPAD, and y.

Referenced by show_permissions_control().

void LLPermissionsView::clearPermissionsData (  ) 

Definition at line 115 of file llfloaterpermissionsmgr.cpp.

References LLView::deleteAllChildren(), and mPermData.

void LLPermissionsView::findObject ( void userdata  )  [static]

Definition at line 170 of file llfloaterpermissionsmgr.cpp.

Referenced by addPermissionsData().

LLString LLPermissionsView::getWidgetTag (  )  const [virtual]

Implements LLView.

Definition at line 110 of file llfloaterpermissionsmgr.cpp.


EWidgetType LLPermissionsView::getWidgetType (  )  const [virtual]

Implements LLView.

Definition at line 105 of file llfloaterpermissionsmgr.cpp.


void LLPermissionsView::revokePermissions ( void userdata  )  [static]

Definition at line 149 of file llfloaterpermissionsmgr.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Data, _PREHASH_ObjectID, _PREHASH_ObjectPermissions, _PREHASH_RevokePermissions, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), LLViewerObjectList::findObject(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLViewerObject::getRegion(), LLAgent::getSessionID(), gMessageSystem, gObjectList, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().

Referenced by addPermissionsData().

Member Data Documentation

std::map<LLUUID, LLPermissionsData*> LLPermissionsView::mPermData [protected]

Definition at line 92 of file llfloaterpermissionsmgr.h.

Referenced by addPermissionsData(), and clearPermissionsData().

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