INET Framework for OMNeT++/OMNEST
|
#include <PropagationBase.h>
Public Member Functions | |
PropagationBase () | |
virtual std::ostream & | printToStream (std::ostream &stream, int level) const override |
Prints this object to the provided output stream. More... | |
virtual mps | getPropagationSpeed () const override |
Returns the theoretical propagation speed of radio signals in the range (0, +infinity). More... | |
Public Member Functions inherited from inet::physicallayer::IPropagation | |
virtual const IArrival * | computeArrival (const ITransmission *transmission, IMobility *mobility) const =0 |
Returns the time and space coordinates when the transmission arrives at the object that moves with the provided mobility. More... | |
Public Member Functions inherited from inet::physicallayer::IPrintableObject | |
virtual | ~IPrintableObject () |
virtual std::string | getInfoStringRepresentation () const |
virtual std::string | getDetailStringRepresentation () const |
virtual std::string | getDebugStringRepresentation () const |
virtual std::string | getTraceStringRepresentation () const |
virtual std::string | getCompleteStringRepresentation () const |
Protected Member Functions | |
virtual void | initialize (int stage) override |
virtual void | finish () override |
Protected Attributes | |
mps | propagationSpeed |
long | arrivalComputationCount |
Additional Inherited Members | |
Public Types inherited from inet::physicallayer::IPrintableObject | |
enum | PrintLevel { PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO, PRINT_LEVEL_COMPLETE = INT_MIN } |
inet::physicallayer::PropagationBase::PropagationBase | ( | ) |
|
overrideprotectedvirtual |
|
inlineoverridevirtual |
Returns the theoretical propagation speed of radio signals in the range (0, +infinity).
The value might be different from the approximation provided by the actual computation of arrival times.
Implements inet::physicallayer::IPropagation.
|
overrideprotectedvirtual |
Reimplemented in inet::physicallayer::ConstantSpeedPropagation, and inet::physicallayer::ConstantTimePropagation.
Referenced by inet::physicallayer::ConstantTimePropagation::initialize(), and inet::physicallayer::ConstantSpeedPropagation::initialize().
|
overridevirtual |
Prints this object to the provided output stream.
Function calls to operator<< with pointers or references either const or not are all forwarded to this function.
Reimplemented from inet::physicallayer::IPrintableObject.
Reimplemented in inet::physicallayer::ConstantSpeedPropagation, and inet::physicallayer::ConstantTimePropagation.
Referenced by inet::physicallayer::ConstantTimePropagation::printToStream(), and inet::physicallayer::ConstantSpeedPropagation::printToStream().
|
mutableprotected |
|
protected |
Referenced by inet::physicallayer::ConstantSpeedPropagation::computeArrival(), initialize(), and printToStream().