OLD | NEW |
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) 2007,2008 INRIA | 3 * Copyright (c) 2007,2008 INRIA |
4 * 2009 TELEMATICS LAB, Politecnico di Bari | 4 * 2009 TELEMATICS LAB, Politecnico di Bari |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
7 * it under the terms of the GNU General Public License version 2 as | 7 * it under the terms of the GNU General Public License version 2 as |
8 * published by the Free Software Foundation; | 8 * published by the Free Software Foundation; |
9 * | 9 * |
10 * This program is distributed in the hope that it will be useful, | 10 * This program is distributed in the hope that it will be useful, |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 * \brief Check for UGS connections that have packets to transmit. | 115 * \brief Check for UGS connections that have packets to transmit. |
116 * | 116 * |
117 * The method return the UGS connection that have packets to transmits, | 117 * The method return the UGS connection that have packets to transmits, |
118 * according to the MaxLatency specifications. | 118 * according to the MaxLatency specifications. |
119 * \param connection will point to a connection that have packets to be sent | 119 * \param connection will point to a connection that have packets to be sent |
120 * \return true if successful | 120 * \return true if successful |
121 */ | 121 */ |
122 bool SelectUGSConnection (Ptr<WimaxConnection> &connection); | 122 bool SelectUGSConnection (Ptr<WimaxConnection> &connection); |
123 /** | 123 /** |
124 * \brief Check for rtPS connections that have packets to transmit. | 124 * \brief Check for rtPS connections that have packets to transmit. |
| 125 * \param connection will point to a connection that have packets to be sent |
| 126 * \returns false if no connection has packets to be sent, true otherwise |
125 */ | 127 */ |
126 bool SelectRTPSConnection (Ptr<WimaxConnection> &connection); | 128 bool SelectRTPSConnection (Ptr<WimaxConnection> &connection); |
127 /** | 129 /** |
128 * \brief Check for nrtPS connections that have packets to transmit. | 130 * \brief Check for nrtPS connections that have packets to transmit. |
| 131 * \param connection will point to a connection that have packets to be sent |
| 132 * \returns false if no connection has packets to be sent, true otherwise |
129 */ | 133 */ |
130 bool SelectNRTPSConnection (Ptr<WimaxConnection> &connection); | 134 bool SelectNRTPSConnection (Ptr<WimaxConnection> &connection); |
131 /** | 135 /** |
132 * \brief Check for BE connections that have packets to transmit. | 136 * \brief Check for BE connections that have packets to transmit. |
| 137 * \param connection will point to a connection that have packets to be sent |
| 138 * \returns false if no connection has packets to be sent, true otherwise |
133 */ | 139 */ |
134 bool SelectBEConnection (Ptr<WimaxConnection> &connection); | 140 bool SelectBEConnection (Ptr<WimaxConnection> &connection); |
135 | 141 |
136 /** | 142 /** |
137 * \brief Selects a connection from the list of connections having packets to
be sent . | 143 * \brief Selects a connection from the list of connections having packets to
be sent . |
138 * \param connection will point to a connection that have packets to be sent | 144 * \param connection will point to a connection that have packets to be sent |
139 * \returns false if no connection has packets to be sent, true otherwise | 145 * \returns false if no connection has packets to be sent, true otherwise |
140 */ | 146 */ |
141 bool SelectConnection (Ptr<WimaxConnection> &connection); | 147 bool SelectConnection (Ptr<WimaxConnection> &connection); |
142 | 148 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 Ptr<PacketBurst> CreateUgsBurst (ServiceFlow *serviceFlow, | 213 Ptr<PacketBurst> CreateUgsBurst (ServiceFlow *serviceFlow, |
208 WimaxPhy::ModulationType modulationType, uint
32_t availableSymbols); | 214 WimaxPhy::ModulationType modulationType, uint
32_t availableSymbols); |
209 | 215 |
210 private: | 216 private: |
211 std::list<std::pair<OfdmDlMapIe*, Ptr<PacketBurst> > > *m_downlinkBursts; ///<
down link bursts | 217 std::list<std::pair<OfdmDlMapIe*, Ptr<PacketBurst> > > *m_downlinkBursts; ///<
down link bursts |
212 }; | 218 }; |
213 | 219 |
214 } // namespace ns3 | 220 } // namespace ns3 |
215 | 221 |
216 #endif /* BS_SCHEDULER_RTPS_H */ | 222 #endif /* BS_SCHEDULER_RTPS_H */ |
OLD | NEW |