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 
8 namespace ns3
9 {
10 
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);
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;
60 };
61 
69 {
70  public:
72 };
73 
74 } // namespace ns3
75 
76 #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.