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< T1, T2, T3, T4, T5, T6, T7, T8 >
 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 TraceSourceAccessor > ns3::DoMakeTraceSourceAccessor (SOURCE T::*a)
 MakeTraceSourceAccessor() implementation. More...
 
template<typename T >
Ptr< const TraceSourceAccessor > ns3::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 >
TracedValue< T > ns3::operator% (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator% (const TracedValue< T > &lhs, const U &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator% (const U &lhs, const TracedValue< T > &rhs)
 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 >
TracedValue< T > ns3::operator& (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator& (const TracedValue< T > &lhs, const U &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator& (const U &lhs, const TracedValue< T > &rhs)
 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 >
TracedValue< T > ns3::operator* (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator* (const TracedValue< T > &lhs, const U &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator* (const U &lhs, const TracedValue< T > &rhs)
 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 >
TracedValue< T > ns3::operator+ (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator+ (const TracedValue< T > &lhs, const U &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator+ (const U &lhs, const TracedValue< T > &rhs)
 Infix arithmetic operator 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 >
TracedValue< T > & ns3::operator+= (TracedValue< T > &lhs, const U &rhs)
 Operator assignment for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator- (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator- (const TracedValue< T > &lhs, const U &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator- (const U &lhs, const TracedValue< T > &rhs)
 Infix arithmetic operator 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 >
TracedValue< T > & ns3::operator-= (TracedValue< T > &lhs, const U &rhs)
 Operator assignment for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator/ (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator/ (const TracedValue< T > &lhs, const U &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator/ (const U &lhs, const TracedValue< T > &rhs)
 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 >
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<< (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator<< (const TracedValue< T > &lhs, const U &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator<< (const U &lhs, const TracedValue< T > &rhs)
 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 >
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 >
TracedValue< T > ns3::operator>> (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator>> (const TracedValue< T > &lhs, const U &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator>> (const U &lhs, const TracedValue< T > &rhs)
 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 >
TracedValue< T > ns3::operator^ (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator^ (const TracedValue< T > &lhs, const U &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator^ (const U &lhs, const TracedValue< T > &rhs)
 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 >
TracedValue< T > ns3::operator| (const TracedValue< T > &lhs, const TracedValue< U > &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator| (const TracedValue< T > &lhs, const U &rhs)
 Infix arithmetic operator for TracedValue. More...
 
template<typename T , typename U >
TracedValue< T > ns3::operator| (const U &lhs, const TracedValue< T > &rhs)
 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

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

MakeTraceSourceAccessor() implementation.

Template Parameters
TClass type of the TracedCallback
SOURCEType of the underlying value.
Parameters
aThe underlying data value.
Returns
The TraceSourceAccessor

Definition at line 138 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:

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.

Parameters
athe trace source
Returns
The TraceSourceAccessor

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

References ns3::DoMakeTraceSourceAccessor().

Referenced by SampleEmitter::GetTypeId(), MyObject::GetTypeId(), ns3::WifiPhyStateHelper::GetTypeId(), ns3::BasicEnergySource::GetTypeId(), Sender::GetTypeId(), ns3::WimaxMacQueue::GetTypeId(), ns3::SimpleDeviceEnergyModel::GetTypeId(), Emitter::GetTypeId(), SequenceNumberTestObj::GetTypeId(), ns3::TcpNewReno::GetTypeId(), ns3::LtePdcp::GetTypeId(), ConfigTestObject::GetTypeId(), ns3::TcpReno::GetTypeId(), ns3::SingleModelSpectrumChannel::GetTypeId(), ns3::StaWifiMac::GetTypeId(), ns3::MobilityModel::GetTypeId(), ns3::UdpEchoClient::GetTypeId(), ns3::TcpTxBuffer::GetTypeId(), ns3::ParfWifiManager::GetTypeId(), ns3::WifiMac::GetTypeId(), ns3::TcpRxBuffer::GetTypeId(), ns3::AparfWifiManager::GetTypeId(), ns3::TcpTahoe::GetTypeId(), ns3::V4Ping::GetTypeId(), ns3::Uinteger16Probe::GetTypeId(), ns3::Uinteger32Probe::GetTypeId(), ns3::Uinteger8Probe::GetTypeId(), ns3::dot11s::HwmpProtocol::GetTypeId(), ns3::EpcUeNas::GetTypeId(), ns3::BasicEnergyHarvester::GetTypeId(), ns3::Queue::GetTypeId(), ns3::RvBatteryModel::GetTypeId(), ns3::RegularWifiMac::GetTypeId(), ns3::LteFfrSimple::GetTypeId(), ns3::PacketSocketServer::GetTypeId(), ns3::BooleanProbe::GetTypeId(), ns3::DoubleProbe::GetTypeId(), ns3::Ipv4PacketProbe::GetTypeId(), ns3::dot11s::PeerManagementProtocol::GetTypeId(), ns3::PacketProbe::GetTypeId(), ns3::SpectrumAnalyzer::GetTypeId(), ns3::TimeProbe::GetTypeId(), ns3::TimeSeriesAdaptor::GetTypeId(), ns3::SimpleOfdmWimaxPhy::GetTypeId(), ns3::LteSimpleSpectrumPhy::GetTypeId(), ns3::Ipv6PacketProbe::GetTypeId(), ns3::ArpL3Protocol::GetTypeId(), ns3::LteRlc::GetTypeId(), ns3::UanMacCw::GetTypeId(), ns3::ApplicationPacketProbe::GetTypeId(), ns3::PointToPointChannel::GetTypeId(), ns3::UdpSocketImpl::GetTypeId(), ns3::LteEnbMac::GetTypeId(), ns3::UanNetDevice::GetTypeId(), ns3::PacketSocketClient::GetTypeId(), ns3::WaveformGenerator::GetTypeId(), ns3::NscTcpSocketImpl::GetTypeId(), ns3::CsmaNetDevice::GetTypeId(), ns3::LteUePowerControl::GetTypeId(), ns3::SimpleNetDevice::GetTypeId(), ns3::BaseStationNetDevice::GetTypeId(), ns3::SubscriberStationNetDevice::GetTypeId(), ns3::AcousticModemEnergyModel::GetTypeId(), ns3::VirtualNetDevice::GetTypeId(), ns3::AlohaNoackNetDevice::GetTypeId(), ns3::UanMacRcGw::GetTypeId(), ns3::LteEnbPhy::GetTypeId(), ns3::Ipv6L3Protocol::GetTypeId(), ns3::TcpWestwood::GetTypeId(), ns3::PointToPointNetDevice::GetTypeId(), ns3::CoDelQueue::GetTypeId(), ns3::ArpCache::GetTypeId(), ns3::PacketSink::GetTypeId(), ns3::BulkSendApplication::GetTypeId(), ns3::LiIonEnergySource::GetTypeId(), ns3::olsr::RoutingProtocol::GetTypeId(), ns3::dsr::DsrOptions::GetTypeId(), ns3::SixLowPanNetDevice::GetTypeId(), ns3::WimaxNetDevice::GetTypeId(), ns3::LteUePhy::GetTypeId(), ns3::PacketSocket::GetTypeId(), ns3::FdNetDevice::GetTypeId(), ns3::Ipv4L3Protocol::GetTypeId(), ns3::WifiRemoteStationManager::GetTypeId(), ns3::MultiModelSpectrumChannel::GetTypeId(), ns3::OnOffApplication::GetTypeId(), ns3::HalfDuplexIdealPhy::GetTypeId(), ns3::UanPhyDual::GetTypeId(), ns3::TcpSocketBase::GetTypeId(), ns3::dsr::DsrRouting::GetTypeId(), AttributeObjectTest::GetTypeId(), ns3::UeManager::GetTypeId(), ns3::LteUeRrc::GetTypeId(), ns3::LteSpectrumPhy::GetTypeId(), ns3::WifiPhy::GetTypeId(), ns3::UanMacRc::GetTypeId(), ns3::LrWpanMac::GetTypeId(), ns3::WifiRadioEnergyModel::GetTypeId(), ns3::UanPhyGen::GetTypeId(), ns3::LrWpanPhy::GetTypeId(), ns3::UanPhy::GetTypeId(), and ns3::LteEnbRrc::GetTypeId().

+ Here is the call graph for this function:

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

Unary arithmetic operator for TracedValue.

Template Parameters
TThe underlying type held by the TracedValue.
Parameters
lhsThe TracedValue.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

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

+ Here is the call graph for this function:

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

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

+ Here is the call graph for this function:

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
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 ns3::TracedValue< T >::Get(), ns3::TracedValue< T >::Set(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 695 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:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 650 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:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on 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:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Unary arithmetic operator for TracedValue.

Template Parameters
TThe underlying type held by the TracedValue.
Parameters
lhsThe TracedValue.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 632 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:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Unary arithmetic operator for TracedValue.

Template Parameters
TThe underlying type held by the TracedValue.
Parameters
lhsThe TracedValue.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 641 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:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
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 ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 659 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:

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

References TRACED_VALUE_DEBUG.

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

References TRACED_VALUE_DEBUG.

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

References TRACED_VALUE_DEBUG.

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
TThe underlying type of the TracedValue.
Parameters
osThe output stream.
rhsThe TracedValue to stream.
Returns
The stream.

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

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
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 ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 677 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:

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

References TRACED_VALUE_DEBUG.

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

References TRACED_VALUE_DEBUG.

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

References TRACED_VALUE_DEBUG.

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

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

+ Here is the call graph for this function:

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

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

+ Here is the call graph for this function:

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

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

+ Here is the call graph for this function:

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

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

+ Here is the call graph for this function:

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

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

+ Here is the call graph for this function:

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

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

+ Here is the call graph for this function:

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

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

+ Here is the call graph for this function:

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

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

+ Here is the call graph for this function:

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

Boolean operator for TracedValue.

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The boolean result of comparing the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 686 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:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
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 ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

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
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 713 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:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
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 ns3::TracedValue< T >::Get(), and TRACED_VALUE_DEBUG.

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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

Infix arithmetic operator for TracedValue.

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

Template Parameters
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function:

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
TThe underlying type held by the left-hand argument.
UThe underlying type held by the right-hand argument.
Parameters
lhsThe left-hand argument.
rhsThe right-hand argument.
Returns
The result of doing the operator on the underlying values.

Definition at line 704 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:

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

Unary arithmetic operator for TracedValue.

Template Parameters
TThe underlying type held by the TracedValue.
Parameters
lhsThe TracedValue.
Returns
The result of doing the operator on the underlying values.

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

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

+ Here is the call graph for this function: