OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
OpenSim.Region.CoreModules.World.Land.PrimCountModule Class Reference
Inheritance diagram for OpenSim.Region.CoreModules.World.Land.PrimCountModule:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Region.CoreModules.World.Land.PrimCountModule:
Collaboration graph
[legend]

Public Member Functions

void Initialise (IConfigSource source)
 This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created. More...
 
void AddRegion (Scene scene)
 This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called. More...
 
void RegionLoaded (Scene scene)
 This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module. More...
 
void RemoveRegion (Scene scene)
 This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed. More...
 
void Close ()
 This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. More...
 
void TaintPrimCount (ILandObject land)
 
void TaintPrimCount (int x, int y)
 
void TaintPrimCount ()
 
IPrimCounts GetPrimCounts (UUID parcelID)
 
int GetOwnerCount (UUID parcelID)
 Get the number of prims on the parcel that are owned by the parcel owner. More...
 
int GetGroupCount (UUID parcelID)
 Get the number of prims on the parcel that have been set to the group that owns the parcel. More...
 
int GetOthersCount (UUID parcelID)
 Get the number of prims on the parcel that are not owned by the parcel owner or set to the parcel group. More...
 
int GetSelectedCount (UUID parcelID)
 Get the number of selected prims. More...
 
int GetTotalCount (UUID parcelID)
 Get the total count of owner, group and others prims on the parcel. FIXME: Need to do selected prims once this is reimplemented. More...
 
int GetSimulatorCount (UUID parcelID)
 Get the number of prims that are in the entire simulator for the owner of this parcel. More...
 
int GetUserCount (UUID parcelID, UUID userID)
 Get the number of prims that a particular user owns on this parcel. More...
 

Properties

Type ReplaceableInterface [get]
 
string Name [get]
 
- Properties inherited from OpenSim.Region.Framework.Interfaces.IRegionModuleBase
string Name [get]
 
Type ReplaceableInterface [get]
 If this returns non-null, it is the type of an interface that this module intends to register. This will cause the loader to defer loading of this module until all other modules have been loaded. If no other module has registered the interface by then, this module will be activated, else it will remain inactive, letting the other module take over. This should return non-null ONLY in modules that are intended to be easily replaceable, e.g. stub implementations that the developer expects to be replaced by third party provided modules. More...
 

Detailed Description

Definition at line 54 of file PrimCountModule.cs.

Member Function Documentation

void OpenSim.Region.CoreModules.World.Land.PrimCountModule.AddRegion ( Scene  scene)
inline

This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called.

Parameters
sceneA Scene

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 88 of file PrimCountModule.cs.

void OpenSim.Region.CoreModules.World.Land.PrimCountModule.Close ( )
inline

This is the inverse to Initialise. After a Close(), this instance won't be usable anymore.

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 110 of file PrimCountModule.cs.

int OpenSim.Region.CoreModules.World.Land.PrimCountModule.GetGroupCount ( UUID  parcelID)
inline

Get the number of prims on the parcel that have been set to the group that owns the parcel.

Parameters
parcelID
Returns

Definition at line 302 of file PrimCountModule.cs.

int OpenSim.Region.CoreModules.World.Land.PrimCountModule.GetOthersCount ( UUID  parcelID)
inline

Get the number of prims on the parcel that are not owned by the parcel owner or set to the parcel group.

Parameters
parcelID
Returns

Definition at line 328 of file PrimCountModule.cs.

int OpenSim.Region.CoreModules.World.Land.PrimCountModule.GetOwnerCount ( UUID  parcelID)
inline

Get the number of prims on the parcel that are owned by the parcel owner.

Parameters
parcelID
Returns

Definition at line 276 of file PrimCountModule.cs.

IPrimCounts OpenSim.Region.CoreModules.World.Land.PrimCountModule.GetPrimCounts ( UUID  parcelID)
inline
int OpenSim.Region.CoreModules.World.Land.PrimCountModule.GetSelectedCount ( UUID  parcelID)
inline

Get the number of selected prims.

Parameters
parcelID
Returns

Definition at line 354 of file PrimCountModule.cs.

int OpenSim.Region.CoreModules.World.Land.PrimCountModule.GetSimulatorCount ( UUID  parcelID)
inline

Get the number of prims that are in the entire simulator for the owner of this parcel.

Parameters
parcelID
Returns

Definition at line 412 of file PrimCountModule.cs.

int OpenSim.Region.CoreModules.World.Land.PrimCountModule.GetTotalCount ( UUID  parcelID)
inline

Get the total count of owner, group and others prims on the parcel. FIXME: Need to do selected prims once this is reimplemented.

Parameters
parcelID
Returns

Definition at line 381 of file PrimCountModule.cs.

int OpenSim.Region.CoreModules.World.Land.PrimCountModule.GetUserCount ( UUID  parcelID,
UUID  userID 
)
inline

Get the number of prims that a particular user owns on this parcel.

Parameters
parcelID
userID
Returns

Definition at line 443 of file PrimCountModule.cs.

void OpenSim.Region.CoreModules.World.Land.PrimCountModule.Initialise ( IConfigSource  source)
inline

This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created.

Parameters
sourceA IConfigSource

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 84 of file PrimCountModule.cs.

void OpenSim.Region.CoreModules.World.Land.PrimCountModule.RegionLoaded ( Scene  scene)
inline

This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module.

Parameters
sceneA Scene

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 102 of file PrimCountModule.cs.

void OpenSim.Region.CoreModules.World.Land.PrimCountModule.RemoveRegion ( Scene  scene)
inline

This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed.

Parameters
sceneA Scene

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 106 of file PrimCountModule.cs.

void OpenSim.Region.CoreModules.World.Land.PrimCountModule.TaintPrimCount ( ILandObject  land)
inline
void OpenSim.Region.CoreModules.World.Land.PrimCountModule.TaintPrimCount ( int  x,
int  y 
)
inline
void OpenSim.Region.CoreModules.World.Land.PrimCountModule.TaintPrimCount ( )
inline

Property Documentation

string OpenSim.Region.CoreModules.World.Land.PrimCountModule.Name
get

Definition at line 115 of file PrimCountModule.cs.

Type OpenSim.Region.CoreModules.World.Land.PrimCountModule.ReplaceableInterface
get

Definition at line 80 of file PrimCountModule.cs.


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