23 #include <ns3/nstime.h>
74 capacity += (bi->fh - bi->fl) * (*vi);
Values::const_iterator ConstValuesEnd() const
void StartRx(Ptr< const Packet > p)
Simulation virtual time values and global simulation resolution.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
void EvaluateChunk(const SpectrumValue &sinr, Time duration)
virtual void DoDispose()
Destructor implementation.
static TypeId GetTypeId()
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
uint32_t m_deliverableBytes
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
uint32_t GetSize(void) const
Returns the the size in bytes of the packet (including the zero-filled initial payload).
virtual void DoDispose(void)
Destructor implementation.
double GetSeconds(void) const
Get an approximation of the time stored in this instance in the indicated unit.
Bands::const_iterator ConstBandsEnd() const
#define NS_LOG_LOGIC(msg)
Use NS_LOG to output a message of level LOG_LOGIC.
Bands::const_iterator ConstBandsBegin() const
Every class exported by the ns3 library is enclosed in the ns3 namespace.
virtual ~SpectrumErrorModel()
Values::const_iterator ConstValuesBegin() const
A base class which provides memory management and object aggregation.
SpectrumValue Log2(const SpectrumValue &arg)
Set of values corresponding to a given SpectrumModel.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)