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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 virtual void AddSpectrumPropagationLossModel (Ptr<SpectrumPropagationLossModel
> loss); | 81 virtual void AddSpectrumPropagationLossModel (Ptr<SpectrumPropagationLossModel
> loss); |
82 virtual void SetPropagationDelayModel (Ptr<PropagationDelayModel> delay); | 82 virtual void SetPropagationDelayModel (Ptr<PropagationDelayModel> delay); |
83 virtual void AddRx (Ptr<SpectrumPhy> phy); | 83 virtual void AddRx (Ptr<SpectrumPhy> phy); |
84 virtual void StartTx (Ptr<PacketBurst> p, Ptr <SpectrumValue> txPsd, SpectrumT
ype st, Time duration, Ptr<SpectrumPhy> sender); | 84 virtual void StartTx (Ptr<PacketBurst> p, Ptr <SpectrumValue> txPsd, SpectrumT
ype st, Time duration, Ptr<SpectrumPhy> sender); |
85 | 85 |
86 | 86 |
87 // inherited from Channel | 87 // inherited from Channel |
88 virtual uint32_t GetNDevices (void) const; | 88 virtual uint32_t GetNDevices (void) const; |
89 virtual Ptr<NetDevice> GetDevice (uint32_t i) const; | 89 virtual Ptr<NetDevice> GetDevice (uint32_t i) const; |
90 | 90 |
| 91 virtual Ptr<SpectrumPropagationLossModel> GetSpectrumPropagationLossModel (voi
d); |
| 92 |
91 | 93 |
92 protected: | 94 protected: |
93 void DoDispose (); | 95 void DoDispose (); |
94 | 96 |
95 | 97 |
96 | 98 |
97 private: | 99 private: |
98 · | 100 · |
99 | 101 |
100 /**· | 102 /**· |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 std::vector<Ptr<SpectrumPhy> > m_phyVector; | 174 std::vector<Ptr<SpectrumPhy> > m_phyVector; |
173 }; | 175 }; |
174 | 176 |
175 | 177 |
176 | 178 |
177 } | 179 } |
178 | 180 |
179 | 181 |
180 | 182 |
181 #endif /* MULTI_MODEL_SPECTRUM_CHANNEL_H */ | 183 #endif /* MULTI_MODEL_SPECTRUM_CHANNEL_H */ |
OLD | NEW |