Loaders for Dynamic Elements ============================ This text is about following X3D prototypes, which are/will be provided by the sourceforge project http://sourceforge.net/projects/smuos (The Simple Multiuser Online Scenes Project): - SmsLoader (was implemented in step 0033.10 / A.4) - SmsModuleLoader (has been implemented in step 0033.10bf1 / A.4.bugfix1) - SscUboLoader (will be implemented in steps 0033.11/0033.12 or later) All Loaders employ the Browser.createVrmlFromURL() method to load proto instances from URLs. The SmsLoader Prototype (finished in 0033.10) ============================================= This prototype is the "base" of all loaders. It is already used by SscBase to load or unload "Module Related SSC Dispatchers", always, when a module has been registered or unregistered, respectively. Now it is used by the SmsModuleLoader (see below), too and it will also be used by the SscUboLoader (in steps 0033.11 / .12 or later) The SmsModuleLoader Prototype (finished in 0033.10bf1) ====================================================== 1.) External Loading/Unloading of Dynamic Modules (old style) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - In this case, the frame is completely responsible to load and unload the dynamic modules. The SMUOS Framework cannot distinguish static modules from dynamic modules. Optionally, the frame may - use module wrappers - use the "Explicit Registration" feature SscBase provides following fields for this case: - commParam ........... SFNode - output, used to initialize the modules - registerModules ..... MFString - explicit registration of module name(s) - deregisterModules ... MFString - explicit deregistration of module name(s) - registeredModules ... MFString - all registered module names Duties of the frame: - module names MUST be unique (static and dynamic modules) - if gravity shall be present in the modules, then module wrappers MUST be used - if a module name is deleted from "registeredModules", then the frame MUST unload the module 2.) Internal Loading/Unloading of Dynamic Modules (new since 0033.10bf1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The frame provides a