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,2009 INRIA, UDcast | 3 * Copyright (c) 2007,2008,2009 INRIA, UDcast |
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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 * Set FEC code type | 294 * Set FEC code type |
295 * \param fecCodeType the FEC code type | 295 * \param fecCodeType the FEC code type |
296 */ | 296 */ |
297 void SetFecCodeType (uint8_t fecCodeType); | 297 void SetFecCodeType (uint8_t fecCodeType); |
298 | 298 |
299 /** | 299 /** |
300 * Get type functon | 300 * Get type functon |
301 * \returns the type | 301 * \returns the type |
302 */ | 302 */ |
303 uint8_t GetType (void) const; | 303 uint8_t GetType (void) const; |
304 /// Get length field | 304 /** \returns the length field */ |
305 uint8_t GetLength (void) const; | 305 uint8_t GetLength (void) const; |
306 /// Get DIUC field | 306 /** \returns the DIUC field */ |
307 uint8_t GetDiuc (void) const; | 307 uint8_t GetDiuc (void) const; |
308 | 308 |
309 /// Get FEC code type functon | 309 /** \returns the FEC code type */ |
310 uint8_t GetFecCodeType (void) const; | 310 uint8_t GetFecCodeType (void) const; |
311 | 311 |
312 /// Get size | 312 /** \returns the size */ |
313 uint16_t GetSize (void) const; | 313 uint16_t GetSize (void) const; |
314 | 314 |
315 /// Write item | 315 /** |
| 316 * Write item |
| 317 * \param start the starting item iterator |
| 318 * \returns the iterator |
| 319 */ |
316 Buffer::Iterator Write (Buffer::Iterator start) const; | 320 Buffer::Iterator Write (Buffer::Iterator start) const; |
317 /// Read item | 321 /** |
| 322 * Read item |
| 323 * \param start the starting item iterator |
| 324 * \returns the iterator |
| 325 */ |
318 Buffer::Iterator Read (Buffer::Iterator start); | 326 Buffer::Iterator Read (Buffer::Iterator start); |
319 private: | 327 private: |
320 uint8_t m_type; ///< type | 328 uint8_t m_type; ///< type |
321 uint8_t m_length; ///< length | 329 uint8_t m_length; ///< length |
322 uint8_t m_diuc; ///< diuc | 330 uint8_t m_diuc; ///< diuc |
323 | 331 |
324 // TLV Encoded information | 332 // TLV Encoded information |
325 uint8_t m_fecCodeType; ///< FEC code type | 333 uint8_t m_fecCodeType; ///< FEC code type |
326 }; | 334 }; |
327 | 335 |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 private: | 595 private: |
588 uint8_t m_dcdCount; ///< DCD count | 596 uint8_t m_dcdCount; ///< DCD count |
589 Mac48Address m_baseStationId; ///< base station ID | 597 Mac48Address m_baseStationId; ///< base station ID |
590 std::list<OfdmDlMapIe> m_dlMapElements; ///< DL Map elements | 598 std::list<OfdmDlMapIe> m_dlMapElements; ///< DL Map elements |
591 // m_paddingNibble; //fields to be implemented later on: | 599 // m_paddingNibble; //fields to be implemented later on: |
592 }; | 600 }; |
593 | 601 |
594 } // namespace ns3 | 602 } // namespace ns3 |
595 | 603 |
596 #endif /* DL_MAP_H */ | 604 #endif /* DL_MAP_H */ |
OLD | NEW |