close Warning: BrowserModule failed with ConfigurationError: Look in the Trac log for more information.

Changes between Version 21 and Version 22 of OverSimDevelop


Ignore:
Timestamp:
Apr 28, 2009, 1:50:53 PM (16 years ago)
Author:
heep
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OverSimDevelop

    v21 v22  
    550550{{{
    551551#!cpp
    552 SimpleOverlay.overlayTerminal[5].overlay.myOverlay.enableDrops = true
    553 }}}
    554 
    555 In this example, we are working with the network SimpleOverlay. From there, we retrieve the overlayTerminal array, get index 5, and then its overlay module. For that module, we'll use the submodule myOverlay, and set the parameter enableDrops to true.
    556 
    557 This case, however, is too specific. We may not always work with the SimpleOverlay network. Or we may need that parameter to be set for all nodes. For those cases the wildcards * and ** are of use. For example:
     552SimpleUnderlayNetwork.overlayTerminal[5].overlay.myOverlay.enableDrops = true
     553}}}
     554
     555In this example, we are working with the network "SimpleUnderlayNetwork". From there, we retrieve the overlayTerminal array, get index 5, and then its overlay module. For that module, we'll use the submodule myOverlay, and set the parameter enableDrops to true.
     556
     557This case, however, is too specific. We may not always work with the SimpleUnderlayNetwork. Or we may need that parameter to be set for all nodes. For those cases the wildcards * and ** are of use. For example:
    558558
    559559{{{