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) 2009 CTTC | 3 * Copyright (c) 2009 CTTC |
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 Ptr<SpectrumPhy> sender); | 55 Ptr<SpectrumPhy> sender); |
56 | 56 |
57 | 57 |
58 // inherited from Channel | 58 // inherited from Channel |
59 virtual uint32_t GetNDevices (void) const; | 59 virtual uint32_t GetNDevices (void) const; |
60 virtual Ptr<NetDevice> GetDevice (uint32_t i) const; | 60 virtual Ptr<NetDevice> GetDevice (uint32_t i) const; |
61 | 61 |
62 | 62 |
63 typedef std::vector<Ptr<SpectrumPhy> > PhyList; | 63 typedef std::vector<Ptr<SpectrumPhy> > PhyList; |
64 | 64 |
| 65 virtual Ptr<SpectrumPropagationLossModel> GetSpectrumPropagationLossModel (voi
d); |
65 | 66 |
66 private: | 67 private: |
67 | 68 |
68 virtual void DoDispose (); | 69 virtual void DoDispose (); |
69 | 70 |
70 /** | 71 /** |
71 * used internally to reschedule transmission after the propagation delay | 72 * used internally to reschedule transmission after the propagation delay |
72 * | 73 * |
73 * | |
74 * @param p | 74 * @param p |
75 * @param rxPowerSpectrum | 75 * @param rxPowerSpectrum |
76 * @param st | 76 * @param st |
77 * @param duration | 77 * @param duration |
78 * @param receiver | 78 * @param receiver |
79 */ | 79 */ |
80 virtual void StartRx (Ptr<PacketBurst> p, Ptr <SpectrumValue> rxPowerSpectrum,
SpectrumType st, Time duration, Ptr<SpectrumPhy> receiver); | 80 virtual void StartRx (Ptr<PacketBurst> p, Ptr <SpectrumValue> rxPowerSpectrum,
SpectrumType st, Time duration, Ptr<SpectrumPhy> receiver); |
81 | 81 |
82 /** | 82 /** |
83 * list of SpectrumPhy instances attached to | 83 * list of SpectrumPhy instances attached to |
(...skipping 23 matching lines...) Expand all Loading... |
107 | 107 |
108 }; | 108 }; |
109 | 109 |
110 | 110 |
111 | 111 |
112 } | 112 } |
113 | 113 |
114 | 114 |
115 | 115 |
116 #endif /* SINGLE_MODEL_SPECTRUM_CHANNEL_H */ | 116 #endif /* SINGLE_MODEL_SPECTRUM_CHANNEL_H */ |
OLD | NEW |