A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
lte-test-rlc-um-transmitter.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: Manuel Requena <manuel.requena@cttc.es>
19
*/
20
21
#ifndef LTE_TEST_RLC_UM_TRANSMITTER_H
22
#define LTE_TEST_RLC_UM_TRANSMITTER_H
23
24
#include "ns3/test.h"
25
26
namespace
ns3
{
27
28
class
LteTestRrc
;
29
class
LteTestMac
;
30
class
LteTestPdcp
;
31
32
}
33
34
using namespace
ns3
;
35
42
class
LteRlcUmTransmitterTestSuite
:
public
TestSuite
43
{
44
public
:
45
LteRlcUmTransmitterTestSuite
();
46
};
47
56
class
LteRlcUmTransmitterTestCase
:
public
TestCase
57
{
58
public
:
64
LteRlcUmTransmitterTestCase
(std::string name);
65
LteRlcUmTransmitterTestCase
();
66
virtual
~
LteRlcUmTransmitterTestCase
();
67
74
void
CheckDataReceived (
Time
time, std::string shouldReceived, std::string assertMsg);
75
76
protected
:
77
virtual
void
DoRun (
void
);
78
79
Ptr<LteTestPdcp>
txPdcp
;
80
Ptr<LteRlc>
txRlc
;
81
Ptr<LteTestMac>
txMac
;
82
83
private
:
89
void
DoCheckDataReceived (std::string shouldReceived, std::string assertMsg);
90
91
};
92
99
class
LteRlcUmTransmitterOneSduTestCase
:
public
LteRlcUmTransmitterTestCase
100
{
101
public
:
107
LteRlcUmTransmitterOneSduTestCase
(std::string name);
108
LteRlcUmTransmitterOneSduTestCase
();
109
virtual
~
LteRlcUmTransmitterOneSduTestCase
();
110
111
private
:
112
virtual
void
DoRun (
void
);
113
114
};
115
122
class
LteRlcUmTransmitterSegmentationTestCase
:
public
LteRlcUmTransmitterTestCase
123
{
124
public
:
130
LteRlcUmTransmitterSegmentationTestCase
(std::string name);
131
LteRlcUmTransmitterSegmentationTestCase
();
132
virtual
~
LteRlcUmTransmitterSegmentationTestCase
();
133
134
private
:
135
virtual
void
DoRun (
void
);
136
137
};
138
145
class
LteRlcUmTransmitterConcatenationTestCase
:
public
LteRlcUmTransmitterTestCase
146
{
147
public
:
153
LteRlcUmTransmitterConcatenationTestCase
(std::string name);
154
LteRlcUmTransmitterConcatenationTestCase
();
155
virtual
~
LteRlcUmTransmitterConcatenationTestCase
();
156
157
private
:
158
virtual
void
DoRun (
void
);
159
160
};
161
168
class
LteRlcUmTransmitterReportBufferStatusTestCase
:
public
LteRlcUmTransmitterTestCase
169
{
170
public
:
176
LteRlcUmTransmitterReportBufferStatusTestCase
(std::string name);
177
LteRlcUmTransmitterReportBufferStatusTestCase
();
178
virtual
~
LteRlcUmTransmitterReportBufferStatusTestCase
();
179
180
private
:
181
virtual
void
DoRun (
void
);
182
183
};
184
185
#endif
/* LTE_TEST_RLC_UM_TRANSMITTER_H */
LteRlcUmTransmitterConcatenationTestCase
Test 4.1.1.3 Concatenation (n SDUs => One PDU)
Definition:
lte-test-rlc-um-transmitter.h:146
LteRlcUmTransmitterConcatenationTestCase::LteRlcUmTransmitterConcatenationTestCase
LteRlcUmTransmitterConcatenationTestCase()
LteRlcUmTransmitterOneSduTestCase
Test 4.1.1.1 One SDU, One PDU.
Definition:
lte-test-rlc-um-transmitter.h:100
LteRlcUmTransmitterOneSduTestCase::LteRlcUmTransmitterOneSduTestCase
LteRlcUmTransmitterOneSduTestCase()
LteRlcUmTransmitterReportBufferStatusTestCase
Test 4.1.1.4 Report Buffer Status (test primitive parameters)
Definition:
lte-test-rlc-um-transmitter.h:169
LteRlcUmTransmitterReportBufferStatusTestCase::LteRlcUmTransmitterReportBufferStatusTestCase
LteRlcUmTransmitterReportBufferStatusTestCase()
LteRlcUmTransmitterSegmentationTestCase
Test 4.1.1.2 Segmentation (One SDU => n PDUs)
Definition:
lte-test-rlc-um-transmitter.h:123
LteRlcUmTransmitterSegmentationTestCase::LteRlcUmTransmitterSegmentationTestCase
LteRlcUmTransmitterSegmentationTestCase()
LteRlcUmTransmitterTestCase
Test case used by LteRlcUmTransmitterOneSduTestCase to create topology and to implement functionaliti...
Definition:
lte-test-rlc-um-transmitter.h:57
LteRlcUmTransmitterTestCase::txPdcp
Ptr< LteTestPdcp > txPdcp
the transmit PDCP
Definition:
lte-test-rlc-um-transmitter.h:79
LteRlcUmTransmitterTestCase::txRlc
Ptr< LteRlc > txRlc
the RLC
Definition:
lte-test-rlc-um-transmitter.h:80
LteRlcUmTransmitterTestCase::txMac
Ptr< LteTestMac > txMac
the MAC
Definition:
lte-test-rlc-um-transmitter.h:81
LteRlcUmTransmitterTestCase::LteRlcUmTransmitterTestCase
LteRlcUmTransmitterTestCase()
LteRlcUmTransmitterTestSuite
TestSuite 4.1.1 for RLC UM: Only transmitter part.
Definition:
lte-test-rlc-um-transmitter.h:43
ns3::LteTestMac
This class implements a testing loopback MAC layer.
Definition:
lte-test-entities.h:241
ns3::LteTestPdcp
This class implements a testing PDCP entity.
Definition:
lte-test-entities.h:177
ns3::LteTestRrc
This class implements a testing RRC entity.
Definition:
lte-test-entities.h:43
ns3::Ptr< LteTestPdcp >
ns3::TestCase
encapsulates test code
Definition:
test.h:994
ns3::TestSuite
A suite of tests to run.
Definition:
test.h:1188
ns3::Time
Simulation virtual time values and global simulation resolution.
Definition:
nstime.h:103
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
lte
test
lte-test-rlc-um-transmitter.h
Generated on Tue Feb 6 2024 19:21:23 for ns-3 by
1.9.1