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

#include <SignalSampleModel.h>

Inheritance diagram for inet::physicallayer::ReceptionSampleModel:
inet::physicallayer::SignalSampleModel inet::physicallayer::IReceptionSampleModel inet::physicallayer::ISignalSampleModel inet::physicallayer::ISignalSampleModel inet::physicallayer::IPrintableObject inet::physicallayer::IPrintableObject

Public Member Functions

 ReceptionSampleModel (int sampleLength, double sampleRate, const std::vector< W > *samples, W rssi)
 
virtual const W getRSSI () const override
 Returns the receive signal strength indication. More...
 
- Public Member Functions inherited from inet::physicallayer::SignalSampleModel
 SignalSampleModel (int sampleLength, double sampleRate, const std::vector< W > *samples)
 
virtual ~SignalSampleModel ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level) const override
 Prints this object to the provided output stream. More...
 
virtual int getSampleLength () const override
 
virtual double getSampleRate () const override
 
virtual const std::vector< W > * getSamples () 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 W rssi
 
- Protected Attributes inherited from inet::physicallayer::SignalSampleModel
const int sampleLength
 
const double sampleRate
 
const std::vector< W > * samples
 

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::ReceptionSampleModel::ReceptionSampleModel ( int  sampleLength,
double  sampleRate,
const std::vector< W > *  samples,
W  rssi 
)
50  :
52  rssi(rssi)
53 {
54 }
const W rssi
Definition: SignalSampleModel.h:53
const int sampleLength
Definition: SignalSampleModel.h:30
const double sampleRate
Definition: SignalSampleModel.h:31
SignalSampleModel(int sampleLength, double sampleRate, const std::vector< W > *samples)
Definition: SignalSampleModel.cc:24
const std::vector< W > * samples
Definition: SignalSampleModel.h:32

Member Function Documentation

virtual const W inet::physicallayer::ReceptionSampleModel::getRSSI ( ) const
inlineoverridevirtual

Returns the receive signal strength indication.

Implements inet::physicallayer::IReceptionSampleModel.

58 { return rssi; }
const W rssi
Definition: SignalSampleModel.h:53

Member Data Documentation

const W inet::physicallayer::ReceptionSampleModel::rssi
protected

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