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

#include <ApskCode.h>

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

Public Member Functions

 ApskCode (const ConvolutionalCode *convCode, const IInterleaving *interleaving, const IScrambling *scrambling)
 
 ~ApskCode ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level, int evFlags=0) 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::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 ConvolutionalCodeconvolutionalCode
 
const IInterleavinginterleaving
 
const IScramblingscrambling
 

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

◆ ApskCode()

inet::physicallayer::ApskCode::ApskCode ( const ConvolutionalCode convCode,
const IInterleaving interleaving,
const IScrambling scrambling 
)
16  :
17  convolutionalCode(convCode),
20 {
21 }

◆ ~ApskCode()

inet::physicallayer::ApskCode::~ApskCode ( )
24 {
25  delete convolutionalCode;
26  delete interleaving;
27  delete scrambling;
28 }

Member Function Documentation

◆ getConvolutionalCode()

const ConvolutionalCode* inet::physicallayer::ApskCode::getConvolutionalCode ( ) const
inline

◆ getInterleaving()

const IInterleaving* inet::physicallayer::ApskCode::getInterleaving ( ) const
inline
34 { return interleaving; }

◆ getScrambling()

const IScrambling* inet::physicallayer::ApskCode::getScrambling ( ) const
inline
35 { return scrambling; }

◆ printToStream()

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

Prints this object to the provided output stream.

Reimplemented from inet::IPrintableObject.

31 {
32  stream << "ApskCode";
33  if (level <= PRINT_LEVEL_DETAIL)
37  return stream;
38 }

Member Data Documentation

◆ convolutionalCode

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

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

◆ interleaving

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

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

◆ scrambling

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

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


The documentation for this class was generated from the following files:
inet::physicallayer::ApskCode::interleaving
const IInterleaving * interleaving
Definition: ApskCode.h:24
inet::IPrintableObject::PRINT_LEVEL_DETAIL
@ PRINT_LEVEL_DETAIL
Definition: IPrintableObject.h:24
inet::physicallayer::ApskCode::convolutionalCode
const ConvolutionalCode * convolutionalCode
Definition: ApskCode.h:23
inet::printFieldToString
std::string printFieldToString(const IPrintableObject *object, int level, int evFlags=0)
Definition: IPrintableObject.h:98
EV_FIELD
#define EV_FIELD(...)
Definition: INETDefs.h:112
inet::physicallayer::ApskCode::scrambling
const IScrambling * scrambling
Definition: ApskCode.h:25
inet::evFlags
int evFlags
Definition: INETDefs.cc:12