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
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
lte-test-phy-error-model.h
Go to the documentation of this file.
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: Marco Miozzo <marco.miozzo@cttc.es>
19
*/
20
21
#ifndef LENA_TEST_PHY_ERROR_MODEL_H
22
#define LENA_TEST_PHY_ERROR_MODEL_H
23
24
#include "ns3/simulator.h"
25
#include "ns3/test.h"
26
27
28
namespace
ns3 {
29
30
38
class
LenaDataPhyErrorModelTestCase
:
public
TestCase
39
{
40
public
:
41
LenaDataPhyErrorModelTestCase
(uint16_t nUser, uint16_t dist, uint16_t tbSize,
double
refBler, uint16_t toleranceRxPackets);
42
virtual
~LenaDataPhyErrorModelTestCase
();
43
44
private
:
45
virtual
void
DoRun
(
void
);
46
static
std::string
BuildNameString
(uint16_t nUser, uint16_t dist);
47
uint16_t
m_nUser
;
48
uint16_t
m_dist
;
49
double
m_blerRef
;
50
uint16_t
m_toleranceRxPackets
;
51
52
};
53
54
55
56
class
LenaDlCtrlPhyErrorModelTestCase
:
public
TestCase
57
{
58
public
:
59
LenaDlCtrlPhyErrorModelTestCase
(uint16_t nEnbr, uint16_t dist, uint16_t tbSize,
double
refBler);
60
virtual
~LenaDlCtrlPhyErrorModelTestCase
();
61
62
private
:
63
virtual
void
DoRun
(
void
);
64
static
std::string
BuildNameString
(uint16_t nUser, uint16_t dist);
65
uint16_t
m_nEnb
;
66
uint16_t
m_dist
;
67
double
m_blerRef
;
68
69
};
70
71
72
73
class
LenaTestPhyErrorModelrSuite
:
public
TestSuite
74
{
75
public
:
76
LenaTestPhyErrorModelrSuite
();
77
};
78
79
80
81
82
}
// namespace ns3
83
84
85
#endif
/* LENA_TEST_PHY_ERROR_MODEL_H */
ns3::LenaDlCtrlPhyErrorModelTestCase::DoRun
virtual void DoRun(void)
Implementation to actually run this TestCase.
Definition:
lte-test-phy-error-model.cc:274
ns3::LenaDataPhyErrorModelTestCase::BuildNameString
static std::string BuildNameString(uint16_t nUser, uint16_t dist)
Definition:
lte-test-phy-error-model.cc:105
ns3::LenaDataPhyErrorModelTestCase::LenaDataPhyErrorModelTestCase
LenaDataPhyErrorModelTestCase(uint16_t nUser, uint16_t dist, uint16_t tbSize, double refBler, uint16_t toleranceRxPackets)
Definition:
lte-test-phy-error-model.cc:112
ns3::TestSuite
A suite of tests to run.
Definition:
test.h:1025
ns3::LenaDlCtrlPhyErrorModelTestCase
Definition:
lte-test-phy-error-model.h:56
ns3::LenaTestPhyErrorModelrSuite
Definition:
lte-test-phy-error-model.h:73
ns3::LenaDataPhyErrorModelTestCase::m_dist
uint16_t m_dist
Definition:
lte-test-phy-error-model.h:48
ns3::LenaDataPhyErrorModelTestCase::m_blerRef
double m_blerRef
Definition:
lte-test-phy-error-model.h:49
ns3::LenaDataPhyErrorModelTestCase::~LenaDataPhyErrorModelTestCase
virtual ~LenaDataPhyErrorModelTestCase()
Definition:
lte-test-phy-error-model.cc:121
ns3::TestCase
encapsulates test code
Definition:
test.h:849
ns3::LenaDataPhyErrorModelTestCase
Definition:
lte-test-phy-error-model.h:38
ns3::LenaDlCtrlPhyErrorModelTestCase::m_blerRef
double m_blerRef
Definition:
lte-test-phy-error-model.h:67
ns3::LenaDlCtrlPhyErrorModelTestCase::~LenaDlCtrlPhyErrorModelTestCase
virtual ~LenaDlCtrlPhyErrorModelTestCase()
Definition:
lte-test-phy-error-model.cc:269
ns3::LenaDlCtrlPhyErrorModelTestCase::BuildNameString
static std::string BuildNameString(uint16_t nUser, uint16_t dist)
Definition:
lte-test-phy-error-model.cc:253
ns3::LenaDataPhyErrorModelTestCase::DoRun
virtual void DoRun(void)
Implementation to actually run this TestCase.
Definition:
lte-test-phy-error-model.cc:126
ns3::LenaDataPhyErrorModelTestCase::m_toleranceRxPackets
uint16_t m_toleranceRxPackets
Definition:
lte-test-phy-error-model.h:50
ns3::LenaDlCtrlPhyErrorModelTestCase::m_nEnb
uint16_t m_nEnb
Definition:
lte-test-phy-error-model.h:65
ns3::LenaDlCtrlPhyErrorModelTestCase::LenaDlCtrlPhyErrorModelTestCase
LenaDlCtrlPhyErrorModelTestCase(uint16_t nEnbr, uint16_t dist, uint16_t tbSize, double refBler)
Definition:
lte-test-phy-error-model.cc:261
ns3::LenaDataPhyErrorModelTestCase::m_nUser
uint16_t m_nUser
Definition:
lte-test-phy-error-model.h:47
ns3::LenaTestPhyErrorModelrSuite::LenaTestPhyErrorModelrSuite
LenaTestPhyErrorModelrSuite()
Definition:
lte-test-phy-error-model.cc:60
ns3::LenaDlCtrlPhyErrorModelTestCase::m_dist
uint16_t m_dist
Definition:
lte-test-phy-error-model.h:66
src
lte
test
lte-test-phy-error-model.h
Generated on Sat Nov 16 2013 12:55:33 for ns-3 by
1.8.5