21 #ifndef UAN_TRANSDUCER_H
22 #define UAN_TRANSDUCER_H
24 #include "ns3/object.h"
25 #include "ns3/packet.h"
26 #include "uan-tx-mode.h"
27 #include "ns3/uan-prop-model.h"
60 m_rxPowerDb (rxPowerDb),
126 static TypeId GetTypeId (
void);
152 virtual bool IsRx (
void)
const = 0;
156 virtual bool IsTx (
void)
const = 0;
196 virtual void Clear (
void) = 0;
UanPdp GetPdp(void) const
Time GetArrivalTime(void) const
virtual const UanPhyList & GetPhyList(void) const =0
virtual bool IsRx(void) const =0
std::list< Ptr< UanPhy > > UanPhyList
UanPhyList is a standard template library list of UanPhy objects.
virtual const ArrivalList & GetArrivalList(void) const =0
UanPacketArrival(Ptr< Packet > packet, double rxPowerDb, UanTxMode txMode, UanPdp pdp, Time arrTime)
virtual void Receive(Ptr< Packet > packet, double rxPowerDb, UanTxMode txMode, UanPdp pdp)=0
Receive Notify this object that a new packet has arrived at this nodes location.
virtual void AddPhy(Ptr< UanPhy > phy)=0
virtual State GetState(void) const =0
Ptr< Packet > GetPacket(void) const
virtual void SetChannel(Ptr< UanChannel > chan)=0
const UanTxMode & GetTxMode(void) const
virtual void Clear(void)=0
Abstraction of packet modulation information.
Virtual base for Transducer objects.
std::list< UanPacketArrival > ArrivalList
Arrival list is a standard template library list of UanPacketArrivals objects.
double GetRxPowerDb(void) const
virtual Ptr< UanChannel > GetChannel(void) const =0
virtual bool IsTx(void) const =0
virtual void Transmit(Ptr< UanPhy > src, Ptr< Packet > packet, double txPowerDb, UanTxMode txMode)=0
Transmit a packet from this transducer.
State
Transducer state (receiving or transmitting)
a base class which provides memory management and object aggregation
a unique identifier for an interface.
Class consisting of packet arrival information (Time, RxPower, mode, PDP)