Left: | ||
Right: |
LEFT | RIGHT |
---|---|
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) 2015 Universita' degli Studi di Napoli Federico II | 3 * Copyright (c) 2015 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 |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with this program; if not, write to the Free Software | 15 * along with this program; if not, write to the Free Software |
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
17 * | |
18 * Author: Stefano Avallone <stavallo@unina.it> | |
17 */ | 19 */ |
20 | |
18 #ifndef QUEUE_DISC_CONTAINER_H | 21 #ifndef QUEUE_DISC_CONTAINER_H |
19 #define QUEUE_DISC_CONTAINER_H | 22 #define QUEUE_DISC_CONTAINER_H |
20 | 23 |
21 #include <stdint.h> | 24 #include <stdint.h> |
22 #include <vector> | 25 #include <vector> |
23 #include "ns3/queue-disc.h" | 26 #include "ns3/queue-disc.h" |
24 | 27 |
25 namespace ns3 { | 28 namespace ns3 { |
26 | 29 |
27 /** | 30 /** |
28 * \brief holds a vector of ns3::QueueDisc pointers | 31 * \ingroup traffic-control |
Tommaso Pecorella
2016/02/19 00:51:13
Capitals (and punctuation at the end)
Stefano Avallone
2016/02/21 23:25:57
Done.
| |
32 * | |
33 * \brief Holds a vector of ns3::QueueDisc pointers. | |
29 * | 34 * |
30 * Typically ns-3 QueueDiscs are installed on net devices using a traffic contro l | 35 * Typically ns-3 QueueDiscs are installed on net devices using a traffic contro l |
31 * helper. The helper Install method takes a NetDeviceContainer which holds | 36 * helper. The helper Install method takes a NetDeviceContainer which holds |
32 * some number of Ptr<NetDevice>. For each of the net devices in the | 37 * some number of Ptr<NetDevice>. For each of the net devices in the |
33 * NetDeviceContainer the helper will instantiate a queue disc and install | 38 * NetDeviceContainer the helper will instantiate a queue disc and install |
34 * it to the net device. For each of the queue discs, the helper also | 39 * it to the net device. For each of the queue discs, the helper also |
35 * adds the queue disc into a Container for later use by the caller. | 40 * adds the queue disc into a Container for later use by the caller. |
36 * This is that container used to hold the Ptr<QueueDisc> which are | 41 * This is that container used to hold the Ptr<QueueDisc> which are |
37 * instantiated by the traffic control helper. | 42 * instantiated by the traffic control helper. |
38 */ | 43 */ |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
157 */ | 162 */ |
158 void Add (Ptr<QueueDisc> qDisc); | 163 void Add (Ptr<QueueDisc> qDisc); |
159 | 164 |
160 private: | 165 private: |
161 std::vector<Ptr<QueueDisc> > m_queueDiscs; //!< QueueDiscs smart pointers | 166 std::vector<Ptr<QueueDisc> > m_queueDiscs; //!< QueueDiscs smart pointers |
162 }; | 167 }; |
163 | 168 |
164 } // namespace ns3 | 169 } // namespace ns3 |
165 | 170 |
166 #endif /* QUEUE_DISC_CONTAINER_H */ | 171 #endif /* QUEUE_DISC_CONTAINER_H */ |
LEFT | RIGHT |