OpenSim
|
SimulatorFeatures capability. More...
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 s) |
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 | RemoveRegion (Scene s) |
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 | RegionLoaded (Scene s) |
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 | PostInitialise () |
This is called exactly once after all the shared region-modules have been instanciated and IRegionModuleBase.Initialised. More... | |
void | Close () |
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. More... | |
void | RegisterCaps (UUID agentID, Caps caps) |
void | AddFeature (string name, OSD value) |
bool | RemoveFeature (string name) |
bool | TryGetFeature (string name, out OSD value) |
OSDMap | GetFeatures () |
Properties | |
string | Name [get] |
Type | ReplaceableInterface [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... | |
Events | |
SimulatorFeaturesRequestDelegate | OnSimulatorFeaturesRequest |
Events inherited from OpenSim.Region.Framework.Interfaces.ISimulatorFeaturesModule | |
SimulatorFeaturesRequestDelegate | OnSimulatorFeaturesRequest |
SimulatorFeatures capability.
This is required for uploading Mesh. Since is accepts an open-ended response, we also send more information for viewers that care to interpret it.
NOTE: Part of this code was adapted from the Aurora project, specifically the normal part of the response in the capability handler.
Definition at line 58 of file SimulatorFeaturesModule.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ISimulatorFeaturesModule.
Definition at line 207 of file SimulatorFeaturesModule.cs.
|
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.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 111 of file SimulatorFeaturesModule.cs.
|
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 133 of file SimulatorFeaturesModule.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ISimulatorFeaturesModule.
Definition at line 225 of file SimulatorFeaturesModule.cs.
|
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.
source | A IConfigSource |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 80 of file SimulatorFeaturesModule.cs.
|
inline |
This is called exactly once after all the shared region-modules have been instanciated and IRegionModuleBase.Initialised.
Implements OpenSim.Region.Framework.Interfaces.ISharedRegionModule.
Definition at line 129 of file SimulatorFeaturesModule.cs.
|
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.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 124 of file SimulatorFeaturesModule.cs.
|
inline |
Definition at line 197 of file SimulatorFeaturesModule.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ISimulatorFeaturesModule.
Definition at line 213 of file SimulatorFeaturesModule.cs.
|
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.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 119 of file SimulatorFeaturesModule.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ISimulatorFeaturesModule.
Definition at line 219 of file SimulatorFeaturesModule.cs.
|
get |
Definition at line 135 of file SimulatorFeaturesModule.cs.
|
get |
Definition at line 138 of file SimulatorFeaturesModule.cs.
SimulatorFeaturesRequestDelegate OpenSim.Region.ClientStack.Linden.SimulatorFeaturesModule.OnSimulatorFeaturesRequest |
Definition at line 63 of file SimulatorFeaturesModule.cs.