OLD | NEW |
(Empty) | |
| 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 CHANNEL_REALIZZATION_H |
| 22 #define CHANNEL_REALIZZATION_H |
| 23 |
| 24 |
| 25 #include <ns3/nstime.h> |
| 26 #include "ns3/object.h" |
| 27 #include "multipath-loss-model.h" |
| 28 #include "path-loss-model.h" |
| 29 #include "shadowing-loss-model.h" |
| 30 #include "penetration-loss-model.h" |
| 31 |
| 32 |
| 33 namespace ns3 { |
| 34 |
| 35 |
| 36 /** |
| 37 * \brief the ChannelRealization class implements channel model· |
| 38 * used by the channel to compute the propagation loss model.· |
| 39 * A ChannelRealization object is created for each couple of UE - eNB.· |
| 40 */ |
| 41 |
| 42 class ChannelRealization : public Object |
| 43 { |
| 44 |
| 45 public: |
| 46 ChannelRealization (); |
| 47 virtual ~ChannelRealization (); |
| 48 |
| 49 static TypeId GetTypeId (void); |
| 50 |
| 51 void SetMultipathLossModel (Ptr<MultipathLossModel> l); |
| 52 void SetPathLossModel (Ptr<PathLossModel> l); |
| 53 void SetShadowingLossModel (Ptr<ShadowingLossModel> l); |
| 54 void SetPenetrationLossModel (Ptr<PenetrationLossModel> l); |
| 55 ·· |
| 56 |
| 57 Ptr<MultipathLossModel> GetMultipathLossModel (void); |
| 58 Ptr<PathLossModel> GetPathLossModel (void); |
| 59 Ptr<ShadowingLossModel> GetShadowingLossModel (void); |
| 60 Ptr<PenetrationLossModel> GetPenetrationLossModel (void); |
| 61 |
| 62 |
| 63 private: |
| 64 |
| 65 Ptr<ShadowingLossModel> m_shadowing; |
| 66 Ptr<PathLossModel> m_pathloss; |
| 67 Ptr<MultipathLossModel> m_multipath; |
| 68 Ptr<PenetrationLossModel> m_penetration; |
| 69 |
| 70 }; |
| 71 |
| 72 |
| 73 } // namespace ns3 |
| 74 |
| 75 #endif /* CHANNEL_REALIZZATION_H */ |
| 76 |
| 77 |
OLD | NEW |