View | Details | Raw Unified | Return to bug 1960
Collapse All | Expand All

(-)a/RELEASE_NOTES (+1 lines)
 Lines 36-41    Link Here 
36
- Bug 1943 - Waveform generator signal duration calc error
36
- Bug 1943 - Waveform generator signal duration calc error
37
- Bug 1951 - AODV does not update nexthop for 1-hop nodes
37
- Bug 1951 - AODV does not update nexthop for 1-hop nodes
38
- Bug 1955 - The IPv4 identification field should be unique per (source, destination, protocol) tuple
38
- Bug 1955 - The IPv4 identification field should be unique per (source, destination, protocol) tuple
39
- Bug 1960 - Wrong information on index range, about Node::GetDevice
39
40
40
Known issues
41
Known issues
41
------------
42
------------
(-)a/src/network/model/node.h (-12 / +12 lines)
 Lines 84-102    Link Here 
84
  uint32_t GetSystemId (void) const;
84
  uint32_t GetSystemId (void) const;
85
85
86
  /**
86
  /**
87
   * \brief Associate a NetDevice to this node.
88
   *
87
   * \param device NetDevice to associate to this node.
89
   * \param device NetDevice to associate to this node.
88
   * \returns the index of the NetDevice into the Node's list of
90
   * \returns the index of the NetDevice into the Node's list of
89
   *          NetDevice.
91
   *          NetDevice.
90
   *
91
   * Associate this device to this node.
92
   */
92
   */
93
  uint32_t AddDevice (Ptr<NetDevice> device);
93
  uint32_t AddDevice (Ptr<NetDevice> device);
94
  /**
94
  /**
95
   * \brief Retrieve the index-th NetDevice associated to this node.
96
   *
95
   * \param index the index of the requested NetDevice
97
   * \param index the index of the requested NetDevice
96
   * \returns the requested NetDevice associated to this Node.
98
   * \returns the requested NetDevice.
97
   *
98
   * The indexes used by the GetDevice method start at one and
99
   * end at GetNDevices ()
100
   */
99
   */
101
  Ptr<NetDevice> GetDevice (uint32_t index) const;
100
  Ptr<NetDevice> GetDevice (uint32_t index) const;
102
  /**
101
  /**
 Lines 106-127    Link Here 
106
  uint32_t GetNDevices (void) const;
105
  uint32_t GetNDevices (void) const;
107
106
108
  /**
107
  /**
108
   * \brief Associate an Application to this Node.
109
   *
109
   * \param application Application to associate to this node.
110
   * \param application Application to associate to this node.
110
   * \returns the index of the Application within the Node's list
111
   * \returns the index of the Application within the Node's list
111
   *          of Application.
112
   *          of Application.
112
   *
113
   * Associated this Application to this Node. 
114
   */
113
   */
115
  uint32_t AddApplication (Ptr<Application> application);
114
  uint32_t AddApplication (Ptr<Application> application);
116
  /**
115
  /**
117
   * \param index
116
   * \brief Retrieve the index-th Application associated to this node.
118
   * \returns the application associated to this requested index
117
   *
119
   *          within this Node.
118
   * \param index the index of the requested Application
119
   * \returns the requested Application.
120
   */
120
   */
121
  Ptr<Application> GetApplication (uint32_t index) const;
121
  Ptr<Application> GetApplication (uint32_t index) const;
122
122
123
  /**
123
  /**
124
   * \returns the number of applications associated to this Node.
124
   * \returns the number of Application instances associated to this Node.
125
   */
125
   */
126
  uint32_t GetNApplications (void) const;
126
  uint32_t GetNApplications (void) const;
127
127

Return to bug 1960