A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
tgax-video-traffic-test-suite.cc File Reference
#include "ns3/application-container.h"
#include "ns3/application-helper.h"
#include "ns3/config.h"
#include "ns3/enum.h"
#include "ns3/inet-socket-address.h"
#include "ns3/internet-stack-helper.h"
#include "ns3/ipv4-address-helper.h"
#include "ns3/ipv4-address.h"
#include "ns3/ipv4-interface-container.h"
#include "ns3/ipv4-l3-protocol.h"
#include "ns3/ipv4-list-routing-helper.h"
#include "ns3/ipv4-static-routing-helper.h"
#include "ns3/ipv4-static-routing.h"
#include "ns3/node-container.h"
#include "ns3/node.h"
#include "ns3/nstime.h"
#include "ns3/packet-sink-helper.h"
#include "ns3/packet-sink.h"
#include "ns3/rng-seed-manager.h"
#include "ns3/simple-net-device-helper.h"
#include "ns3/string.h"
#include "ns3/test.h"
#include "ns3/tgax-video-traffic.h"
#include "ns3/traced-callback.h"
#include <numeric>
#include <optional>
#include <string>
#include <vector>
Include dependency graph for tgax-video-traffic-test-suite.cc:

Go to the source code of this file.

Classes

class  TgaxVideoTrafficTestCase
 TGax Video traffic test, check for the expected inter frame interval, bit rate and packets inter arrivals. More...
class  TgaxVideoTrafficTestSuite
 TgaxVideoTraffic TestSuite. More...

Namespaces

namespace  anonymous_namespace{tgax-video-traffic-test-suite.cc}

Functions

uint32_t anonymous_namespace{tgax-video-traffic-test-suite.cc}::ConvertContextToNodeId (const std::string &context)
 Get the node ID from the context string.
uint32_t anonymous_namespace{tgax-video-traffic-test-suite.cc}::GetAverageframeSize (double frameSizeBytesScale, double frameSizeBytesShape)
 Get the expected average frame size.
bool anonymous_namespace{tgax-video-traffic-test-suite.cc}::IsMulticast (TgaxVideoTraffic::TrafficModelClassIdentifier model)
 Get whether a model applies to multicast video traffic.
std::string anonymous_namespace{tgax-video-traffic-test-suite.cc}::ModelToString (TgaxVideoTraffic::TrafficModelClassIdentifier model)
 Get the string from the traffic model enum.

Variables

static TgaxVideoTrafficTestSuite g_TgaxVideoTrafficTestSuite
 Static variable for test initialization.
const auto anonymous_namespace{tgax-video-traffic-test-suite.cc}::simulationTime {Seconds(20)}
 The simulation time.

Variable Documentation

◆ g_TgaxVideoTrafficTestSuite

TgaxVideoTrafficTestSuite g_TgaxVideoTrafficTestSuite
static

Static variable for test initialization.

Definition at line 466 of file tgax-video-traffic-test-suite.cc.