Public Member Functions | Protected Member Functions

ns3::ShannonSpectrumErrorModel Class Reference

#include <spectrum-error-model.h>

Inheritance diagram for ns3::ShannonSpectrumErrorModel:
Inheritance graph
[legend]
Collaboration diagram for ns3::ShannonSpectrumErrorModel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void StartRx (Ptr< const Packet > p)
void EvaluateChunk (const SpectrumValue &sinr, Time duration)
bool IsRxCorrect ()

Protected Member Functions

virtual void DoDispose ()

Detailed Description

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).


Member Function Documentation

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.


The documentation for this class was generated from the following file: