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

#include <APSKCode.h>

Inheritance diagram for inet::physicallayer::APSKCode:
inet::physicallayer::ICode inet::physicallayer::IPrintableObject

Public Member Functions

 APSKCode (const ConvolutionalCode *convCode, const IInterleaving *interleaving, const IScrambling *scrambling)
 
 ~APSKCode ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level) const override
 Prints this object to the provided output stream. More...
 
const ConvolutionalCodegetConvolutionalCode () const
 
const IInterleavinggetInterleaving () const
 
const IScramblinggetScrambling () const
 
- 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 ConvolutionalCodeconvolutionalCode
 
const IInterleavinginterleaving
 
const IScramblingscrambling
 

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::APSKCode::APSKCode ( const ConvolutionalCode convCode,
const IInterleaving interleaving,
const IScrambling scrambling 
)
26  :
27  convolutionalCode(convCode),
30 {
31 }
const ConvolutionalCode * convolutionalCode
Definition: APSKCode.h:33
const IScrambling * scrambling
Definition: APSKCode.h:35
const IInterleaving * interleaving
Definition: APSKCode.h:34
inet::physicallayer::APSKCode::~APSKCode ( )
34 {
35  delete convolutionalCode;
36  delete interleaving;
37  delete scrambling;
38 }
const ConvolutionalCode * convolutionalCode
Definition: APSKCode.h:33
const IScrambling * scrambling
Definition: APSKCode.h:35
const IInterleaving * interleaving
Definition: APSKCode.h:34

Member Function Documentation

const ConvolutionalCode* inet::physicallayer::APSKCode::getConvolutionalCode ( ) const
inline
const IInterleaving* inet::physicallayer::APSKCode::getInterleaving ( ) const
inline
44 { return interleaving; }
const IInterleaving * interleaving
Definition: APSKCode.h:34
const IScrambling* inet::physicallayer::APSKCode::getScrambling ( ) const
inline
45 { return scrambling; }
const IScrambling * scrambling
Definition: APSKCode.h:35
std::ostream & inet::physicallayer::APSKCode::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.

41 {
42  stream << "APSKCode";
43  if (level <= PRINT_LEVEL_DETAIL)
44  stream << ", convolutionalCode = " << printObjectToString(convolutionalCode, level + 1)
45  << ", interleaving = " << printObjectToString(interleaving, level + 1)
46  << ", scrambling = " << printObjectToString(scrambling, level + 1);
47  return stream;
48 }
std::string printObjectToString(const IPrintableObject *object, int level)
Definition: IPrintableObject.h:73
const ConvolutionalCode * convolutionalCode
Definition: APSKCode.h:33
const IScrambling * scrambling
Definition: APSKCode.h:35
const IInterleaving * interleaving
Definition: APSKCode.h:34

Member Data Documentation

const ConvolutionalCode* inet::physicallayer::APSKCode::convolutionalCode
protected

Referenced by printToStream(), and ~APSKCode().

const IInterleaving* inet::physicallayer::APSKCode::interleaving
protected

Referenced by printToStream(), and ~APSKCode().

const IScrambling* inet::physicallayer::APSKCode::scrambling
protected

Referenced by printToStream(), and ~APSKCode().


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