INET Framework for OMNeT++/OMNEST
inet::physicallayer::IPrintableObject Class Reference

This purely virtual interface provides an abstraction for printable objects. More...

#include <IPrintableObject.h>

Inheritance diagram for inet::physicallayer::IPrintableObject:
inet::physicallayer::DimensionalTransmitterBase inet::physicallayer::IAnalogDigitalConverter inet::physicallayer::IAnalogModel inet::physicallayer::IAntenna inet::physicallayer::IArrival inet::physicallayer::IBackgroundNoise inet::physicallayer::ICode inet::physicallayer::ICommunicationCache inet::physicallayer::IDecoder inet::physicallayer::IDemodulator inet::physicallayer::IDigitalAnalogConverter inet::physicallayer::Ieee80211Channel inet::physicallayer::Ieee80211ModeSet inet::physicallayer::Ieee80211TransmissionBase inet::physicallayer::IEncoder inet::physicallayer::IErrorModel inet::physicallayer::IFECCoder inet::physicallayer::IForwardErrorCorrection inet::physicallayer::IIeee80211Band inet::physicallayer::IIeee80211DataMode inet::physicallayer::IIeee80211HeaderMode inet::physicallayer::IIeee80211Mode inet::physicallayer::IIeee80211PreambleMode inet::physicallayer::IInterference inet::physicallayer::IInterleaver inet::physicallayer::IInterleaving inet::physicallayer::ILayeredErrorModel inet::physicallayer::IListening inet::physicallayer::IListeningDecision inet::physicallayer::IMediumLimitCache inet::physicallayer::IModulation inet::physicallayer::IModulator inet::physicallayer::INeighborCache inet::physicallayer::INoise inet::physicallayer::IObstacleLoss inet::physicallayer::IPathLoss inet::physicallayer::IPropagation inet::physicallayer::IPulseFilter inet::physicallayer::IPulseShaper inet::physicallayer::IRadio inet::physicallayer::IRadioFrame inet::physicallayer::IRadioMedium inet::physicallayer::IReceiver inet::physicallayer::IReception inet::physicallayer::IReceptionDecision inet::physicallayer::IReceptionResult inet::physicallayer::IScrambler inet::physicallayer::IScrambling inet::physicallayer::ISignalAnalogModel inet::physicallayer::ISignalBitModel inet::physicallayer::ISignalPacketModel inet::physicallayer::ISignalSampleModel inet::physicallayer::ISignalSymbolModel inet::physicallayer::ISNIR inet::physicallayer::ITransmission inet::physicallayer::ITransmitter

Public Types

enum  PrintLevel {
  PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO,
  PRINT_LEVEL_COMPLETE = INT_MIN
}
 

Public Member Functions

virtual ~IPrintableObject ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level) const
 Prints this object to the provided output stream. More...
 
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
 

Detailed Description

This purely virtual interface provides an abstraction for printable objects.

Member Enumeration Documentation

Enumerator
PRINT_LEVEL_TRACE 
PRINT_LEVEL_DEBUG 
PRINT_LEVEL_DETAIL 
PRINT_LEVEL_INFO 
PRINT_LEVEL_COMPLETE 

Constructor & Destructor Documentation

virtual inet::physicallayer::IPrintableObject::~IPrintableObject ( )
inlinevirtual
42 {}

Member Function Documentation

virtual std::string inet::physicallayer::IPrintableObject::getCompleteStringRepresentation ( ) const
inlinevirtual
virtual std::string inet::physicallayer::IPrintableObject::getDebugStringRepresentation ( ) const
inlinevirtual
56 { std::stringstream s; printToStream(s, PRINT_LEVEL_DEBUG); return s.str(); }
virtual std::ostream & printToStream(std::ostream &stream, int level) const
Prints this object to the provided output stream.
Definition: IPrintableObject.h:50
value< double, units::s > s
Definition: Units.h:1049
virtual std::string inet::physicallayer::IPrintableObject::getDetailStringRepresentation ( ) const
inlinevirtual
54 { std::stringstream s; printToStream(s, PRINT_LEVEL_DETAIL); return s.str(); }
virtual std::ostream & printToStream(std::ostream &stream, int level) const
Prints this object to the provided output stream.
Definition: IPrintableObject.h:50
value< double, units::s > s
Definition: Units.h:1049
virtual std::string inet::physicallayer::IPrintableObject::getInfoStringRepresentation ( ) const
inlinevirtual
52 { std::stringstream s; printToStream(s, PRINT_LEVEL_INFO); return s.str(); }
virtual std::ostream & printToStream(std::ostream &stream, int level) const
Prints this object to the provided output stream.
Definition: IPrintableObject.h:50
value< double, units::s > s
Definition: Units.h:1049
virtual std::string inet::physicallayer::IPrintableObject::getTraceStringRepresentation ( ) const
inlinevirtual
58 { std::stringstream s; printToStream(s, PRINT_LEVEL_TRACE); return s.str(); }
virtual std::ostream & printToStream(std::ostream &stream, int level) const
Prints this object to the provided output stream.
Definition: IPrintableObject.h:50
value< double, units::s > s
Definition: Units.h:1049
virtual std::ostream& inet::physicallayer::IPrintableObject::printToStream ( std::ostream &  stream,
int  level 
) const
inlinevirtual

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 in inet::physicallayer::RadioMedium, inet::physicallayer::Radio, inet::physicallayer::ConvolutionalCoder, inet::physicallayer::Ieee80211OFDMMode, inet::physicallayer::MediumLimitCache, inet::physicallayer::Ieee80211OFDMDataMode, inet::physicallayer::Ieee80211HrDsssMode, inet::physicallayer::Ieee80211LayeredOFDMReceiver, inet::physicallayer::Ieee80211LayeredOFDMTransmitter, inet::physicallayer::Ieee80211IrMode, inet::physicallayer::Ieee80211DsssMode, inet::physicallayer::Ieee80211OFDMSignalMode, inet::physicallayer::DielectricObstacleLoss, inet::physicallayer::Ieee80211FhssMode, inet::physicallayer::UWBIRStochasticPathLoss, inet::physicallayer::Ieee80211OFDMPreambleMode, inet::physicallayer::Ieee80211YansErrorModel, inet::physicallayer::APSKLayeredReceiver, inet::physicallayer::DimensionalTransmitterBase, inet::physicallayer::APSKLayeredTransmitter, inet::physicallayer::QuadTreeNeighborCache, inet::physicallayer::VectorCommunicationCache, inet::physicallayer::Ieee802154UWBIRTransmitter, inet::physicallayer::NeighborListNeighborCache, inet::physicallayer::IdealObstacleLoss, inet::physicallayer::GridNeighborCache, inet::physicallayer::Ieee80211NistErrorModel, inet::physicallayer::Ieee80211ModeSet, inet::physicallayer::Ieee80211OFDMDecoder, inet::physicallayer::MapCommunicationCache, inet::physicallayer::Ieee80211OFDMModulator, inet::physicallayer::Ieee80211TransmitterBase, inet::physicallayer::NarrowbandSignalAnalogModel, inet::physicallayer::APSKEncoder, inet::physicallayer::Ieee80211OFDMDecoderModule, inet::physicallayer::TransmissionBase, inet::physicallayer::AdditiveScrambler, inet::physicallayer::Ieee80211OFDMDemodulator, inet::physicallayer::Ieee80211DsssOfdmMode, inet::physicallayer::IdealReception, inet::physicallayer::Ieee80211OFDMErrorModel, inet::physicallayer::SUIPathLoss, inet::physicallayer::ReceptionBase, inet::physicallayer::SNIRReceiverBase, inet::physicallayer::ConvolutionalCode, inet::physicallayer::Ieee80211OFDMEncoder, inet::physicallayer::Ieee80211OFDMInterleaver, inet::physicallayer::FlatReceiverBase, inet::physicallayer::LayeredReception, inet::physicallayer::LayeredReceptionResult, inet::physicallayer::IdealTransmitter, inet::physicallayer::Ieee80211ReceiverBase, inet::physicallayer::Ieee802154UWBIRReceiver, inet::physicallayer::LayeredTransmission, inet::physicallayer::Arrival, inet::physicallayer::ReferenceCommunicationCache, inet::physicallayer::InterpolatingAntenna, inet::physicallayer::APSKDecoder, inet::physicallayer::APSKDemodulator, inet::physicallayer::Ieee80211OFDMEncoderModule, inet::physicallayer::QAM16Modulation, inet::physicallayer::QAM256Modulation, inet::physicallayer::QAM64Modulation, inet::physicallayer::FreeSpacePathLoss, inet::physicallayer::APSKModulator, inet::physicallayer::StochasticErrorModel, inet::physicallayer::IdealReceiver, inet::physicallayer::BPSKModulation, inet::physicallayer::QPSKModulation, inet::physicallayer::IsotropicDimensionalBackgroundNoise, inet::physicallayer::APSKModulationBase, inet::physicallayer::NarrowbandReceiverBase, inet::physicallayer::SignalBitModel, inet::physicallayer::Ieee80211OFDMDemodulatorModule, inet::physicallayer::RicianFading, inet::physicallayer::TwoRayGroundReflection, inet::physicallayer::APSKCode, inet::physicallayer::FlatTransmitterBase, inet::physicallayer::NarrowbandTransmitterBase, inet::physicallayer::AdditiveScramblerModule, inet::physicallayer::SignalSymbolModel, inet::physicallayer::RadioFrame, inet::physicallayer::IdealTransmission, inet::physicallayer::Ieee80211BerTableErrorModel, inet::physicallayer::ConstantSpeedPropagation, inet::physicallayer::DimensionalSNIR, inet::physicallayer::ParabolicAntenna, inet::physicallayer::PropagationBase, inet::physicallayer::ConvolutionalCoderModule, inet::physicallayer::ReceptionResult, inet::physicallayer::StochasticLayeredErrorModel, inet::physicallayer::Ieee80211OFDMInterleaverModule, inet::physicallayer::Ieee80211OFDMModulatorModule, inet::physicallayer::Ieee80211IdealTransmitter, inet::physicallayer::MFSKModulation, inet::physicallayer::LogNormalShadowing, inet::physicallayer::NakagamiFading, inet::physicallayer::CosineAntenna, inet::physicallayer::AntennaBase, inet::physicallayer::ListeningBase, inet::physicallayer::NarrowbandTransmissionBase, inet::physicallayer::ReceptionDecision, inet::physicallayer::Ieee80211OFDMCode, inet::physicallayer::MASKModulation, inet::physicallayer::MPSKModulation, inet::physicallayer::MQAMModulation, inet::physicallayer::DimensionalSignalAnalogModel, inet::physicallayer::DimensionalNoise, inet::physicallayer::DimensionalTransmission, inet::physicallayer::ScalarSNIR, inet::physicallayer::ConstantGainAntenna, inet::physicallayer::DipoleAntenna, inet::physicallayer::IsotropicScalarBackgroundNoise, inet::physicallayer::DimensionalAnalogModelBase, inet::physicallayer::SNIRBase, inet::physicallayer::SignalPacketModel, inet::physicallayer::SignalSampleModel, inet::physicallayer::Ieee80211OFDMModulation, inet::physicallayer::Ieee80211DimensionalTransmitter, inet::physicallayer::Ieee80211IdealReceiver, inet::physicallayer::Ieee802154NarrowbandScalarReceiver, inet::physicallayer::ConstantTimePropagation, inet::physicallayer::FlatTransmissionBase, inet::physicallayer::NarrowbandReceptionBase, inet::physicallayer::AdditiveScrambling, inet::physicallayer::Interference, inet::physicallayer::Ieee80211TransmissionBase, inet::physicallayer::SignalAnalogModel, inet::physicallayer::ScalarNoise, inet::physicallayer::ScalarReception, inet::physicallayer::APSKDimensionalTransmitter, inet::physicallayer::NarrowbandNoiseBase, inet::physicallayer::NoiseBase, inet::physicallayer::BandListening, inet::physicallayer::ListeningDecision, inet::physicallayer::Ieee80211OFDMInterleaving, inet::physicallayer::Ieee80211Channel, inet::physicallayer::Ieee80211DimensionalReceiver, inet::physicallayer::Ieee80211ScalarReceiver, inet::physicallayer::RayleighFading, inet::physicallayer::ScalarSignalAnalogModel, inet::physicallayer::ScalarTransmission, inet::physicallayer::IdealListening, inet::physicallayer::IdealNoise, inet::physicallayer::Ieee80211ErpOfdmMode, inet::physicallayer::_16PPMModulation, inet::physicallayer::_2GFSKModulation, inet::physicallayer::_4GFSKModulation, inet::physicallayer::_4PPMModulation, inet::physicallayer::DBPSKModulation, inet::physicallayer::DQPSKModulation, inet::physicallayer::Ieee80211IdealTransmission, inet::physicallayer::APSKDimensionalReceiver, inet::physicallayer::APSKScalarReceiver, inet::physicallayer::APSKErrorModel, inet::physicallayer::IdealAnalogModel, inet::physicallayer::Ieee80211DimensionalTransmission, inet::physicallayer::Ieee80211ScalarTransmission, inet::physicallayer::Ieee802154NarrowbandScalarTransmitter, inet::physicallayer::LayeredDimensionalAnalogModel, inet::physicallayer::LayeredScalarAnalogModel, inet::physicallayer::IsotropicAntenna, inet::physicallayer::APSKLayeredErrorModel, inet::physicallayer::APSKScalarTransmitter, inet::physicallayer::IdealSNIR, inet::physicallayer::Ieee80211ScalarTransmitter, inet::physicallayer::DimensionalAnalogModel, inet::physicallayer::ScalarAnalogModel, inet::physicallayer::IIeee80211Band, inet::physicallayer::BreakpointPathLoss, and inet::physicallayer::TwoRayInterference.

50 { return stream << "<object@" << (void *)this << ">"; }

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