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

#include <SignalAnalogModel.h>

Inheritance diagram for inet::physicallayer::SignalAnalogModel:
inet::physicallayer::ISignalAnalogModel inet::physicallayer::IPrintableObject inet::physicallayer::NarrowbandSignalAnalogModel inet::physicallayer::DimensionalSignalAnalogModel inet::physicallayer::ScalarSignalAnalogModel inet::physicallayer::DimensionalReceptionSignalAnalogModel inet::physicallayer::DimensionalTransmissionSignalAnalogModel inet::physicallayer::ScalarReceptionSignalAnalogModel inet::physicallayer::ScalarTransmissionSignalAnalogModel

Public Member Functions

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

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::SignalAnalogModel::SignalAnalogModel ( const simtime_t  duration)
24  :
26 {
27 }
const simtime_t duration
Definition: SignalAnalogModel.h:31

Member Function Documentation

virtual const simtime_t inet::physicallayer::SignalAnalogModel::getDuration ( ) const
inlineoverridevirtual

Implements inet::physicallayer::ISignalAnalogModel.

38 { return duration; }
const simtime_t duration
Definition: SignalAnalogModel.h:31
std::ostream & inet::physicallayer::SignalAnalogModel::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.

Reimplemented in inet::physicallayer::NarrowbandSignalAnalogModel, inet::physicallayer::DimensionalSignalAnalogModel, and inet::physicallayer::ScalarSignalAnalogModel.

30 {
31  if (level <= PRINT_LEVEL_TRACE)
32  stream << ", duration = " << duration;
33  return stream;
34 }
const simtime_t duration
Definition: SignalAnalogModel.h:31

Member Data Documentation

const simtime_t inet::physicallayer::SignalAnalogModel::duration
protected

Referenced by printToStream().


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