A Discrete-Event Network Simulator
API
Tracing

Publish/subscribe tools to collect and report changes to any values used by the various model components. More...

+ Collaboration diagram for Tracing:

Files

file  trace-source-accessor.cc
 ns3::TraceSourceAccessor implementation (constructor and destructor).
 
file  trace-source-accessor.h
 ns3::TraceSourceAccessor and ns3::MakeTraceSourceAccessor declarations.
 
file  traced-callback.h
 ns3::TracedCallback declaration and template implementation.
 
file  traced-value.h
 ns3::TracedValue declaration and template implementation.
 

Classes

class  ns3::TracedCallback< Ts >
 Forward calls to a chain of Callback. More...
 
class  ns3::TracedValue< T >
 Trace classes with value semantics. More...
 
class  ns3::TraceSourceAccessor
 Control access to objects' trace sources. More...
 

Functions

template<typename T , typename SOURCE >
Ptr< const TraceSourceAccessorns3::DoMakeTraceSourceAccessor (SOURCE T::*a)
 MakeTraceSourceAccessor() implementation. More...
 
static Ptr< const TraceSourceAccessorns3::MakeEmptyTraceSourceAccessor ()
 Create an empty TraceSourceAccessor. More...
 
template<typename T >
Ptr< const TraceSourceAccessorns3::MakeTraceSourceAccessor (T a)
 Create a TraceSourceAccessor which will control access to the underlying trace source. More...
 
template<typename T >
TracedValue< T > ns3::operator! (const TracedValue< T > &lhs)
 Unary arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator!= (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator!= (const TracedValue< T > &lhs, const U &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator!= (const U &lhs, const TracedValue< T > &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator% (const TracedValue< T > &lhs, const TracedValue< U > &rhs) -> TracedValue< decltype(lhs.Get() % rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator% (const TracedValue< T > &lhs, const U &rhs) -> TracedValue< decltype(lhs.Get() % rhs)>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator% (const U &lhs, const TracedValue< T > &rhs) -> TracedValue< decltype(lhs % rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > & ns3::operator%= (TracedValue< T > &lhs, const U &rhs)
 Operator assignment for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator& (const TracedValue< T > &lhs, const TracedValue< U > &rhs) -> TracedValue< decltype(lhs.Get() &rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator& (const TracedValue< T > &lhs, const U &rhs) -> TracedValue< decltype(lhs.Get() &rhs)>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator& (const U &lhs, const TracedValue< T > &rhs) -> TracedValue< decltype(lhs &rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > & ns3::operator&= (TracedValue< T > &lhs, const U &rhs)
 Operator assignment for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator* (const TracedValue< T > &lhs, const TracedValue< U > &rhs) -> TracedValue< decltype(lhs.Get() *rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator* (const TracedValue< T > &lhs, const U &rhs) -> TracedValue< decltype(lhs.Get() *rhs)>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator* (const U &lhs, const TracedValue< T > &rhs) -> TracedValue< decltype(lhs+rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > & ns3::operator*= (TracedValue< T > &lhs, const U &rhs)
 Operator assignment for TracedValue. More...
 
template<typename T >
TracedValue< T > ns3::operator+ (const TracedValue< T > &lhs)
 Unary arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator+ (const TracedValue< T > &lhs, const TracedValue< U > &rhs) -> TracedValue< decltype(lhs.Get()+rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator+ (const TracedValue< T > &lhs, const U &rhs) -> TracedValue< decltype(lhs.Get()+rhs)>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator+ (const U &lhs, const TracedValue< T > &rhs) -> TracedValue< decltype(lhs+rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > & ns3::operator+= (TracedValue< T > &lhs, const U &rhs)
 Operator assignment for TracedValue. More...
 
template<typename T >
TracedValue< T > ns3::operator- (const TracedValue< T > &lhs)
 Unary arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator- (const TracedValue< T > &lhs, const TracedValue< U > &rhs) -> TracedValue< decltype(lhs.Get() - rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator- (const TracedValue< T > &lhs, const U &rhs) -> TracedValue< decltype(lhs.Get() - rhs)>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator- (const U &lhs, const TracedValue< T > &rhs) -> TracedValue< decltype(lhs - rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > & ns3::operator-= (TracedValue< T > &lhs, const U &rhs)
 Operator assignment for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator/ (const TracedValue< T > &lhs, const TracedValue< U > &rhs) -> TracedValue< decltype(lhs.Get()/rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator/ (const TracedValue< T > &lhs, const U &rhs) -> TracedValue< decltype(lhs.Get()/rhs)>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator/ (const U &lhs, const TracedValue< T > &rhs) -> TracedValue< decltype(lhs/rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > & ns3::operator/= (TracedValue< T > &lhs, const U &rhs)
 Operator assignment for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator< (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator< (const TracedValue< T > &lhs, const U &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator< (const U &lhs, const TracedValue< T > &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator<< (const TracedValue< T > &lhs, const TracedValue< U > &rhs) -> TracedValue< decltype(lhs.Get()<< rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator<< (const TracedValue< T > &lhs, const U &rhs) -> TracedValue< decltype(lhs.Get()<< rhs)>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator<< (const U &lhs, const TracedValue< T > &rhs) -> TracedValue< decltype(lhs<< rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T >
std::ostream & ns3::operator<< (std::ostream &os, const TracedValue< T > &rhs)
 Output streamer for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > & ns3::operator<<= (TracedValue< T > &lhs, const U &rhs)
 Operator assignment for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator<= (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator<= (const TracedValue< T > &lhs, const U &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator<= (const U &lhs, const TracedValue< T > &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator== (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator== (const TracedValue< T > &lhs, const U &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator== (const U &lhs, const TracedValue< T > &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator> (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator> (const TracedValue< T > &lhs, const U &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator> (const U &lhs, const TracedValue< T > &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator>= (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator>= (const TracedValue< T > &lhs, const U &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
bool ns3::operator>= (const U &lhs, const TracedValue< T > &rhs)
 Boolean operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator>> (const TracedValue< T > &lhs, const TracedValue< U > &rhs) -> TracedValue< decltype(lhs.Get() >> rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator>> (const TracedValue< T > &lhs, const U &rhs) -> TracedValue< decltype(lhs.Get() >> rhs)>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator>> (const U &lhs, const TracedValue< T > &rhs) -> TracedValue< decltype(lhs >> rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > & ns3::operator>>= (TracedValue< T > &lhs, const U &rhs)
 Operator assignment for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator^ (const TracedValue< T > &lhs, const TracedValue< U > &rhs) -> TracedValue< decltype(lhs.Get() ^ rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator^ (const TracedValue< T > &lhs, const U &rhs) -> TracedValue< decltype(lhs.Get() ^ rhs)>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator^ (const U &lhs, const TracedValue< T > &rhs) -> TracedValue< decltype(lhs ^ rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > & ns3::operator^= (TracedValue< T > &lhs, const U &rhs)
 Operator assignment for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator| (const TracedValue< T > &lhs, const TracedValue< U > &rhs) -> TracedValue< decltype(lhs.Get()|rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator| (const TracedValue< T > &lhs, const U &rhs) -> TracedValue< decltype(lhs.Get()|rhs)>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
auto ns3::operator| (const U &lhs, const TracedValue< T > &rhs) -> TracedValue< decltype(lhs|rhs.Get())>
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > & ns3::operator|= (TracedValue< T > &lhs, const U &rhs)
 Operator assignment for TracedValue. More...
 
template<typename T >
TracedValue< T > ns3::operator~ (const TracedValue< T > &lhs)
 Unary arithmetic operator for TracedValue. More...
 

Detailed Description

Publish/subscribe tools to collect and report changes to any values used by the various model components.

Additional callback function signatures defined elsewhere:

Function Documentation

◆ DoMakeTraceSourceAccessor()

template<typename T , typename SOURCE >
Ptr<const TraceSourceAccessor> ns3::DoMakeTraceSourceAccessor ( SOURCE T::*  a)

MakeTraceSourceAccessor() implementation.

Template Parameters
T[deduced] Class type of the TracedCallback
SOURCE[deduced] Type of the underlying value.
Parameters
[in]aThe underlying data value.
Returns
The TraceSourceAccessor

Definition at line 151 of file trace-source-accessor.h.

References ns3::Config::Connect(), ns3::Config::ConnectWithoutContext(), ns3::Config::Disconnect(), and ns3::Config::DisconnectWithoutContext().

Referenced by ns3::MakeTraceSourceAccessor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MakeEmptyTraceSourceAccessor()

static Ptr<const TraceSourceAccessor> ns3::MakeEmptyTraceSourceAccessor ( )
inlinestatic

Create an empty TraceSourceAccessor.

Returns
The empty TraceSourceAccessor (runtime exception if used)

Definition at line 126 of file trace-source-accessor.h.

Referenced by DeprecatedAttribute::GetTypeId().

+ Here is the caller graph for this function:

◆ MakeTraceSourceAccessor()

template<typename T >
Ptr< const TraceSourceAccessor > ns3::MakeTraceSourceAccessor ( a)

Create a TraceSourceAccessor which will control access to the underlying trace source.

This helper template method assumes that the underlying type implements a statically-polymorphic set of Connect and Disconnect methods and creates a dynamic-polymorphic class to wrap the underlying static-polymorphic class. This functionality is typically provided by wrapping an object data member in a TracedCallback or TracedValue.

Parameters
[in]aThe trace source
Returns
The TraceSourceAccessor

Definition at line 202 of file trace-source-accessor.h.

References ns3::DoMakeTraceSourceAccessor().

Referenced by ns3::ApplicationPacketProbe::GetTypeId(), ns3::ThreeGppHttpClient::GetTypeId(), ns3::ThreeGppHttpServer::GetTypeId(), ns3::dsr::DsrRouting::GetTypeId(), ns3::Ipv4PacketProbe::GetTypeId(), ns3::Ipv6L3Protocol::GetTypeId(), ns3::Ipv6PacketProbe::GetTypeId(), ns3::LteFfrSimple::GetTypeId(), ns3::dot11s::HwmpProtocol::GetTypeId(), ns3::dot11s::PeerManagementProtocol::GetTypeId(), ns3::PacketProbe::GetTypeId(), ns3::BooleanProbe::GetTypeId(), ns3::DoubleProbe::GetTypeId(), ns3::TimeProbe::GetTypeId(), ns3::Uinteger16Probe::GetTypeId(), ns3::Uinteger32Probe::GetTypeId(), ns3::Uinteger8Probe::GetTypeId(), ns3::UanPhyDual::GetTypeId(), Sender::GetTypeId(), MyObject::GetTypeId(), ns3::BulkSendApplication::GetTypeId(), ns3::OnOffApplication::GetTypeId(), ns3::PacketSink::GetTypeId(), ns3::QKDApp004::GetTypeId(), ns3::QKDApp014::GetTypeId(), ns3::QKDKeyManagerSystemApplication::GetTypeId(), ns3::QKDKMSQueueLogic::GetTypeId(), ns3::QKDPostprocessingApplication::GetTypeId(), ns3::QKDSDNController::GetTypeId(), ns3::UdpEchoClient::GetTypeId(), ns3::UdpEchoServer::GetTypeId(), ns3::UdpServer::GetTypeId(), AttributeObjectTest::GetTypeId(), ns3::tests::ConfigTestObject::GetTypeId(), DeprecatedAttribute::GetTypeId(), ns3::CsmaNetDevice::GetTypeId(), ns3::dsr::DsrOptions::GetTypeId(), ns3::BasicEnergyHarvester::GetTypeId(), ns3::BasicEnergySource::GetTypeId(), ns3::LiIonEnergySource::GetTypeId(), ns3::RvBatteryModel::GetTypeId(), ns3::SimpleDeviceEnergyModel::GetTypeId(), ns3::FdNetDevice::GetTypeId(), ns3::DhcpClient::GetTypeId(), ns3::V4Ping::GetTypeId(), ns3::ArpCache::GetTypeId(), ns3::ArpL3Protocol::GetTypeId(), ns3::Ipv4L3Protocol::GetTypeId(), ns3::TcpDctcp::GetTypeId(), ns3::TcpHybla::GetTypeId(), ns3::TcpRateLinux::GetTypeId(), ns3::TcpRxBuffer::GetTypeId(), ns3::TcpSocketBase::GetTypeId(), ns3::TcpSocketState::GetTypeId(), ns3::TcpTxBuffer::GetTypeId(), ns3::TcpWestwood::GetTypeId(), ns3::UdpSocketImpl::GetTypeId(), ns3::LrWpanMac::GetTypeId(), ns3::LrWpanPhy::GetTypeId(), ns3::EpcEnbApplication::GetTypeId(), ns3::EpcPgwApplication::GetTypeId(), ns3::EpcUeNas::GetTypeId(), ns3::LteEnbMac::GetTypeId(), ns3::LteEnbPhy::GetTypeId(), ns3::UeManager::GetTypeId(), ns3::LteEnbRrc::GetTypeId(), ns3::LtePdcp::GetTypeId(), ns3::LteRlc::GetTypeId(), ns3::LteSpectrumPhy::GetTypeId(), ns3::LteUeMac::GetTypeId(), ns3::LteUePhy::GetTypeId(), ns3::LteUePowerControl::GetTypeId(), ns3::LteUeRrc::GetTypeId(), ns3::LteSimpleSpectrumPhy::GetTypeId(), ns3::MobilityModel::GetTypeId(), anonymous_namespace{sequence-number-test-suite.cc}::SequenceNumberTestObj::GetTypeId(), ns3::DynamicQueueLimits::GetTypeId(), ns3::PacketSocketClient::GetTypeId(), ns3::PacketSocketServer::GetTypeId(), ns3::PacketSocket::GetTypeId(), ns3::QueueBase::GetTypeId(), ns3::Queue< Item >::GetTypeId(), ns3::SimpleNetDevice::GetTypeId(), ns3::olsr::RoutingProtocol::GetTypeId(), ns3::PointToPointChannel::GetTypeId(), ns3::PointToPointNetDevice::GetTypeId(), ns3::QKDBuffer::GetTypeId(), ns3::QKDEncryptor::GetTypeId(), ns3::QKDKey::GetTypeId(), ns3::SixLowPanNetDevice::GetTypeId(), ns3::AlohaNoackNetDevice::GetTypeId(), ns3::HalfDuplexIdealPhy::GetTypeId(), ns3::SpectrumAnalyzer::GetTypeId(), ns3::SpectrumChannel::GetTypeId(), ns3::WaveformGenerator::GetTypeId(), Emitter::GetTypeId(), ns3::TimeSeriesAdaptor::GetTypeId(), SampleEmitter::GetTypeId(), TracedValueCallbackTestCase::CheckTvCb< T >::GetTypeId(), ns3::CobaltQueueDisc::GetTypeId(), ns3::CoDelQueueDisc::GetTypeId(), ns3::QueueDisc::GetTypeId(), ns3::TbfQueueDisc::GetTypeId(), ns3::TrafficControlLayer::GetTypeId(), ns3::AcousticModemEnergyModel::GetTypeId(), ns3::UanMacCw::GetTypeId(), ns3::UanMacRcGw::GetTypeId(), ns3::UanMacRc::GetTypeId(), ns3::UanNetDevice::GetTypeId(), ns3::UanPhyGen::GetTypeId(), ns3::UanPhy::GetTypeId(), ns3::VirtualNetDevice::GetTypeId(), ns3::ApWifiMac::GetTypeId(), ns3::BlockAckManager::GetTypeId(), ns3::ObssPdAlgorithm::GetTypeId(), ns3::QosTxop::GetTypeId(), ns3::AarfWifiManager::GetTypeId(), ns3::AarfcdWifiManager::GetTypeId(), ns3::AmrrWifiManager::GetTypeId(), ns3::AparfWifiManager::GetTypeId(), ns3::ArfWifiManager::GetTypeId(), ns3::CaraWifiManager::GetTypeId(), ns3::IdealWifiManager::GetTypeId(), ns3::MinstrelHtWifiManager::GetTypeId(), ns3::MinstrelWifiManager::GetTypeId(), ns3::OnoeWifiManager::GetTypeId(), ns3::ParfWifiManager::GetTypeId(), ns3::RraaWifiManager::GetTypeId(), ns3::RrpaaWifiManager::GetTypeId(), ns3::ThompsonSamplingWifiManager::GetTypeId(), ns3::SpectrumWifiPhy::GetTypeId(), ns3::StaWifiMac::GetTypeId(), ns3::Txop::GetTypeId(), ns3::WifiMacQueue::GetTypeId(), ns3::WifiMac::GetTypeId(), ns3::WifiPhyStateHelper::GetTypeId(), ns3::WifiPhy::GetTypeId(), ns3::WifiRadioEnergyModel::GetTypeId(), ns3::WifiRemoteStationManager::GetTypeId(), OfdmaSpectrumWifiPhy::GetTypeId(), ns3::BaseStationNetDevice::GetTypeId(), ns3::SimpleOfdmWimaxPhy::GetTypeId(), ns3::SubscriberStationNetDevice::GetTypeId(), ns3::WimaxMacQueue::GetTypeId(), and ns3::WimaxNetDevice::GetTypeId().

+ Here is the call graph for this function:

◆ operator!()

template<typename T >
TracedValue<T> ns3::operator! ( const TracedValue< T > &  lhs)

Unary arithmetic operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the TracedValue.
Parameters
[in]lhsThe TracedValue.
Returns
The result of doing the operator on the underlying values.

Definition at line 826 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator!=() [1/3]

template<typename T , typename U >
bool ns3::operator!= ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 342 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator!=() [2/3]

template<typename T , typename U >
bool ns3::operator!= ( const TracedValue< T > &  lhs,
const U &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 349 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator!=() [3/3]

template<typename T , typename U >
bool ns3::operator!= ( const U &  lhs,
const TracedValue< T > &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 356 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator%() [1/3]

template<typename T , typename U >
auto ns3::operator% ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
) -> TracedValue<decltype(lhs.Get () % rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 551 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator%() [2/3]

template<typename T , typename U >
auto ns3::operator% ( const TracedValue< T > &  lhs,
const U &  rhs 
) -> TracedValue<decltype(lhs.Get () % rhs)>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 558 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator%() [3/3]

template<typename T , typename U >
auto ns3::operator% ( const U &  lhs,
const TracedValue< T > &  rhs 
) -> TracedValue<decltype(lhs % rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 565 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator%=()

template<typename T , typename U >
TracedValue<T>& ns3::operator%= ( TracedValue< T > &  lhs,
const U &  rhs 
)

Operator assignment for TracedValue.

The result of the arithmetic operation on the underlying values is assigned to the lhs TracedValue. If the new value is different, the Callback will be invoked.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 736 of file traced-value.h.

References ns3::TracedValue< T >::Get(), ns3::TracedValue< T >::Set(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator&() [1/3]

template<typename T , typename U >
auto ns3::operator& ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
) -> TracedValue<decltype(lhs.Get () & rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 617 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator&() [2/3]

template<typename T , typename U >
auto ns3::operator& ( const TracedValue< T > &  lhs,
const U &  rhs 
) -> TracedValue<decltype(lhs.Get () & rhs)>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 624 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator&() [3/3]

template<typename T , typename U >
auto ns3::operator& ( const U &  lhs,
const TracedValue< T > &  rhs 
) -> TracedValue<decltype(lhs & rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 631 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator&=()

template<typename T , typename U >
TracedValue<T>& ns3::operator&= ( TracedValue< T > &  lhs,
const U &  rhs 
)

Operator assignment for TracedValue.

The result of the arithmetic operation on the underlying values is assigned to the lhs TracedValue. If the new value is different, the Callback will be invoked.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 766 of file traced-value.h.

References ns3::TracedValue< T >::Get(), ns3::TracedValue< T >::Set(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator*() [1/3]

template<typename T , typename U >
auto ns3::operator* ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
) -> TracedValue<decltype(lhs.Get () * rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 507 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator*() [2/3]

template<typename T , typename U >
auto ns3::operator* ( const TracedValue< T > &  lhs,
const U &  rhs 
) -> TracedValue<decltype(lhs.Get () * rhs)>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 514 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator*() [3/3]

template<typename T , typename U >
auto ns3::operator* ( const U &  lhs,
const TracedValue< T > &  rhs 
) -> TracedValue<decltype(lhs + rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 521 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator*=()

template<typename T , typename U >
TracedValue<T>& ns3::operator*= ( TracedValue< T > &  lhs,
const U &  rhs 
)

Operator assignment for TracedValue.

The result of the arithmetic operation on the underlying values is assigned to the lhs TracedValue. If the new value is different, the Callback will be invoked.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 716 of file traced-value.h.

References ns3::TracedValue< T >::Get(), ns3::TracedValue< T >::Set(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator+() [1/4]

template<typename T >
TracedValue<T> ns3::operator+ ( const TracedValue< T > &  lhs)

Unary arithmetic operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the TracedValue.
Parameters
[in]lhsThe TracedValue.
Returns
The result of doing the operator on the underlying values.

Definition at line 805 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator+() [2/4]

template<typename T , typename U >
auto ns3::operator+ ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
) -> TracedValue<decltype(lhs.Get () + rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 463 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator+() [3/4]

template<typename T , typename U >
auto ns3::operator+ ( const TracedValue< T > &  lhs,
const U &  rhs 
) -> TracedValue<decltype(lhs.Get () + rhs)>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 470 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator+() [4/4]

template<typename T , typename U >
auto ns3::operator+ ( const U &  lhs,
const TracedValue< T > &  rhs 
) -> TracedValue<decltype(lhs + rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 477 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator+=()

template<typename T , typename U >
TracedValue<T>& ns3::operator+= ( TracedValue< T > &  lhs,
const U &  rhs 
)

Operator assignment for TracedValue.

The result of the arithmetic operation on the underlying values is assigned to the lhs TracedValue. If the new value is different, the Callback will be invoked.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 696 of file traced-value.h.

References ns3::TracedValue< T >::Get(), ns3::TracedValue< T >::Set(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator-() [1/4]

template<typename T >
TracedValue<T> ns3::operator- ( const TracedValue< T > &  lhs)

Unary arithmetic operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the TracedValue.
Parameters
[in]lhsThe TracedValue.
Returns
The result of doing the operator on the underlying values.

Definition at line 812 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator-() [2/4]

template<typename T , typename U >
auto ns3::operator- ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
) -> TracedValue<decltype(lhs.Get () - rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 485 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator-() [3/4]

template<typename T , typename U >
auto ns3::operator- ( const TracedValue< T > &  lhs,
const U &  rhs 
) -> TracedValue<decltype(lhs.Get () - rhs)>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 492 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator-() [4/4]

template<typename T , typename U >
auto ns3::operator- ( const U &  lhs,
const TracedValue< T > &  rhs 
) -> TracedValue<decltype(lhs - rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 499 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator-=()

template<typename T , typename U >
TracedValue<T>& ns3::operator-= ( TracedValue< T > &  lhs,
const U &  rhs 
)

Operator assignment for TracedValue.

The result of the arithmetic operation on the underlying values is assigned to the lhs TracedValue. If the new value is different, the Callback will be invoked.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 706 of file traced-value.h.

References ns3::TracedValue< T >::Get(), ns3::TracedValue< T >::Set(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator/() [1/3]

template<typename T , typename U >
auto ns3::operator/ ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
) -> TracedValue<decltype(lhs.Get () / rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 529 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator/() [2/3]

template<typename T , typename U >
auto ns3::operator/ ( const TracedValue< T > &  lhs,
const U &  rhs 
) -> TracedValue<decltype(lhs.Get () / rhs)>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 536 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator/() [3/3]

template<typename T , typename U >
auto ns3::operator/ ( const U &  lhs,
const TracedValue< T > &  rhs 
) -> TracedValue<decltype(lhs / rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 543 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator/=()

template<typename T , typename U >
TracedValue<T>& ns3::operator/= ( TracedValue< T > &  lhs,
const U &  rhs 
)

Operator assignment for TracedValue.

The result of the arithmetic operation on the underlying values is assigned to the lhs TracedValue. If the new value is different, the Callback will be invoked.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 726 of file traced-value.h.

References ns3::TracedValue< T >::Get(), ns3::TracedValue< T >::Set(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator<() [1/3]

template<typename T , typename U >
bool ns3::operator< ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 407 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator<() [2/3]

template<typename T , typename U >
bool ns3::operator< ( const TracedValue< T > &  lhs,
const U &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 414 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator<() [3/3]

template<typename T , typename U >
bool ns3::operator< ( const U &  lhs,
const TracedValue< T > &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 421 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator<<() [1/4]

template<typename T , typename U >
auto ns3::operator<< ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
) -> TracedValue<decltype(lhs.Get () << rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 639 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator<<() [2/4]

template<typename T , typename U >
auto ns3::operator<< ( const TracedValue< T > &  lhs,
const U &  rhs 
) -> TracedValue<decltype(lhs.Get () << rhs)>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 646 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator<<() [3/4]

template<typename T , typename U >
auto ns3::operator<< ( const U &  lhs,
const TracedValue< T > &  rhs 
) -> TracedValue<decltype(lhs << rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 653 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator<<() [4/4]

template<typename T >
std::ostream& ns3::operator<< ( std::ostream &  os,
const TracedValue< T > &  rhs 
)

Output streamer for TracedValue.

The underlying value will be written to the stream.

Template Parameters
T[deduced] The underlying type of the TracedValue.
Parameters
[in,out]osThe output stream.
[in]rhsThe TracedValue to stream.
Returns
The stream.

Definition at line 306 of file traced-value.h.

References ns3::TracedValue< T >::Get().

+ Here is the call graph for this function:

◆ operator<<=()

template<typename T , typename U >
TracedValue<T>& ns3::operator<<= ( TracedValue< T > &  lhs,
const U &  rhs 
)

Operator assignment for TracedValue.

The result of the arithmetic operation on the underlying values is assigned to the lhs TracedValue. If the new value is different, the Callback will be invoked.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 736 of file traced-value.h.

◆ operator<=() [1/3]

template<typename T , typename U >
bool ns3::operator<= ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 364 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator<=() [2/3]

template<typename T , typename U >
bool ns3::operator<= ( const TracedValue< T > &  lhs,
const U &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 371 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator<=() [3/3]

template<typename T , typename U >
bool ns3::operator<= ( const U &  lhs,
const TracedValue< T > &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 378 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator==() [1/3]

template<typename T , typename U >
bool ns3::operator== ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 320 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator==() [2/3]

template<typename T , typename U >
bool ns3::operator== ( const TracedValue< T > &  lhs,
const U &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 327 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator==() [3/3]

template<typename T , typename U >
bool ns3::operator== ( const U &  lhs,
const TracedValue< T > &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 334 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator>() [1/3]

template<typename T , typename U >
bool ns3::operator> ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 428 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator>() [2/3]

template<typename T , typename U >
bool ns3::operator> ( const TracedValue< T > &  lhs,
const U &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 435 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator>() [3/3]

template<typename T , typename U >
bool ns3::operator> ( const U &  lhs,
const TracedValue< T > &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 442 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator>=() [1/3]

template<typename T , typename U >
bool ns3::operator>= ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 385 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator>=() [2/3]

template<typename T , typename U >
bool ns3::operator>= ( const TracedValue< T > &  lhs,
const U &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 392 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator>=() [3/3]

template<typename T , typename U >
bool ns3::operator>= ( const U &  lhs,
const TracedValue< T > &  rhs 
)

Boolean operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The Boolean result of comparing the underlying values.

Definition at line 399 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator>>() [1/3]

template<typename T , typename U >
auto ns3::operator>> ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
) -> TracedValue<decltype(lhs.Get () >> rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 661 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator>>() [2/3]

template<typename T , typename U >
auto ns3::operator>> ( const TracedValue< T > &  lhs,
const U &  rhs 
) -> TracedValue<decltype(lhs.Get () >> rhs)>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 668 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator>>() [3/3]

template<typename T , typename U >
auto ns3::operator>> ( const U &  lhs,
const TracedValue< T > &  rhs 
) -> TracedValue<decltype(lhs >> rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 675 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator>>=()

template<typename T , typename U >
TracedValue<T>& ns3::operator>>= ( TracedValue< T > &  lhs,
const U &  rhs 
)

Operator assignment for TracedValue.

The result of the arithmetic operation on the underlying values is assigned to the lhs TracedValue. If the new value is different, the Callback will be invoked.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 756 of file traced-value.h.

References ns3::TracedValue< T >::Get(), ns3::TracedValue< T >::Set(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator^() [1/3]

template<typename T , typename U >
auto ns3::operator^ ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
) -> TracedValue<decltype(lhs.Get () ^ rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 573 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator^() [2/3]

template<typename T , typename U >
auto ns3::operator^ ( const TracedValue< T > &  lhs,
const U &  rhs 
) -> TracedValue<decltype(lhs.Get () ^ rhs)>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 580 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator^() [3/3]

template<typename T , typename U >
auto ns3::operator^ ( const U &  lhs,
const TracedValue< T > &  rhs 
) -> TracedValue<decltype(lhs ^ rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 587 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator^=()

template<typename T , typename U >
TracedValue<T>& ns3::operator^= ( TracedValue< T > &  lhs,
const U &  rhs 
)

Operator assignment for TracedValue.

The result of the arithmetic operation on the underlying values is assigned to the lhs TracedValue. If the new value is different, the Callback will be invoked.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 786 of file traced-value.h.

References ns3::TracedValue< T >::Get(), ns3::TracedValue< T >::Set(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator|() [1/3]

template<typename T , typename U >
auto ns3::operator| ( const TracedValue< T > &  lhs,
const TracedValue< U > &  rhs 
) -> TracedValue<decltype(lhs.Get () | rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 595 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator|() [2/3]

template<typename T , typename U >
auto ns3::operator| ( const TracedValue< T > &  lhs,
const U &  rhs 
) -> TracedValue<decltype(lhs.Get () | rhs)>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 602 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator|() [3/3]

template<typename T , typename U >
auto ns3::operator| ( const U &  lhs,
const TracedValue< T > &  rhs 
) -> TracedValue<decltype(lhs | rhs.Get ())>

Infix arithmetic operator for TracedValue.

This returns the arithmetic result in a new TracedValue, which has no Callback connected.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 609 of file traced-value.h.

References TRACED_VALUE_DEBUG.

◆ operator|=()

template<typename T , typename U >
TracedValue<T>& ns3::operator|= ( TracedValue< T > &  lhs,
const U &  rhs 
)

Operator assignment for TracedValue.

The result of the arithmetic operation on the underlying values is assigned to the lhs TracedValue. If the new value is different, the Callback will be invoked.

Template Parameters
T[deduced] The underlying type held by the left-hand argument.
U[deduced] The underlying type held by the right-hand argument.
Parameters
[in]lhsThe left-hand argument.
[in]rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 776 of file traced-value.h.

References ns3::TracedValue< T >::Get(), ns3::TracedValue< T >::Set(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

◆ operator~()

template<typename T >
TracedValue<T> ns3::operator~ ( const TracedValue< T > &  lhs)

Unary arithmetic operator for TracedValue.

Template Parameters
T[deduced] The underlying type held by the TracedValue.
Parameters
[in]lhsThe TracedValue.
Returns
The result of doing the operator on the underlying values.

Definition at line 819 of file traced-value.h.

References ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function: