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")
A base class which provides memory management and object aggregation.
virtual void DoDispose(void)
Destructor implementation.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
virtual void DoDispose(void)
Destructor implementation.
virtual void Clear(void)
Clear all pointer references.
static TypeId GetTypeId(void)
Register this type.
Base class for UAN Phy models.
void NotifyTxDrop(Ptr< const Packet > packet)
Called when the transducer attempts to transmit a new packet while already transmitting a prior packe...
ns3::TracedCallback< Ptr< const Packet > > m_phyRxBeginTrace
Trace source indicating a packet has begun being received from the channel medium by the device.
void NotifyTxEnd(Ptr< const Packet > packet)
Called when the transducer finishes transmitting a packet.
void NotifyRxDrop(Ptr< const Packet > packet)
Called when the Phy drops a packet.
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.
ns3::TracedCallback< Ptr< const Packet > > m_phyRxEndTrace
Trace source indicating a packet has been completely received from the channel medium by the device.
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.
ns3::TracedCallback< Ptr< const Packet > > m_phyTxBeginTrace
Trace source indicating a packet has begun transmitting over the channel medium.
void NotifyRxBegin(Ptr< const Packet > packet)
Called when the Phy begins to receive a packet.
void NotifyRxEnd(Ptr< const Packet > packet)
Called when a packet is received without error.
void NotifyTxBegin(Ptr< const Packet > packet)
Called when the transducer begins transmitting a packet.
Calculate packet error probability, based on received SINR and modulation (mode).
static TypeId GetTypeId(void)
Register this type.
virtual void DoDispose(void)
Destructor implementation.
virtual void Clear(void)
Clear all pointer references.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Ptr< const TraceSourceAccessor > MakeTraceSourceAccessor(T a)
Create a TraceSourceAccessor which will control access to the underlying trace source.
Every class exported by the ns3 library is enclosed in the ns3 namespace.