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

#include <SignalSymbolModel.h>

Inheritance diagram for inet::physicallayer::SignalSymbolModel:
inet::physicallayer::ISignalSymbolModel inet::physicallayer::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) 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::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 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::physicallayer::IPrintableObject
enum  PrintLevel {
  PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO,
  PRINT_LEVEL_COMPLETE = INT_MIN
}
 

Constructor & Destructor Documentation

inet::physicallayer::SignalSymbolModel::SignalSymbolModel ( int  headerSymbolLength,
double  headerSymbolRate,
int  payloadSymbolLength,
double  payloadSymbolRate,
const std::vector< const ISymbol * > *  symbols 
)
24  :
30 {
31 }
const double headerSymbolRate
Definition: SignalSymbolModel.h:33
const double payloadSymbolRate
Definition: SignalSymbolModel.h:34
const int headerSymbolLength
Definition: SignalSymbolModel.h:31
const std::vector< const ISymbol * > * symbols
Definition: SignalSymbolModel.h:35
const int payloadSymbolLength
Definition: SignalSymbolModel.h:32
inet::physicallayer::SignalSymbolModel::~SignalSymbolModel ( )
virtual
34 {
35  delete symbols;
36 }
const std::vector< const ISymbol * > * symbols
Definition: SignalSymbolModel.h:35

Member Function Documentation

virtual int inet::physicallayer::SignalSymbolModel::getHeaderSymbolLength ( ) const
inlineoverridevirtual
virtual double inet::physicallayer::SignalSymbolModel::getHeaderSymbolRate ( ) const
inlineoverridevirtual
virtual int inet::physicallayer::SignalSymbolModel::getPayloadSymbolLength ( ) const
inlineoverridevirtual
virtual double inet::physicallayer::SignalSymbolModel::getPayloadSymbolRate ( ) const
inlineoverridevirtual
virtual const std::vector<const ISymbol *>* inet::physicallayer::SignalSymbolModel::getSymbols ( ) const
inlineoverridevirtual
std::ostream & inet::physicallayer::SignalSymbolModel::printToStream ( std::ostream &  stream,
int  level 
) const
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.

39 {
40  stream << "SignalSymbolModel";
41  if (level <= PRINT_LEVEL_TRACE)
42  stream << ", headerSymbolLength = " << headerSymbolLength
43  << ", payloadSymbolLength = " << payloadSymbolLength
44  << ", headerSymbolRate = " << headerSymbolRate
45  << ", payloadSymbolRate = " << payloadSymbolRate;
46  return stream;
47 }
const double headerSymbolRate
Definition: SignalSymbolModel.h:33
const double payloadSymbolRate
Definition: SignalSymbolModel.h:34
const int headerSymbolLength
Definition: SignalSymbolModel.h:31
const int payloadSymbolLength
Definition: SignalSymbolModel.h:32

Member Data Documentation

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

Referenced by printToStream().

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

Referenced by printToStream().

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

Referenced by printToStream().

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

Referenced by printToStream().


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