OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
OpenSim.Region.Framework.Interfaces.ISimulationDataStore Interface Reference
Inheritance diagram for OpenSim.Region.Framework.Interfaces.ISimulationDataStore:
Inheritance graph
[legend]

Public Member Functions

void Initialise (string filename)
 Initialises the data storage engine More...
 
void Dispose ()
 Dispose the database More...
 
void StoreObject (SceneObjectGroup obj, UUID regionUUID)
 Stores all object's details apart from inventory More...
 
void RemoveObject (UUID uuid, UUID regionUUID)
 Entirely removes the object, including inventory More...
 
void StorePrimInventory (UUID primID, ICollection< TaskInventoryItem > items)
 Store a prim's inventory More...
 
List< SceneObjectGroupLoadObjects (UUID regionUUID)
 Load persisted objects from region storage. More...
 
void StoreTerrain (TerrainData terrain, UUID regionID)
 Store a terrain revision in region storage More...
 
void StoreTerrain (double[,] terrain, UUID regionID)
 
TerrainData LoadTerrain (UUID regionID, int pSizeX, int pSizeY, int pSizeZ)
 Load the latest terrain revision from region storage More...
 
double[,] LoadTerrain (UUID regionID)
 
void StoreLandObject (ILandObject Parcel)
 
void RemoveLandObject (UUID globalID)
 
  • delete from land where UUID=globalID
  • delete from landaccesslist where LandUUID=globalID
More...
 
List< LandDataLoadLandObjects (UUID regionUUID)
 
void StoreRegionSettings (RegionSettings rs)
 
RegionSettings LoadRegionSettings (UUID regionUUID)
 
RegionLightShareData LoadRegionWindlightSettings (UUID regionUUID)
 
void StoreRegionWindlightSettings (RegionLightShareData wl)
 
void RemoveRegionWindlightSettings (UUID regionID)
 
UUID[] GetObjectIDs (UUID regionID)
 
string LoadRegionEnvironmentSettings (UUID regionUUID)
 Load Environment settings from region storage More...
 
void StoreRegionEnvironmentSettings (UUID regionUUID, string settings)
 Store Environment settings into region storage More...
 
void RemoveRegionEnvironmentSettings (UUID regionUUID)
 Delete Environment settings from region storage More...
 
void SaveExtra (UUID regionID, string name, string val)
 
void RemoveExtra (UUID regionID, string name)
 
Dictionary< string, string > GetExtra (UUID regionID)
 
void Shutdown ()
 

Detailed Description

Definition at line 35 of file ISimulationDataStore.cs.

Member Function Documentation

void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.Dispose ( )
Dictionary<string, string> OpenSim.Region.Framework.Interfaces.ISimulationDataStore.GetExtra ( UUID  regionID)
UUID [] OpenSim.Region.Framework.Interfaces.ISimulationDataStore.GetObjectIDs ( UUID  regionID)
void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.Initialise ( string  filename)

Initialises the data storage engine

Parameters
filenameThe file to save the database to (may not be applicable). Alternatively, a connection string for the database

Implemented in OpenSim.Data.Null.NullDataStore, OpenSim.Data.SQLite.SQLiteSimulationData, OpenSim.Data.MySQL.MySQLSimulationData, OpenSim.Data.PGSQL.PGSQLSimulationData, and OpenSim.Data.Null.NullSimulationData.

List<LandData> OpenSim.Region.Framework.Interfaces.ISimulationDataStore.LoadLandObjects ( UUID  regionUUID)
List<SceneObjectGroup> OpenSim.Region.Framework.Interfaces.ISimulationDataStore.LoadObjects ( UUID  regionUUID)

Load persisted objects from region storage.

Parameters
regionUUIDthe Region UUID
Returns
List of loaded groups

Implemented in OpenSim.Data.SQLite.SQLiteSimulationData, OpenSim.Data.MySQL.MySQLSimulationData, OpenSim.Data.Null.NullDataStore, OpenSim.Data.Null.NullSimulationData, and OpenSim.Data.PGSQL.PGSQLSimulationData.

string OpenSim.Region.Framework.Interfaces.ISimulationDataStore.LoadRegionEnvironmentSettings ( UUID  regionUUID)

Load Environment settings from region storage

Parameters
regionUUIDthe region UUID
Returns
LLSD string for viewer

Implemented in OpenSim.Data.PGSQL.PGSQLSimulationData, OpenSim.Data.MySQL.MySQLSimulationData, OpenSim.Data.SQLite.SQLiteSimulationData, OpenSim.Data.Null.NullDataStore, and OpenSim.Data.Null.NullSimulationData.

RegionSettings OpenSim.Region.Framework.Interfaces.ISimulationDataStore.LoadRegionSettings ( UUID  regionUUID)
RegionLightShareData OpenSim.Region.Framework.Interfaces.ISimulationDataStore.LoadRegionWindlightSettings ( UUID  regionUUID)
TerrainData OpenSim.Region.Framework.Interfaces.ISimulationDataStore.LoadTerrain ( UUID  regionID,
int  pSizeX,
int  pSizeY,
int  pSizeZ 
)

Load the latest terrain revision from region storage

Parameters
regionIDthe region UUID
pSizeXthe X dimension of the terrain being filled
pSizeYthe Y dimension of the terrain being filled
pSizeZthe Z dimension of the terrain being filled
Returns
Heightfield data

Implemented in OpenSim.Data.SQLite.SQLiteSimulationData, OpenSim.Data.MySQL.MySQLSimulationData, OpenSim.Data.PGSQL.PGSQLSimulationData, OpenSim.Data.Null.NullDataStore, and OpenSim.Data.Null.NullSimulationData.

double [,] OpenSim.Region.Framework.Interfaces.ISimulationDataStore.LoadTerrain ( UUID  regionID)
void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.RemoveExtra ( UUID  regionID,
string  name 
)
void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.RemoveLandObject ( UUID  globalID)

  • delete from land where UUID=globalID
  • delete from landaccesslist where LandUUID=globalID

Parameters
globalID

Implemented in OpenSim.Data.SQLite.SQLiteSimulationData, OpenSim.Data.PGSQL.PGSQLSimulationData, OpenSim.Data.MySQL.MySQLSimulationData, OpenSim.Data.Null.NullDataStore, and OpenSim.Data.Null.NullSimulationData.

void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.RemoveObject ( UUID  uuid,
UUID  regionUUID 
)
void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.RemoveRegionEnvironmentSettings ( UUID  regionUUID)
void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.RemoveRegionWindlightSettings ( UUID  regionID)
void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.SaveExtra ( UUID  regionID,
string  name,
string  val 
)
void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.Shutdown ( )
void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.StoreLandObject ( ILandObject  Parcel)
void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.StoreObject ( SceneObjectGroup  obj,
UUID  regionUUID 
)
void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.StorePrimInventory ( UUID  primID,
ICollection< TaskInventoryItem items 
)
void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.StoreRegionEnvironmentSettings ( UUID  regionUUID,
string  settings 
)

Store Environment settings into region storage

Parameters
regionUUIDthe region UUID
settingsLLSD string from viewer

Implemented in OpenSim.Data.PGSQL.PGSQLSimulationData, OpenSim.Data.MySQL.MySQLSimulationData, OpenSim.Data.SQLite.SQLiteSimulationData, OpenSim.Data.Null.NullDataStore, and OpenSim.Data.Null.NullSimulationData.

void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.StoreRegionSettings ( RegionSettings  rs)
void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.StoreRegionWindlightSettings ( RegionLightShareData  wl)
void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.StoreTerrain ( TerrainData  terrain,
UUID  regionID 
)

Store a terrain revision in region storage

Parameters
terHeightField data
regionIDregion UUID

Implemented in OpenSim.Data.SQLite.SQLiteSimulationData, OpenSim.Data.MySQL.MySQLSimulationData, OpenSim.Data.PGSQL.PGSQLSimulationData, OpenSim.Data.Null.NullDataStore, and OpenSim.Data.Null.NullSimulationData.

void OpenSim.Region.Framework.Interfaces.ISimulationDataStore.StoreTerrain ( double  terrain[,],
UUID  regionID 
)

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