A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
src
lte
test
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
25
class
LenaDeactivateBearerTestCase
:
public
TestCase
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);
39
virtual
~LenaDeactivateBearerTestCase
();
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
;
56
bool
m_errorModelEnabled
;
57
};
58
59
67
class
LenaTestBearerDeactivateSuite
:
public
TestSuite
68
{
69
public
:
70
LenaTestBearerDeactivateSuite
();
71
};
72
73
}
// namespace ns3
74
75
#endif
ns3::LenaDeactivateBearerTestCase::~LenaDeactivateBearerTestCase
virtual ~LenaDeactivateBearerTestCase()
Definition:
lte-test-deactivate-bearer.cc:124
ns3::LenaDeactivateBearerTestCase
Test case that for testing the deactivation of the bearer functionality.
Definition:
lte-test-deactivate-bearer.h:25
ns3::TestSuite
A suite of tests to run.
Definition:
test.h:1342
ns3::TestCase
encapsulates test code
Definition:
test.h:1155
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:101
ns3::LenaTestBearerDeactivateSuite::LenaTestBearerDeactivateSuite
LenaTestBearerDeactivateSuite()
Definition:
lte-test-deactivate-bearer.cc:63
ns3::LenaDeactivateBearerTestCase::m_dist
std::vector< uint16_t > m_dist
distance between the nodes
Definition:
lte-test-deactivate-bearer.h:52
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:113
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::LenaDeactivateBearerTestCase::m_packetSize
std::vector< uint16_t > m_packetSize
packet size in bytes
Definition:
lte-test-deactivate-bearer.h:53
ns3::LenaDeactivateBearerTestCase::DoRun
virtual void DoRun(void)
Implementation to actually run this TestCase.
Definition:
lte-test-deactivate-bearer.cc:129
ns3::LenaDeactivateBearerTestCase::m_interval
uint16_t m_interval
interval time in ms
Definition:
lte-test-deactivate-bearer.h:54
ns3::LenaTestBearerDeactivateSuite
The test suite class for the LenaDeactivateBearerTestCase.
Definition:
lte-test-deactivate-bearer.h:67
ns3::LenaDeactivateBearerTestCase::m_estThrPssDl
std::vector< uint32_t > m_estThrPssDl
estimated threshold PSS DL
Definition:
lte-test-deactivate-bearer.h:55
ns3::LenaDeactivateBearerTestCase::m_nUser
uint16_t m_nUser
number of UE nodes
Definition:
lte-test-deactivate-bearer.h:51
packetSize
static const uint32_t packetSize
Definition:
power-adaptation-distance.cc:113
ns3::LenaDeactivateBearerTestCase::m_errorModelEnabled
bool m_errorModelEnabled
error mode enabled?
Definition:
lte-test-deactivate-bearer.h:56
Generated on Wed Nov 7 2018 10:02:03 for ns-3 by
1.8.14