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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 // inherited from Channel | 126 // inherited from Channel |
127 virtual uint32_t GetNDevices (void) const; | 127 virtual uint32_t GetNDevices (void) const; |
128 virtual Ptr<NetDevice> GetDevice (uint32_t i) const; | 128 virtual Ptr<NetDevice> GetDevice (uint32_t i) const; |
129 | 129 |
130 /** | 130 /** |
131 * Get the frequency-dependent propagation loss model. | 131 * Get the frequency-dependent propagation loss model. |
132 * \returns a pointer to the propagation loss model. | 132 * \returns a pointer to the propagation loss model. |
133 */ | 133 */ |
134 virtual Ptr<SpectrumPropagationLossModel> GetSpectrumPropagationLossModel (voi
d); | 134 virtual Ptr<SpectrumPropagationLossModel> GetSpectrumPropagationLossModel (voi
d); |
135 | 135 |
| 136 /** |
| 137 * TracedCallback signature for Ptr<const SpectrumSignalParameters>. |
| 138 * |
| 139 * \param [in] params SpectrumSignalParameters instance. |
| 140 */ |
| 141 typedef void (* SignalParametersTracedCallback) (Ptr<SpectrumSignalParameters>
params); |
| 142 |
136 | 143 |
137 protected: | 144 protected: |
138 void DoDispose (); | 145 void DoDispose (); |
139 | 146 |
140 private: | 147 private: |
141 /** | 148 /** |
142 * This method checks if m_rxSpectrumModelInfoMap contains an entry | 149 * This method checks if m_rxSpectrumModelInfoMap contains an entry |
143 * for the given TX SpectrumModel. If such entry exists, it returns | 150 * for the given TX SpectrumModel. If such entry exists, it returns |
144 * an interator pointing to it. If not, it creates a new entry in | 151 * an interator pointing to it. If not, it creates a new entry in |
145 * m_txSpectrumMpodelInfoMap, and returns an iterator to it. | 152 * m_txSpectrumMpodelInfoMap, and returns an iterator to it. |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 * Any device above this loss is considered out of range. | 207 * Any device above this loss is considered out of range. |
201 */ | 208 */ |
202 double m_maxLossDb; | 209 double m_maxLossDb; |
203 | 210 |
204 /** | 211 /** |
205 * \deprecated The non-const \c Ptr<SpectrumPhy> argument | 212 * \deprecated The non-const \c Ptr<SpectrumPhy> argument |
206 * is deprecated and will be changed to \c Ptr<const SpectrumPhy> | 213 * is deprecated and will be changed to \c Ptr<const SpectrumPhy> |
207 * in a future release. | 214 * in a future release. |
208 */ | 215 */ |
209 TracedCallback<Ptr<SpectrumPhy>, Ptr<SpectrumPhy>, double > m_pathLossTrace; | 216 TracedCallback<Ptr<SpectrumPhy>, Ptr<SpectrumPhy>, double > m_pathLossTrace; |
| 217 /** |
| 218 * Traced callback for SpectrumSignalParameters in StartTx requests |
| 219 */ |
| 220 TracedCallback<Ptr<SpectrumSignalParameters> > m_txSigParamsTrace; |
210 }; | 221 }; |
211 | 222 |
212 | 223 |
213 | 224 |
214 } | 225 } |
215 | 226 |
216 | 227 |
217 | 228 |
218 #endif /* MULTI_MODEL_SPECTRUM_CHANNEL_H */ | 229 #endif /* MULTI_MODEL_SPECTRUM_CHANNEL_H */ |
OLD | NEW |