A Discrete-Event Network Simulator
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
27namespace ns3
28{
29class Packet;
30}
31
32using namespace ns3;
33
40{
41 public:
43};
44
52{
53 public:
62 LteRlcAmE2eTestCase(std::string name, uint32_t seed, double losses, bool bulkSduArrival);
64 ~LteRlcAmE2eTestCase() override;
65
66 private:
67 void DoRun() override;
68
79
81 double m_losses;
83
86};
87
88#endif // LTE_TEST_RLC_AM_E2E_H
Test cases used for the test suite lte-rlc-am-e2e.
void DlDropEvent(Ptr< const Packet > p)
DL drop event.
uint32_t m_ulDrops
number of UL drops
bool m_bulkSduArrival
bulk SDU arrival
void DoRun() override
Implementation to actually run this TestCase.
void UlDropEvent(Ptr< const Packet > p)
UL drop event.
uint32_t m_dlDrops
number of Dl drops
double m_losses
error rate
Test suite for RlcAmE2e test case.
network packets
Definition: packet.h:241
encapsulates test code
Definition: test.h:1060
A suite of tests to run.
Definition: test.h:1256
Every class exported by the ns3 library is enclosed in the ns3 namespace.