A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
lte-test-rlc-am-e2e.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Author: Manuel Requena <manuel.requena@cttc.es>
18
* Nicola Baldo <nbaldo@cttc.es>
19
*/
20
21
#ifndef LTE_TEST_RLC_AM_E2E_H
22
#define LTE_TEST_RLC_AM_E2E_H
23
24
#include "ns3/ptr.h"
25
#include "ns3/test.h"
26
27
namespace
ns3
28
{
29
class
Packet
;
30
}
31
32
using namespace
ns3
;
33
39
class
LteRlcAmE2eTestSuite
:
public
TestSuite
40
{
41
public
:
42
LteRlcAmE2eTestSuite
();
43
};
44
51
class
LteRlcAmE2eTestCase
:
public
TestCase
52
{
53
public
:
62
LteRlcAmE2eTestCase
(std::string name, uint32_t seed,
double
losses,
bool
bulkSduArrival);
63
LteRlcAmE2eTestCase
();
64
~
LteRlcAmE2eTestCase
()
override
;
65
66
private
:
67
void
DoRun()
override
;
68
73
void
DlDropEvent(
Ptr<const Packet>
p);
78
void
UlDropEvent(
Ptr<const Packet>
p);
79
80
uint32_t
m_run
;
81
double
m_losses
;
82
bool
m_bulkSduArrival
;
83
84
uint32_t
m_dlDrops
;
85
uint32_t
m_ulDrops
;
86
};
87
88
#endif
// LTE_TEST_RLC_AM_E2E_H
LteRlcAmE2eTestCase
Test cases used for the test suite lte-rlc-am-e2e.
Definition:
lte-test-rlc-am-e2e.h:52
LteRlcAmE2eTestCase::m_ulDrops
uint32_t m_ulDrops
number of UL drops
Definition:
lte-test-rlc-am-e2e.h:85
LteRlcAmE2eTestCase::m_bulkSduArrival
bool m_bulkSduArrival
bulk SDU arrival
Definition:
lte-test-rlc-am-e2e.h:82
LteRlcAmE2eTestCase::m_dlDrops
uint32_t m_dlDrops
number of Dl drops
Definition:
lte-test-rlc-am-e2e.h:84
LteRlcAmE2eTestCase::LteRlcAmE2eTestCase
LteRlcAmE2eTestCase()
LteRlcAmE2eTestCase::m_run
uint32_t m_run
rng run
Definition:
lte-test-rlc-am-e2e.h:80
LteRlcAmE2eTestCase::m_losses
double m_losses
error rate
Definition:
lte-test-rlc-am-e2e.h:81
LteRlcAmE2eTestSuite
Test suite for RlcAmE2e test case.
Definition:
lte-test-rlc-am-e2e.h:40
ns3::Packet
network packets
Definition:
packet.h:239
ns3::Ptr< const Packet >
ns3::TestCase
encapsulates test code
Definition:
test.h:1060
ns3::TestSuite
A suite of tests to run.
Definition:
test.h:1256
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
lte
test
lte-test-rlc-am-e2e.h
Generated on Sun Mar 3 2024 17:11:04 for ns-3 by
1.9.1