78 .AddTraceSource (
"PhyTxBegin",
79 "Trace source indicating a packet has " 80 "begun transmitting over the channel medium.",
82 "ns3::Packet::TracedCallback")
83 .AddTraceSource (
"PhyTxEnd",
84 "Trace source indicating a packet has " 85 "been completely transmitted over the channel.",
87 "ns3::Packet::TracedCallback")
88 .AddTraceSource (
"PhyTxDrop",
89 "Trace source indicating a packet has " 90 "been dropped by the device during transmission.",
92 "ns3::Packet::TracedCallback")
93 .AddTraceSource (
"PhyRxBegin",
94 "Trace source indicating a packet has " 95 "begun being received from the channel medium by the device.",
97 "ns3::Packet::TracedCallback")
98 .AddTraceSource (
"PhyRxEnd",
99 "Trace source indicating a packet has " 100 "been completely received from the channel medium by the device.",
102 "ns3::Packet::TracedCallback")
103 .AddTraceSource (
"PhyRxDrop",
104 "Trace source indicating a packet has " 105 "been dropped by the device during reception.",
107 "ns3::Packet::TracedCallback")
ns3::TracedCallback< Ptr< const Packet > > m_phyTxDropTrace
Trace source indicating a packet has been dropped by the device during transmission.
ns3::TracedCallback< Ptr< const Packet > > m_phyRxDropTrace
Trace source indicating a packet has been dropped by the device during reception. ...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
void NotifyRxDrop(Ptr< const Packet > packet)
Called when the Phy drops a packet.
virtual void DoDispose(void)
Destructor implementation.
virtual void DoDispose(void)
Destructor implementation.
void NotifyTxDrop(Ptr< const Packet > packet)
Called when the transducer attempts to transmit a new packet while already transmitting a prior packe...
void NotifyRxEnd(Ptr< const Packet > packet)
Called when a packet is received without error.
Ptr< const TraceSourceAccessor > MakeTraceSourceAccessor(T a)
Create a TraceSourceAccessor which will control access to the underlying trace source.
virtual void Clear(void)
Clear all pointer references.
static TypeId GetTypeId(void)
Register this type.
ns3::TracedCallback< Ptr< const Packet > > m_phyTxBeginTrace
Trace source indicating a packet has begun transmitting over the channel medium.
Calculate packet error probability, based on received SINR and modulation (mode). ...
ns3::TracedCallback< Ptr< const Packet > > m_phyRxEndTrace
Trace source indicating a packet has been completely received from the channel medium by the device...
void NotifyTxBegin(Ptr< const Packet > packet)
Called when the transducer begins transmitting a packet.
void NotifyRxBegin(Ptr< const Packet > packet)
Called when the Phy begins to receive a packet.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static TypeId GetTypeId(void)
Register this type.
ns3::TracedCallback< Ptr< const Packet > > m_phyRxBeginTrace
Trace source indicating a packet has begun being received from the channel medium by the device...
virtual void DoDispose(void)
Destructor implementation.
Base class for UAN Phy models.
virtual void Clear(void)
Clear all pointer references.
ns3::TracedCallback< Ptr< const Packet > > m_phyTxEndTrace
Trace source indicating a packet has been completely transmitted over the channel.
static TypeId GetTypeId(void)
Register this type.
A base class which provides memory management and object aggregation.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
void NotifyTxEnd(Ptr< const Packet > packet)
Called when the transducer finishes transmitting a packet.