satellite-loo-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_LOO_CONF_H
22 #define SAT_LOO_CONF_H
23 
25 
26 namespace ns3
27 {
28 
37 {
38  public:
42  static const uint32_t DEFAULT_LOO_PARAMETER_COUNT = 7;
43 
48  static TypeId GetTypeId(void);
49 
53  SatLooConf();
54 
58  ~SatLooConf();
59 
65  std::vector<std::vector<double>> GetParameters(uint32_t set);
66 
70  void DoDispose();
71 
72  private:
76  uint32_t m_elevationCount;
77 
81  uint32_t m_stateCount;
82 
86  std::vector<std::vector<std::vector<double>>> m_looParameters;
87 
91  void Reset();
92 };
93 
94 } // namespace ns3
95 
96 #endif /* SAT_LOO_CONF_H */
Base class for fader configuration classes.
A configuration class for Loo's model fader.
std::vector< std::vector< double > > GetParameters(uint32_t set)
Function for getting the Loo parameters.
uint32_t m_elevationCount
Number of parameters sets.
static const uint32_t DEFAULT_LOO_PARAMETER_COUNT
Default Loo parameter count.
SatLooConf()
Constructor.
std::vector< std::vector< std::vector< double > > > m_looParameters
Loo's model parameters.
uint32_t m_stateCount
Number of states.
void DoDispose()
Do needed dispose actions.
void Reset()
Clear used variables.
static TypeId GetTypeId(void)
NS-3 function for type id.
~SatLooConf()
Destructor.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.