A Discrete-Event Network Simulator
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
8namespace ns3
9{
10
25{
26 public:
37 LenaDeactivateBearerTestCase(std::vector<uint16_t> dist,
38 std::vector<uint32_t> estThrPssDl,
39 std::vector<uint16_t> packetSize,
40 uint16_t interval,
41 bool errorModelEnabled,
42 bool useIdealRrc);
44
45 private:
53 static std::string BuildNameString(uint16_t nUser, std::vector<uint16_t> dist);
54 void DoRun() override;
55 uint16_t m_nUser;
56 std::vector<uint16_t> m_dist;
57 std::vector<uint16_t> m_packetSize;
58 uint16_t m_interval;
59 std::vector<uint32_t> m_estThrPssDl;
61};
62
71{
72 public:
74};
75
76} // namespace ns3
77
78#endif
Test case that for testing the deactivation of the bearer functionality.
std::vector< uint16_t > m_packetSize
packet size in bytes
void DoRun() override
Implementation to actually run this TestCase.
LenaDeactivateBearerTestCase(std::vector< uint16_t > dist, std::vector< uint32_t > estThrPssDl, std::vector< uint16_t > packetSize, uint16_t interval, bool errorModelEnabled, bool useIdealRrc)
Constructor.
std::vector< uint16_t > m_dist
distance between the nodes
static std::string BuildNameString(uint16_t nUser, std::vector< uint16_t > dist)
Build name string function.
std::vector< uint32_t > m_estThrPssDl
estimated threshold PSS DL
The test suite class for the LenaDeactivateBearerTestCase.
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.
static const uint32_t packetSize
Packet size generated at the AP.