LEFT | RIGHT |
(no file at all) | |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II | 3 * Copyright (c) 2017 Universita' degli Studi di Napoli Federico II |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 m_queueLimits = ql; | 138 m_queueLimits = ql; |
139 } | 139 } |
140 | 140 |
141 Ptr<QueueLimits> | 141 Ptr<QueueLimits> |
142 NetDeviceQueue::GetQueueLimits () | 142 NetDeviceQueue::GetQueueLimits () |
143 { | 143 { |
144 NS_LOG_FUNCTION (this); | 144 NS_LOG_FUNCTION (this); |
145 return m_queueLimits; | 145 return m_queueLimits; |
146 } | 146 } |
147 | 147 |
| 148 void |
| 149 NetDeviceQueue::DoNsLog (const enum LogLevel level, std::string str) |
| 150 { |
| 151 NS_LOG (level, str); |
| 152 } |
| 153 |
148 | 154 |
149 NS_OBJECT_ENSURE_REGISTERED (NetDeviceQueueInterface); | 155 NS_OBJECT_ENSURE_REGISTERED (NetDeviceQueueInterface); |
150 | 156 |
151 TypeId NetDeviceQueueInterface::GetTypeId (void) | 157 TypeId NetDeviceQueueInterface::GetTypeId (void) |
152 { | 158 { |
153 static TypeId tid = TypeId ("ns3::NetDeviceQueueInterface") | 159 static TypeId tid = TypeId ("ns3::NetDeviceQueueInterface") |
154 .SetParent<Object> () | 160 .SetParent<Object> () |
155 .SetGroupName("Network") | 161 .SetGroupName("Network") |
156 .AddConstructor<NetDeviceQueueInterface> () | 162 .AddConstructor<NetDeviceQueueInterface> () |
157 ; | 163 ; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 m_selectQueueCallback = cb; | 229 m_selectQueueCallback = cb; |
224 } | 230 } |
225 | 231 |
226 NetDeviceQueueInterface::SelectQueueCallback | 232 NetDeviceQueueInterface::SelectQueueCallback |
227 NetDeviceQueueInterface::GetSelectQueueCallback (void) const | 233 NetDeviceQueueInterface::GetSelectQueueCallback (void) const |
228 { | 234 { |
229 return m_selectQueueCallback; | 235 return m_selectQueueCallback; |
230 } | 236 } |
231 | 237 |
232 } // namespace ns3 | 238 } // namespace ns3 |
LEFT | RIGHT |