src/lte/model/penetration-loss-model.h
changeset 8749 4462ac63d4cf
parent 8748 87a141a38088
parent 8747 2aec19a85c73
child 8750 b3db7d51f260
child 8765 b89660102b63
equal deleted inserted replaced
8748:87a141a38088 8749:4462ac63d4cf
     1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
       
     2 /*
       
     3  * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari
       
     4  *
       
     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
       
     7  * published by the Free Software Foundation;
       
     8  *
       
     9  * This program is distributed in the hope that it will be useful,
       
    10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    12  * GNU General Public License for more details.
       
    13  *
       
    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
       
    16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
       
    17  *
       
    18  * Author: Giuseppe Piro  <g.piro@poliba.it>
       
    19  */
       
    20 
       
    21 #ifndef PENETRATION_LOSS_MODEL_H
       
    22 #define PENETRATION_LOSS_MODEL_H
       
    23 
       
    24 
       
    25 #include "discrete-time-loss-model.h"
       
    26 
       
    27 
       
    28 namespace ns3 {
       
    29 
       
    30 /**
       
    31  * \ingroup lte
       
    32  *
       
    33  * \brief This class models the propagation loss model due to the penetration loss
       
    34  */
       
    35 class PenetrationLossModel : public DiscreteTimeLossModel
       
    36 {
       
    37 
       
    38 public:
       
    39   PenetrationLossModel ();
       
    40   virtual ~PenetrationLossModel ();
       
    41 
       
    42   static TypeId GetTypeId (void);
       
    43 
       
    44   /**
       
    45    * Set the value of the penetration loss model, expressed in dB
       
    46    * \param pnl the penetration loss value
       
    47    */
       
    48   void SetValue (double pnl);
       
    49 
       
    50   /**
       
    51    * Get the value of the penetration loss model, expressed in dB
       
    52    * \return the value of the penetration loss model
       
    53    */
       
    54   double GetValue (void);
       
    55 
       
    56 private:
       
    57   double m_pnl;
       
    58 };
       
    59 
       
    60 }
       
    61 
       
    62 #endif /* PENETRATION_LOSS_MODEL_H */