changeset 2720 | 3c7d9f8c9034 |
parent 2677 | 28dfd0c7510d |
child 2927 | 73b47ce1d805 |
2719:6688934b493a | 2720:3c7d9f8c9034 |
---|---|
115 WifiChannel::GetNDevices (void) const |
115 WifiChannel::GetNDevices (void) const |
116 { |
116 { |
117 return m_deviceList.size (); |
117 return m_deviceList.size (); |
118 } |
118 } |
119 Ptr<NetDevice> |
119 Ptr<NetDevice> |
120 WifiChannel::DoGetDevice (uint32_t i) const |
120 WifiChannel::GetDevice (uint32_t i) const |
121 { |
121 { |
122 return m_deviceList[i].first; |
122 return m_deviceList[i].first; |
123 } |
123 } |
124 |
124 |
125 } // namespace ns3 |
125 } // namespace ns3 |