satellite-rayleigh-conf.h
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2 /*
3  * Copyright (c) 2013 Magister Solutions Ltd
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: Frans Laakso <frans.laakso@magister.fi>
19  */
20 
21 #ifndef SAT_RAYLEIGH_CONF_H
22 #define SAT_RAYLEIGH_CONF_H
23 
25 
26 namespace ns3
27 {
28 
37 {
38  public:
42  static const uint32_t DEFAULT_RAYLEIGH_PARAMETER_COUNT = 2;
43 
48  static TypeId GetTypeId(void);
49 
54 
59 
65  std::vector<std::vector<double>> GetParameters(uint32_t set);
66 
70  void DoDispose();
71 
72  private:
76  void Reset();
77 
81  uint32_t m_elevationCount;
82 
86  uint32_t m_stateCount;
87 
91  std::vector<std::vector<std::vector<double>>> m_rayleighParameters;
92 };
93 
94 } // namespace ns3
95 
96 #endif /* SAT_RAYLEIGH_CONF_H */
Base class for fader configuration classes.
A configuration class for Rayleigh model fader.
uint32_t m_stateCount
Number of states.
std::vector< std::vector< double > > GetParameters(uint32_t set)
Function for getting the Rayleigh parameters.
static const uint32_t DEFAULT_RAYLEIGH_PARAMETER_COUNT
Default Rayleigh parameter count.
void Reset()
Clear used variables.
std::vector< std::vector< std::vector< double > > > m_rayleighParameters
Rayleigh model parameters.
static TypeId GetTypeId(void)
NS-3 function for type id.
uint32_t m_elevationCount
Number of parameters sets.
void DoDispose()
Do needed dispose actions.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.