#include <spectrum-error-model.h>
Public Member Functions | |
void | StartRx (Ptr< const Packet > p) |
void | EvaluateChunk (const SpectrumValue &sinr, Time duration) |
bool | IsRxCorrect () |
Protected Member Functions | |
virtual void | DoDispose () |
This class implements the error model described in this paper: N. Baldo and M. Miozzo, "Spectrum-aware Channel and PHY layer modeling for ns3", in Proceedings of International Workshop on Network Simulation Tools (NSTOOLS 2009), 19 October 2009, Pisa (Italy).
virtual void ns3::ShannonSpectrumErrorModel::DoDispose | ( | ) | [protected, virtual] |
This method is called by Object::Dispose or by the object's destructor, whichever comes first.
Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.
It is safe to call GetObject from within this method.
Reimplemented from ns3::Object.