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 /* | 3 /* |
4 * Copyright (c) 2009 CTTC | 4 * Copyright (c) 2009 CTTC |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
7 * it under the terms of the GNU General Public License version 2 as | 7 * it under the terms of the GNU General Public License version 2 as |
8 * published by the Free Software Foundation; | 8 * published by the Free Software Foundation; |
9 * | 9 * |
10 * This program is distributed in the hope that it will be useful, | 10 * This program is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 * GNU General Public License for more details. | 13 * GNU General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU General Public License | 15 * You should have received a copy of the GNU General Public License |
16 * along with this program; if not, write to the Free Software | 16 * along with this program; if not, write to the Free Software |
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 * | 18 * |
19 * Author: Nicola Baldo <nbaldo@cttc.es> | 19 * Author: Nicola Baldo <nbaldo@cttc.es> |
20 */ | 20 */ |
21 | 21 |
22 #include <ns3/spectrum-value.h> | 22 #include <ns3/spectrum-value.h> |
23 #include <ns3/math.h> | 23 #include <ns3/math.h> |
24 #include <ns3/log.h> | 24 #include <ns3/log.h> |
25 | 25 |
| 26 #ifdef WIN32 |
| 27 #include "winport.h" |
| 28 #endif |
| 29 |
26 NS_LOG_COMPONENT_DEFINE ("SpectrumValue"); | 30 NS_LOG_COMPONENT_DEFINE ("SpectrumValue"); |
27 | 31 |
28 | 32 |
29 namespace ns3 { | 33 namespace ns3 { |
30 | 34 |
31 | 35 |
32 SpectrumValue::SpectrumValue () | 36 SpectrumValue::SpectrumValue () |
33 { | 37 { |
34 } | 38 } |
35 | 39 |
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 SpectrumValue res = *this; | 684 SpectrumValue res = *this; |
681 res.ShiftRight (n); | 685 res.ShiftRight (n); |
682 return res; | 686 return res; |
683 } | 687 } |
684 | 688 |
685 | 689 |
686 | 690 |
687 | 691 |
688 } // namespace ns3 | 692 } // namespace ns3 |
689 | 693 |
OLD | NEW |