A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
lte-stats-calculator.h
1
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
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: Jaume Nin <jnin@cttc.es>
19
*/
20
21
#ifndef LTE_STATS_CALCULATOR_H_
22
#define LTE_STATS_CALCULATOR_H_
23
24
#include "ns3/object.h"
25
#include "ns3/string.h"
26
#include <map>
27
28
namespace
ns3 {
29
30
class
LteStatsCalculator
:
public
Object
31
{
32
public
:
36
LteStatsCalculator
();
37
41
virtual
~LteStatsCalculator
();
42
43
static
TypeId
GetTypeId (
void
);
44
50
void
SetUlOutputFilename
(std::string outputFilename);
51
55
std::string
GetUlOutputFilename
(
void
);
56
62
void
SetDlOutputFilename
(std::string outputFilename);
63
67
std::string
GetDlOutputFilename
(
void
);
68
73
bool
ExistsImsiPath
(std::string path);
74
80
void
SetImsiPath
(std::string path, uint64_t imsi);
81
86
uint64_t
GetImsiPath
(std::string path);
87
92
bool
ExistsCellIdPath
(std::string path);
93
99
void
SetCellIdPath
(std::string path, uint16_t cellId);
100
105
uint16_t
GetCellIdPath
(std::string path);
106
107
private
:
108
109
std::map<std::string, uint64_t> m_pathImsiMap;
110
std::map<std::string, uint16_t> m_pathCellIdMap;
111
112
std::string m_dlOutputFilename;
113
std::string m_ulOutputFilename;
114
};
115
116
}
// namespace ns3
117
118
#endif
/* LTE_STATS_CALCULATOR_H_ */
ns3::LteStatsCalculator
Definition:
lte-stats-calculator.h:30
ns3::LteStatsCalculator::SetCellIdPath
void SetCellIdPath(std::string path, uint16_t cellId)
Definition:
lte-stats-calculator.cc:118
ns3::LteStatsCalculator::SetUlOutputFilename
void SetUlOutputFilename(std::string outputFilename)
Definition:
lte-stats-calculator.cc:54
ns3::LteStatsCalculator::GetUlOutputFilename
std::string GetUlOutputFilename(void)
Definition:
lte-stats-calculator.cc:60
ns3::LteStatsCalculator::LteStatsCalculator
LteStatsCalculator()
Definition:
lte-stats-calculator.cc:28
ns3::LteStatsCalculator::ExistsCellIdPath
bool ExistsCellIdPath(std::string path)
Definition:
lte-stats-calculator.cc:105
ns3::LteStatsCalculator::SetDlOutputFilename
void SetDlOutputFilename(std::string outputFilename)
Definition:
lte-stats-calculator.cc:66
ns3::LteStatsCalculator::GetCellIdPath
uint16_t GetCellIdPath(std::string path)
Definition:
lte-stats-calculator.cc:125
ns3::LteStatsCalculator::GetImsiPath
uint64_t GetImsiPath(std::string path)
Definition:
lte-stats-calculator.cc:99
ns3::LteStatsCalculator::~LteStatsCalculator
virtual ~LteStatsCalculator()
Definition:
lte-stats-calculator.cc:36
ns3::LteStatsCalculator::SetImsiPath
void SetImsiPath(std::string path, uint64_t imsi)
Definition:
lte-stats-calculator.cc:92
ns3::Object
a base class which provides memory management and object aggregation
Definition:
object.h:63
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:44
ns3::LteStatsCalculator::ExistsImsiPath
bool ExistsImsiPath(std::string path)
Definition:
lte-stats-calculator.cc:79
ns3::LteStatsCalculator::GetDlOutputFilename
std::string GetDlOutputFilename(void)
Definition:
lte-stats-calculator.cc:72
src
lte
helper
lte-stats-calculator.h
Generated on Sun Mar 16 2014 11:25:05 for ns-3 by
1.8.6