A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
lte-test-deactivate-bearer.h
Go to the documentation of this file.
1
2
#ifndef LENA_TEST_DEACTIVATE_BEARER_H
3
#define LENA_TEST_DEACTIVATE_BEARER_H
4
5
#include "ns3/simulator.h"
6
#include "ns3/test.h"
7
8
namespace
ns3
9
{
10
23
class
LenaDeactivateBearerTestCase
:
public
TestCase
24
{
25
public
:
36
LenaDeactivateBearerTestCase
(std::vector<uint16_t> dist,
37
std::vector<uint32_t> estThrPssDl,
38
std::vector<uint16_t>
packetSize
,
39
uint16_t interval,
40
bool
errorModelEnabled,
41
bool
useIdealRrc);
42
~LenaDeactivateBearerTestCase
()
override
;
43
44
private
:
52
static
std::string
BuildNameString
(uint16_t nUser, std::vector<uint16_t> dist);
53
void
DoRun
()
override
;
54
uint16_t
m_nUser
;
55
std::vector<uint16_t>
m_dist
;
56
std::vector<uint16_t>
m_packetSize
;
57
uint16_t
m_interval
;
58
std::vector<uint32_t>
m_estThrPssDl
;
59
bool
m_errorModelEnabled
;
60
};
61
68
class
LenaTestBearerDeactivateSuite
:
public
TestSuite
69
{
70
public
:
71
LenaTestBearerDeactivateSuite
();
72
};
73
74
}
// namespace ns3
75
76
#endif
ns3::LenaDeactivateBearerTestCase
Test case that for testing the deactivation of the bearer functionality.
Definition:
lte-test-deactivate-bearer.h:24
ns3::LenaDeactivateBearerTestCase::m_packetSize
std::vector< uint16_t > m_packetSize
packet size in bytes
Definition:
lte-test-deactivate-bearer.h:56
ns3::LenaDeactivateBearerTestCase::m_nUser
uint16_t m_nUser
number of UE nodes
Definition:
lte-test-deactivate-bearer.h:54
ns3::LenaDeactivateBearerTestCase::DoRun
void DoRun() override
Implementation to actually run this TestCase.
Definition:
lte-test-deactivate-bearer.cc:141
ns3::LenaDeactivateBearerTestCase::m_errorModelEnabled
bool m_errorModelEnabled
error mode enabled?
Definition:
lte-test-deactivate-bearer.h:59
ns3::LenaDeactivateBearerTestCase::LenaDeactivateBearerTestCase
LenaDeactivateBearerTestCase(std::vector< uint16_t > dist, std::vector< uint32_t > estThrPssDl, std::vector< uint16_t > packetSize, uint16_t interval, bool errorModelEnabled, bool useIdealRrc)
Constructor.
Definition:
lte-test-deactivate-bearer.cc:120
ns3::LenaDeactivateBearerTestCase::~LenaDeactivateBearerTestCase
~LenaDeactivateBearerTestCase() override
Definition:
lte-test-deactivate-bearer.cc:136
ns3::LenaDeactivateBearerTestCase::m_interval
uint16_t m_interval
interval time in ms
Definition:
lte-test-deactivate-bearer.h:57
ns3::LenaDeactivateBearerTestCase::m_dist
std::vector< uint16_t > m_dist
distance between the nodes
Definition:
lte-test-deactivate-bearer.h:55
ns3::LenaDeactivateBearerTestCase::BuildNameString
static std::string BuildNameString(uint16_t nUser, std::vector< uint16_t > dist)
Build name string function.
Definition:
lte-test-deactivate-bearer.cc:108
ns3::LenaDeactivateBearerTestCase::m_estThrPssDl
std::vector< uint32_t > m_estThrPssDl
estimated threshold PSS DL
Definition:
lte-test-deactivate-bearer.h:58
ns3::LenaTestBearerDeactivateSuite
The test suite class for the LenaDeactivateBearerTestCase.
Definition:
lte-test-deactivate-bearer.h:69
ns3::LenaTestBearerDeactivateSuite::LenaTestBearerDeactivateSuite
LenaTestBearerDeactivateSuite()
Definition:
lte-test-deactivate-bearer.cc:64
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.
packetSize
static const uint32_t packetSize
Packet size generated at the AP.
Definition:
wifi-power-adaptation-distance.cc:111
src
lte
test
lte-test-deactivate-bearer.h
Generated on Sun Mar 3 2024 17:11:03 for ns-3 by
1.9.1