[Ns-bugs] [Bug 167] New: helper API alignment patch

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Sun Apr 13 14:43:18 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=167

           Summary: helper API alignment patch
           Product: ns-3
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: helpers
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: tomh at tomh.org


This proposed patch:
- changes MobilityHelper::Layout to MobilityHelper::Install, and
OlsrHelper::Enable to OlsrHelper::Install
  -- basically, trying to bring all helpers to uniformly use "Install()" as the
method name for either adding interfaces or aggregating components

- prints out an error in OlsrHelper::Install or InternetStackHelper::Install if
the user tries to call it twice on the same node (rather than letting
Object::AggregateObject() assert-- this should be more helpful error message

- reverts the change I made in response to bug 162 to allow AddInternetStack()
to not fail when it is called twice on the same note (enforces the policy that
attempts to aggregate objects twice are programming errors)


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list