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) 2007,2008 INRIA | 3 * Copyright (c) 2007,2008 INRIA |
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 Ptr<Packet> Peek (MacHeaderType::HeaderType packetType) const; | 111 Ptr<Packet> Peek (MacHeaderType::HeaderType packetType) const; |
112 /** | 112 /** |
113 * \brief Two versions for SS without Generic MAC Header parameter, as SS's | 113 * \brief Two versions for SS without Generic MAC Header parameter, as SS's |
114 * scheduler does not require to know the CID in Generic MAC Header. | 114 * scheduler does not require to know the CID in Generic MAC Header. |
115 * \param packetType the type of the packet | 115 * \param packetType the type of the packet |
116 * \param timeStamp the timestamp of the packet | 116 * \param timeStamp the timestamp of the packet |
117 * \return the first packet in the queue | 117 * \return the first packet in the queue |
118 */ | 118 */ |
119 Ptr<Packet> Peek (MacHeaderType::HeaderType packetType, Time &timeStamp) const
; | 119 Ptr<Packet> Peek (MacHeaderType::HeaderType packetType, Time &timeStamp) const
; |
120 | 120 |
121 /// Check if queue is empty | 121 /** |
| 122 * Check if queue is empty |
| 123 * \returns true if empty |
| 124 */ |
122 bool IsEmpty (void) const; | 125 bool IsEmpty (void) const; |
123 | 126 |
124 /** | 127 /** |
125 * Exclusively for SS. | 128 * Exclusively for SS. |
126 * \return true if queue is empty of type packetType | 129 * \return true if queue is empty of type packetType |
127 * \param packetType packet type to check | 130 * \param packetType packet type to check |
128 */ | 131 */ |
129 bool IsEmpty (MacHeaderType::HeaderType packetType) const; | 132 bool IsEmpty (MacHeaderType::HeaderType packetType) const; |
130 | 133 |
131 /** | 134 /** |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 /** | 269 /** |
267 * Get packet queue function | 270 * Get packet queue function |
268 * \returns the packet queue | 271 * \returns the packet queue |
269 */ | 272 */ |
270 const WimaxMacQueue::PacketQueue & GetPacketQueue (void) const; | 273 const WimaxMacQueue::PacketQueue & GetPacketQueue (void) const; |
271 }; | 274 }; |
272 | 275 |
273 } // namespace ns3 | 276 } // namespace ns3 |
274 | 277 |
275 #endif /* WIMAX_MAC_QUEUE_H */ | 278 #endif /* WIMAX_MAC_QUEUE_H */ |
LEFT | RIGHT |