|
INET Framework for OMNeT++/OMNEST
|
#include <PropagationBase.h>
Public Member Functions | |
| PropagationBase () | |
| virtual std::ostream & | printToStream (std::ostream &stream, int level, int evFlags=0) 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::IPrintableObject | |
| virtual | ~IPrintableObject () |
| virtual std::string | printToString () const |
| virtual std::string | printToString (int level, int evFlags=0) const |
| virtual std::string | getInfoStringRepresentation (int evFlags=0) const |
| virtual std::string | getDetailStringRepresentation (int evFlags=0) const |
| virtual std::string | getDebugStringRepresentation (int evFlags=0) const |
| virtual std::string | getTraceStringRepresentation (int evFlags=0) const |
| virtual std::string | getCompleteStringRepresentation (int evFlags=0) 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::IPrintableObject | |
| enum | PrintLevel { PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO, PRINT_LEVEL_COMPLETE = INT_MIN } |
| enum | PrintFlag { PRINT_FLAG_FORMATTED = (1 << 0), PRINT_FLAG_MULTILINE = (1 << 1) } |
| 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 |
|
overridevirtual |
Prints this object to the provided output stream.
Reimplemented from inet::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().