A Discrete-Event Network Simulator
API
lte-test-deactivate-bearer.h
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2 
3 #ifndef LENA_TEST_DEACTIVATE_BEARER_H
4 #define LENA_TEST_DEACTIVATE_BEARER_H
5 
6 #include "ns3/simulator.h"
7 #include "ns3/test.h"
8 
9 
10 namespace ns3 {
11 
26 {
27 public:
38  LenaDeactivateBearerTestCase (std::vector<uint16_t> dist, std::vector<uint32_t> estThrPssDl, std::vector<uint16_t> packetSize, uint16_t interval, bool errorModelEnabled, bool useIdealRrc);
40 
41 private:
49  static std::string BuildNameString (uint16_t nUser, std::vector<uint16_t> dist);
50  virtual void DoRun (void);
51  uint16_t m_nUser;
52  std::vector<uint16_t> m_dist;
53  std::vector<uint16_t> m_packetSize;
54  uint16_t m_interval;
55  std::vector<uint32_t> m_estThrPssDl;
57 };
58 
59 
68 {
69 public:
71 };
72 
73 } // namespace ns3
74 
75 #endif
Test case that for testing the deactivation of the bearer functionality.
A suite of tests to run.
Definition: test.h:1342
encapsulates test code
Definition: test.h:1155
static std::string BuildNameString(uint16_t nUser, std::vector< uint16_t > dist)
Build name string function.
std::vector< uint16_t > m_dist
distance between the nodes
LenaDeactivateBearerTestCase(std::vector< uint16_t > dist, std::vector< uint32_t > estThrPssDl, std::vector< uint16_t > packetSize, uint16_t interval, bool errorModelEnabled, bool useIdealRrc)
Constructor.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::vector< uint16_t > m_packetSize
packet size in bytes
virtual void DoRun(void)
Implementation to actually run this TestCase.
uint16_t m_interval
interval time in ms
The test suite class for the LenaDeactivateBearerTestCase.
std::vector< uint32_t > m_estThrPssDl
estimated threshold PSS DL
static const uint32_t packetSize