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 #include <stdint.h>
27 #include <vector>
28 
29 namespace ns3
30 {
31 
40 {
41  public:
45  static const uint32_t DEFAULT_RAYLEIGH_PARAMETER_COUNT = 2;
46 
51  static TypeId GetTypeId(void);
52 
57 
62 
68  std::vector<std::vector<double>> GetParameters(uint32_t set);
69 
73  void DoDispose();
74 
75  private:
79  void Reset();
80 
84  uint32_t m_elevationCount;
85 
89  uint32_t m_stateCount;
90 
94  std::vector<std::vector<std::vector<double>>> m_rayleighParameters;
95 };
96 
97 } // namespace ns3
98 
99 #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.