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

#include <SignalSymbolModel.h>

Inheritance diagram for inet::physicallayer::SignalSymbolModel:
inet::physicallayer::ISignalSymbolModel inet::IPrintableObject inet::physicallayer::ReceptionSymbolModel inet::physicallayer::TransmissionSymbolModel inet::physicallayer::Ieee80211OfdmReceptionSymbolModel inet::physicallayer::Ieee80211OfdmTransmissionSymbolModel

Public Member Functions

 SignalSymbolModel (int headerSymbolLength, double headerSymbolRate, int payloadSymbolLength, double payloadSymbolRate, const std::vector< const ISymbol * > *symbols)
 
virtual ~SignalSymbolModel ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level, int evFlags=0) const override
 Prints this object to the provided output stream. More...
 
virtual int getPayloadSymbolLength () const override
 
virtual double getPayloadSymbolRate () const override
 
virtual int getHeaderSymbolLength () const override
 
virtual double getHeaderSymbolRate () const override
 
virtual const std::vector< const ISymbol * > * getSymbols () const override
 
- 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 Attributes

const int headerSymbolLength
 
const int payloadSymbolLength
 
const double headerSymbolRate
 
const double payloadSymbolRate
 
const std::vector< const ISymbol * > * symbols
 

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

Constructor & Destructor Documentation

◆ SignalSymbolModel()

inet::physicallayer::SignalSymbolModel::SignalSymbolModel ( int  headerSymbolLength,
double  headerSymbolRate,
int  payloadSymbolLength,
double  payloadSymbolRate,
const std::vector< const ISymbol * > *  symbols 
)

◆ ~SignalSymbolModel()

inet::physicallayer::SignalSymbolModel::~SignalSymbolModel ( )
virtual
23 {
24  delete symbols;
25 }

Member Function Documentation

◆ getHeaderSymbolLength()

virtual int inet::physicallayer::SignalSymbolModel::getHeaderSymbolLength ( ) const
inlineoverridevirtual

◆ getHeaderSymbolRate()

virtual double inet::physicallayer::SignalSymbolModel::getHeaderSymbolRate ( ) const
inlineoverridevirtual

◆ getPayloadSymbolLength()

virtual int inet::physicallayer::SignalSymbolModel::getPayloadSymbolLength ( ) const
inlineoverridevirtual

◆ getPayloadSymbolRate()

virtual double inet::physicallayer::SignalSymbolModel::getPayloadSymbolRate ( ) const
inlineoverridevirtual

◆ getSymbols()

virtual const std::vector<const ISymbol *>* inet::physicallayer::SignalSymbolModel::getSymbols ( ) const
inlineoverridevirtual

◆ printToStream()

std::ostream & inet::physicallayer::SignalSymbolModel::printToStream ( std::ostream &  stream,
int  level,
int  evFlags = 0 
) const
overridevirtual

Prints this object to the provided output stream.

Reimplemented from inet::IPrintableObject.

28 {
29  stream << "SignalSymbolModel";
30  if (level <= PRINT_LEVEL_TRACE)
31  stream << EV_FIELD(headerSymbolLength)
35  return stream;
36 }

Member Data Documentation

◆ headerSymbolLength

const int inet::physicallayer::SignalSymbolModel::headerSymbolLength
protected

Referenced by printToStream().

◆ headerSymbolRate

const double inet::physicallayer::SignalSymbolModel::headerSymbolRate
protected

Referenced by printToStream().

◆ payloadSymbolLength

const int inet::physicallayer::SignalSymbolModel::payloadSymbolLength
protected

Referenced by printToStream().

◆ payloadSymbolRate

const double inet::physicallayer::SignalSymbolModel::payloadSymbolRate
protected

Referenced by printToStream().

◆ symbols


The documentation for this class was generated from the following files:
EV_FIELD
#define EV_FIELD(...)
Definition: INETDefs.h:112
inet::physicallayer::SignalSymbolModel::symbols
const std::vector< const ISymbol * > * symbols
Definition: SignalSymbolModel.h:24
inet::physicallayer::SignalSymbolModel::payloadSymbolLength
const int payloadSymbolLength
Definition: SignalSymbolModel.h:21
inet::IPrintableObject::PRINT_LEVEL_TRACE
@ PRINT_LEVEL_TRACE
Definition: IPrintableObject.h:22
inet::physicallayer::SignalSymbolModel::payloadSymbolRate
const double payloadSymbolRate
Definition: SignalSymbolModel.h:23
inet::physicallayer::SignalSymbolModel::headerSymbolRate
const double headerSymbolRate
Definition: SignalSymbolModel.h:22
inet::physicallayer::SignalSymbolModel::headerSymbolLength
const int headerSymbolLength
Definition: SignalSymbolModel.h:20