A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
traced-callback-typedef-test-suite.cc File Reference

TracedCallback tests to verify if they are called with the right type and number of arguments. More...

#include "ns3/core-module.h"
#include "ns3/dsr-module.h"
#include "ns3/internet-module.h"
#include "ns3/test.h"
#include <iostream>
#include <set>
#include <sstream>
#include <string>
#include <type_traits>
#include "ns3/lr-wpan-mac.h"
#include "ns3/lte-module.h"
#include "ns3/mesh-module.h"
#include "ns3/mobility-module.h"
#include "ns3/network-module.h"
#include "ns3/olsr-module.h"
#include "ns3/sixlowpan-module.h"
#include "ns3/spectrum-module.h"
#include "ns3/stats-module.h"
#include "ns3/uan-module.h"
#include "ns3/wifi-mac-header.h"
#include "ns3/wifi-phy-state-helper.h"
+ Include dependency graph for traced-callback-typedef-test-suite.cc:

Go to the source code of this file.

Classes

class  TracedCallbackTypedefTestCase::Checker< Ts >
 Callback checkers. More...
 
class  TracedCallbackTypedefTestCase
 TracedCallback Testcase. More...
 
class  TracedCallbackTypedefTestSuite
 TracedCallback typedef TestSuite. More...
 
class  anonymous_namespace{traced-callback-typedef-test-suite.cc}::TracedCbSink< Ts >
 Sink functions. More...
 

Namespaces

namespace  anonymous_namespace{traced-callback-typedef-test-suite.cc}
 

Macros

#define CHECK(U, ...)   CreateObject<Checker<__VA_ARGS__>>()->Invoke<U>()
 Check the TracedCallback by calling its Invoke function.
 
#define DUPE(U, T1)
 Check the TracedCallback duplicate by checking if it matches the TracedCallback it is supposed to be equal to.
 
#define TYPENAME(T)
 Returns a string representing the type of a class.
 

Functions

std::set< std::string > anonymous_namespace{traced-callback-typedef-test-suite.cc}::Duplicates ()
 Record typedefs which are identical to previously declared.
 
void anonymous_namespace{traced-callback-typedef-test-suite.cc}::SinkIt (std::size_t N)
 Log that a callback was invoked.
 
template<typename T >
std::string anonymous_namespace{traced-callback-typedef-test-suite.cc}::TypeName (int N)
 Stringify the known TracedCallback type names.
 
Stringify known typename.
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (dot11s::PeerManagementProtocol::LinkOpenCloseTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (dsr::DsrOptionSRHeader::TracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (EpcUeNas::StateTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (Ipv4L3Protocol::DropTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (Ipv4L3Protocol::SentTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (Ipv4L3Protocol::TxRxTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (Ipv6L3Protocol::DropTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (Ipv6L3Protocol::SentTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (Ipv6L3Protocol::TxRxTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (lrwpan::LrWpanMac::SentTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (lrwpan::LrWpanMac::StateTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (lrwpan::LrWpanPhy::StateTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LteEnbMac::DlSchedulingTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LteEnbMac::UlSchedulingTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LteEnbPhy::ReportInterferenceTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LteEnbPhy::ReportUeSinrTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LteEnbRrc::ConnectionHandoverTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LteEnbRrc::HandoverStartTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LteEnbRrc::NewUeContextTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LteEnbRrc::ReceiveReportTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LtePdcp::PduRxTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LtePdcp::PduTxTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LteUePhy::RsrpSinrTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LteUePhy::StateTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LteUeRrc::CellSelectionTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (LteUeRrc::StateTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (Mac48Address::TracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (MobilityModel::TracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (olsr::RoutingProtocol::PacketTxRxTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (olsr::RoutingProtocol::TableChangeTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (Packet::AddressTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (Packet::Mac48AddressTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (Packet::SinrTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (Packet::SizeTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (Packet::TracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (PacketBurst::TracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (PhyReceptionStatParameters::TracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (PhyTransmissionStatParameters::TracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (SixLowPanNetDevice::DropTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (SixLowPanNetDevice::RxTxTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (SpectrumChannel::LossTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (SpectrumValue::TracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (TimeSeriesAdaptor::OutputTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (UanMac::PacketModeTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (UanMacCw::QueueTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (UanMacRc::QueueTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (UanNetDevice::RxTxTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (UanPhy::TracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (UeManager::StateTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (WifiMacHeader::TracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (WifiPhyStateHelper::RxOkTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (WifiPhyStateHelper::StateTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (WifiPhyStateHelper::TxTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (WifiRemoteStationManager::PowerChangeTracedCallback)
 Stringify a known typename.
 
 anonymous_namespace{traced-callback-typedef-test-suite.cc}::TYPENAME (WifiRemoteStationManager::RateChangeTracedCallback)
 Stringify a known typename.
 

Variables

std::set< std::string > anonymous_namespace{traced-callback-typedef-test-suite.cc}::g_dupes = Duplicates()
 Container for duplicate types.
 
static TracedCallbackTypedefTestSuite tracedCallbackTypedefTestSuite
 Static variable for test initialization.
 

Detailed Description

TracedCallback tests to verify if they are called with the right type and number of arguments.

Definition in file traced-callback-typedef-test-suite.cc.

Variable Documentation

◆ tracedCallbackTypedefTestSuite

TracedCallbackTypedefTestSuite tracedCallbackTypedefTestSuite
static

Static variable for test initialization.

Definition at line 539 of file traced-callback-typedef-test-suite.cc.