dlburst.h
上传用户:hzie11
上传日期:2013-10-07
资源大小:1487k
文件大小:2k
源码类别:

网络

开发平台:

C/C++

  1. /* This software was developed at the National Institute of Standards and
  2.  * Technology by employees of the Federal Government in the course of
  3.  * their official duties. Pursuant to title 17 Section 105 of the United
  4.  * States Code this software is not subject to copyright protection and
  5.  * is in the public domain.
  6.  * NIST assumes no responsibility whatsoever for its use by other parties,
  7.  * and makes no guarantees, expressed or implied, about its quality,
  8.  * reliability, or any other characteristic.
  9.  * <BR>
  10.  * We would appreciate acknowledgement if the software is used.
  11.  * <BR>
  12.  * NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND
  13.  * DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING
  14.  * FROM THE USE OF THIS SOFTWARE.
  15.  * </PRE></P>
  16.  * @author  rouil
  17.  */
  18. #ifndef DLBURST_H
  19. #define DLBURST_H
  20. #include "burst.h"
  21. /* Defines the OFDM DIUC values */
  22. enum diuc_t {
  23.   DIUC_STC_ZONE=0,
  24.   //1-11 reserved for burst profiles
  25.   DIUC_PROFILE_1,
  26.   DIUC_PROFILE_2,
  27.   DIUC_PROFILE_3,
  28.   DIUC_PROFILE_4,
  29.   DIUC_PROFILE_5,
  30.   DIUC_PROFILE_6,
  31.   DIUC_PROFILE_7,
  32.   DIUC_PROFILE_8,
  33.   DIUC_PROFILE_9,
  34.   DIUC_PROFILE_10,
  35.   DIUC_PROFILE_11,
  36.   //12 is reserved
  37.   DIUC_GAP=13,
  38.   DIUC_END_OF_MAP,
  39.   DIUC_EXT_DIUC
  40. };
  41. /**
  42.  * Downlink Burst Description
  43.  */
  44. class DlBurst : public Burst
  45. {
  46.  public:
  47.   /**
  48.    * Default contructor
  49.    * @param phypdu The PhyPdu where it is located
  50.    */
  51.   DlBurst (PhyPdu *phypdu);
  52.   /**
  53.    * Return true if preamble is present in the burst
  54.    * @return true if preamble is present in the burst
  55.    */
  56.   inline bool isPreamble( ) { return preamble_; }
  57.   /**
  58.    * Set the preamble flag for the burst
  59.    * @param preamble The flag
  60.    */
  61.   inline void setPreamble( bool preamble ) { preamble_ = preamble; }
  62.   
  63.  private:
  64.   /**
  65.    * Indicate if a preamble is included in the burst of not
  66.    */
  67.   bool preamble_;
  68. };
  69. #endif