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
10namespace ns3 {
11
26{
27public:
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
41private:
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{
69public:
71};
72
73} // namespace ns3
74
75#endif
Test case that for testing the deactivation of the bearer functionality.
std::vector< uint16_t > m_packetSize
packet size in bytes
virtual void DoRun(void)
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:994
A suite of tests to run.
Definition: test.h:1188
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static const uint32_t packetSize
Pcket size generated at the AP.