INET Framework for OMNeT++/OMNEST
|
#include <LayeredTransmission.h>
Public Member Functions | |
LayeredTransmission (const ITransmissionPacketModel *packetModel, const ITransmissionBitModel *bitModel, const ITransmissionSymbolModel *symbolModel, const ITransmissionSampleModel *sampleModel, const ITransmissionAnalogModel *analogModel, const IRadio *transmitter, const cPacket *macFrame, const simtime_t startTime, const simtime_t endTime, const simtime_t preambleDuration, const simtime_t headerDuration, const simtime_t dataDuration, const Coord startPosition, const Coord endPosition, const EulerAngles startOrientation, const EulerAngles endOrientation) | |
virtual | ~LayeredTransmission () |
virtual std::ostream & | printToStream (std::ostream &stream, int level) const override |
Prints this object to the provided output stream. More... | |
virtual const ITransmissionPacketModel * | getPacketModel () const |
virtual const ITransmissionBitModel * | getBitModel () const |
virtual const ITransmissionSymbolModel * | getSymbolModel () const |
virtual const ITransmissionSampleModel * | getSampleModel () const |
virtual const ITransmissionAnalogModel * | getAnalogModel () const override |
Returns the analog model of the transmitted signal. More... | |
virtual const cPacket * | getPhyFrame () const override |
Returns the PHY frame corresponding to this transmission. More... | |
virtual const cPacket * | getMacFrame () const override |
Returns the MAC frame corresponding to this transmission. More... | |
Public Member Functions inherited from inet::physicallayer::TransmissionBase | |
TransmissionBase (const IRadio *transmitter, const cPacket *macFrame, const simtime_t startTime, const simtime_t endTime, const simtime_t preambleDuration, const simtime_t headerDuration, const simtime_t dataDuration, const Coord startPosition, const Coord endPosition, const EulerAngles startOrientation, const EulerAngles endOrientation) | |
virtual int | getId () const override |
Returns an identifier for this transmission which is globally unique for the whole lifetime of the simulation among all transmissions. More... | |
virtual const IRadio * | getTransmitter () const override |
Returns the transmitter that transmitted this radio signal on the radio channel. More... | |
virtual const simtime_t | getStartTime () const override |
Returns the time when the transmitter started this transmission. More... | |
virtual const simtime_t | getEndTime () const override |
Returns the time when the transmitter ended this transmission. More... | |
virtual const simtime_t | getStartTime (IRadioSignal::SignalPart part) const override |
virtual const simtime_t | getEndTime (IRadioSignal::SignalPart part) const override |
virtual const simtime_t | getPreambleStartTime () const override |
virtual const simtime_t | getPreambleEndTime () const override |
virtual const simtime_t | getHeaderStartTime () const override |
virtual const simtime_t | getHeaderEndTime () const override |
virtual const simtime_t | getDataStartTime () const override |
virtual const simtime_t | getDataEndTime () const override |
virtual const simtime_t | getDuration () const override |
Returns the total length of this transmission. More... | |
virtual const simtime_t | getDuration (IRadioSignal::SignalPart part) const override |
Returns the length of the provided part of this transmission. More... | |
virtual const simtime_t | getPreambleDuration () const override |
Returns the length of the preamble part of this transmission. More... | |
virtual const simtime_t | getHeaderDuration () const override |
Returns the length of the header part of this transmission. More... | |
virtual const simtime_t | getDataDuration () const override |
Returns the length of the data part of this transmission. More... | |
virtual const Coord | getStartPosition () const override |
Returns the antenna's position when the transmitter started this transmission. More... | |
virtual const Coord | getEndPosition () const override |
Returns the antenna's position when the transmitter ended this transmission. More... | |
virtual const EulerAngles | getStartOrientation () const override |
Returns the antenna's orientation when the transmitter started this transmission. More... | |
virtual const EulerAngles | getEndOrientation () const override |
Returns the antenna's orientation when the transmitter ended this transmission. 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 Attributes | |
const ITransmissionPacketModel * | packetModel |
const ITransmissionBitModel * | bitModel |
const ITransmissionSymbolModel * | symbolModel |
const ITransmissionSampleModel * | sampleModel |
const ITransmissionAnalogModel * | analogModel |
Protected Attributes inherited from inet::physicallayer::TransmissionBase | |
const int | id |
const IRadio * | transmitter |
const cPacket * | macFrame |
const simtime_t | startTime |
const simtime_t | endTime |
const simtime_t | preambleDuration |
const simtime_t | headerDuration |
const simtime_t | dataDuration |
const Coord | startPosition |
const Coord | endPosition |
const EulerAngles | startOrientation |
const EulerAngles | endOrientation |
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 } |
Static Protected Attributes inherited from inet::physicallayer::ITransmission | |
static int | nextId = 0 |
inet::physicallayer::LayeredTransmission::LayeredTransmission | ( | const ITransmissionPacketModel * | packetModel, |
const ITransmissionBitModel * | bitModel, | ||
const ITransmissionSymbolModel * | symbolModel, | ||
const ITransmissionSampleModel * | sampleModel, | ||
const ITransmissionAnalogModel * | analogModel, | ||
const IRadio * | transmitter, | ||
const cPacket * | macFrame, | ||
const simtime_t | startTime, | ||
const simtime_t | endTime, | ||
const simtime_t | preambleDuration, | ||
const simtime_t | headerDuration, | ||
const simtime_t | dataDuration, | ||
const Coord | startPosition, | ||
const Coord | endPosition, | ||
const EulerAngles | startOrientation, | ||
const EulerAngles | endOrientation | ||
) |
|
virtual |
|
inlineoverridevirtual |
Returns the analog model of the transmitted signal.
Reimplemented from inet::physicallayer::TransmissionBase.
Referenced by inet::physicallayer::APSKLayeredErrorModel::computeBitModel(), inet::physicallayer::Ieee80211OFDMErrorModel::computeBitModel(), inet::physicallayer::APSKLayeredErrorModel::computePacketModel(), inet::physicallayer::LayeredScalarAnalogModel::computeReception(), inet::physicallayer::LayeredDimensionalAnalogModel::computeReception(), inet::physicallayer::APSKLayeredErrorModel::computeSymbolModel(), and inet::physicallayer::Ieee80211OFDMErrorModel::computeSymbolModel().
|
inlinevirtual |
Referenced by inet::physicallayer::LayeredErrorModelBase::computeBitModel(), inet::physicallayer::APSKLayeredErrorModel::computeBitModel(), inet::physicallayer::Ieee80211OFDMErrorModel::computeBitModel(), inet::physicallayer::APSKLayeredErrorModel::computePacketModel(), inet::physicallayer::APSKLayeredErrorModel::computeSymbolModel(), and inet::physicallayer::Ieee80211OFDMErrorModel::computeSymbolModel().
|
inlineoverridevirtual |
Returns the MAC frame corresponding to this transmission.
This function never returns nullptr.
Reimplemented from inet::physicallayer::TransmissionBase.
|
inlinevirtual |
Referenced by inet::physicallayer::LayeredErrorModelBase::computePacketModel(), inet::physicallayer::APSKLayeredErrorModel::computePacketModel(), and inet::physicallayer::Ieee80211OFDMErrorModel::computePacketModel().
|
inlineoverridevirtual |
Returns the PHY frame corresponding to this transmission.
This function may return nullptr.
Reimplemented from inet::physicallayer::TransmissionBase.
|
inlinevirtual |
Referenced by inet::physicallayer::Ieee80211OFDMErrorModel::computeSampleModel().
|
inlinevirtual |
Referenced by inet::physicallayer::APSKLayeredErrorModel::computeBitModel(), inet::physicallayer::Ieee80211OFDMErrorModel::computeBitModel(), inet::physicallayer::APSKLayeredErrorModel::computePacketModel(), inet::physicallayer::LayeredErrorModelBase::computeSymbolModel(), inet::physicallayer::APSKLayeredErrorModel::computeSymbolModel(), and inet::physicallayer::Ieee80211OFDMErrorModel::computeSymbolModel().
|
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::TransmissionBase.
|
protected |
Referenced by printToStream(), and ~LayeredTransmission().
|
protected |
Referenced by printToStream(), and ~LayeredTransmission().
|
protected |
Referenced by printToStream(), and ~LayeredTransmission().
|
protected |
Referenced by printToStream(), and ~LayeredTransmission().
|
protected |
Referenced by printToStream(), and ~LayeredTransmission().