A Discrete-Event Network Simulator
API
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 <iostream>
#include <sstream>
#include <set>
#include <string>
#include "ns3/test.h"
#include "ns3/core-module.h"
#include "ns3/dsr-module.h"
#include "ns3/internet-module.h"
#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-phy-state-helper.h"
#include "ns3/wifi-mac-header.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

 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. More...
 
#define DUPE(U, T1)
 Check the TracedCallback duplicate by checking if it maches the TracedCallback it is supposed to be equal to. More...
 
#define TYPENAME(T)
 Returns a sting representing the type of a class. More...
 

Functions

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

Variables

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

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 561 of file traced-callback-typedef-test-suite.cc.