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