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
lte-test-rlc-am-e2e.h
Go to the documentation of this file.
1
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2012 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: Manuel Requena <manuel.requena@cttc.es>
19
* Nicola Baldo <nbaldo@cttc.es>
20
*/
21
22
#ifndef LTE_TEST_RLC_AM_E2E_H
23
#define LTE_TEST_RLC_AM_E2E_H
24
25
#include "ns3/test.h"
26
27
28
using namespace
ns3
;
29
30
35
class
LteRlcAmE2eTestSuite
:
public
TestSuite
36
{
37
public
:
38
LteRlcAmE2eTestSuite
();
39
};
40
46
class
LteRlcAmE2eTestCase
:
public
TestCase
47
{
48
public
:
49
LteRlcAmE2eTestCase
(std::string name, uint32_t seed,
double
losses,
bool
bulkSduArrival);
50
LteRlcAmE2eTestCase
();
51
virtual
~
LteRlcAmE2eTestCase
();
52
53
private
:
54
virtual
void
DoRun (
void
);
55
56
void
DlDropEvent (
Ptr<const Packet>
p);
57
void
UlDropEvent (
Ptr<const Packet>
p);
58
59
uint32_t
m_run
;
60
double
m_losses
;
61
bool
m_bulkSduArrival
;
62
63
uint32_t
m_dlDrops
;
64
uint32_t
m_ulDrops
;
65
66
};
67
68
#endif // LTE_TEST_RLC_AM_E2E_H
ns3::Ptr< const Packet >
LteRlcAmE2eTestSuite
Provides the test suite lte-rlc-am-e2e.
Definition:
lte-test-rlc-am-e2e.h:35
ns3::TestSuite
A suite of tests to run.
Definition:
test.h:1276
LteRlcAmE2eTestCase::m_bulkSduArrival
bool m_bulkSduArrival
Definition:
lte-test-rlc-am-e2e.h:61
ns3::TestCase
encapsulates test code
Definition:
test.h:1108
LteRlcAmE2eTestCase
Test cases used for the test suite lte-rlc-am-e2e.
Definition:
lte-test-rlc-am-e2e.h:46
LteRlcAmE2eTestCase::m_losses
double m_losses
Definition:
lte-test-rlc-am-e2e.h:60
LteRlcAmE2eTestCase::m_ulDrops
uint32_t m_ulDrops
Definition:
lte-test-rlc-am-e2e.h:64
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
LteRlcAmE2eTestCase::m_run
uint32_t m_run
Definition:
lte-test-rlc-am-e2e.h:59
LteRlcAmE2eTestCase::m_dlDrops
uint32_t m_dlDrops
Definition:
lte-test-rlc-am-e2e.h:63
src
lte
test
lte-test-rlc-am-e2e.h
Generated on Wed May 13 2015 14:59:24 for ns-3 by
1.8.9.1