INET Framework for OMNeT++/OMNEST
inet::physicallayer::ICommunicationCache Class Referenceabstract

This interface is used to cache various intermediate computation results related to the communication on the medium. More...

#include <ICommunicationCache.h>

Inheritance diagram for inet::physicallayer::ICommunicationCache:
inet::physicallayer::IPrintableObject inet::physicallayer::CommunicationCacheBase inet::physicallayer::MapCommunicationCache inet::physicallayer::ReferenceCommunicationCache inet::physicallayer::VectorCommunicationCache

Public Member Functions

Medium state change notifications
virtual void addRadio (const IRadio *radio)=0
 
virtual void removeRadio (const IRadio *radio)=0
 
virtual void addTransmission (const ITransmission *transmission)=0
 
virtual void removeTransmission (const ITransmission *transmission)=0
 
Interference cache
virtual std::vector< const ITransmission * > * computeInterferingTransmissions (const IRadio *radio, const simtime_t startTime, const simtime_t endTime)=0
 
virtual void removeNonInterferingTransmissions ()=0
 
Transmission cache
virtual const simtime_t getCachedInterferenceEndTime (const ITransmission *transmission)=0
 
virtual void setCachedInterferenceEndTime (const ITransmission *transmission, const simtime_t interferenceEndTime)=0
 
virtual void removeCachedInterferenceEndTime (const ITransmission *transmission)=0
 
virtual const IRadioFramegetCachedFrame (const ITransmission *transmission)=0
 
virtual void setCachedFrame (const ITransmission *transmission, const IRadioFrame *radioFrame)=0
 
virtual void removeCachedFrame (const ITransmission *transmission)=0
 
Reception Cache
virtual const IArrivalgetCachedArrival (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual void setCachedArrival (const IRadio *receiver, const ITransmission *transmission, const IArrival *arrival)=0
 
virtual void removeCachedArrival (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual const IntervalgetCachedInterval (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual void setCachedInterval (const IRadio *receiver, const ITransmission *transmission, const Interval *interval)=0
 
virtual void removeCachedInterval (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual const IListeninggetCachedListening (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual void setCachedListening (const IRadio *receiver, const ITransmission *transmission, const IListening *listening)=0
 
virtual void removeCachedListening (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual const IReceptiongetCachedReception (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual void setCachedReception (const IRadio *receiver, const ITransmission *transmission, const IReception *reception)=0
 
virtual void removeCachedReception (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual const IInterferencegetCachedInterference (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual void setCachedInterference (const IRadio *receiver, const ITransmission *transmission, const IInterference *interference)=0
 
virtual void removeCachedInterference (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual const INoisegetCachedNoise (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual void setCachedNoise (const IRadio *receiver, const ITransmission *transmission, const INoise *noise)=0
 
virtual void removeCachedNoise (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual const ISNIRgetCachedSNIR (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual void setCachedSNIR (const IRadio *receiver, const ITransmission *transmission, const ISNIR *snir)=0
 
virtual void removeCachedSNIR (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual const IReceptionDecisiongetCachedReceptionDecision (const IRadio *receiver, const ITransmission *transmission, IRadioSignal::SignalPart part)=0
 
virtual void setCachedReceptionDecision (const IRadio *receiver, const ITransmission *transmission, IRadioSignal::SignalPart part, const IReceptionDecision *receptionDecision)=0
 
virtual void removeCachedReceptionDecision (const IRadio *receiver, const ITransmission *transmission, IRadioSignal::SignalPart part)=0
 
virtual const IReceptionResultgetCachedReceptionResult (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual void setCachedReceptionResult (const IRadio *receiver, const ITransmission *transmission, const IReceptionResult *receptionResult)=0
 
virtual void removeCachedReceptionResult (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual const IRadioFramegetCachedFrame (const IRadio *receiver, const ITransmission *transmission)=0
 
virtual void setCachedFrame (const IRadio *receiver, const ITransmission *transmission, const IRadioFrame *radioFrame)=0
 
virtual void removeCachedFrame (const IRadio *receiver, const ITransmission *transmission)=0
 
- Public Member Functions inherited from inet::physicallayer::IPrintableObject
virtual ~IPrintableObject ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level) const
 Prints this object to the provided output stream. More...
 
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
 

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
}
 

Detailed Description

This interface is used to cache various intermediate computation results related to the communication on the medium.

Member Function Documentation

virtual void inet::physicallayer::ICommunicationCache::addRadio ( const IRadio radio)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::addTransmission ( const ITransmission transmission)
pure virtual
virtual std::vector<const ITransmission *>* inet::physicallayer::ICommunicationCache::computeInterferingTransmissions ( const IRadio radio,
const simtime_t  startTime,
const simtime_t  endTime 
)
pure virtual
virtual const IArrival* inet::physicallayer::ICommunicationCache::getCachedArrival ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual const IRadioFrame* inet::physicallayer::ICommunicationCache::getCachedFrame ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual const IInterference* inet::physicallayer::ICommunicationCache::getCachedInterference ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual const simtime_t inet::physicallayer::ICommunicationCache::getCachedInterferenceEndTime ( const ITransmission transmission)
pure virtual
virtual const Interval* inet::physicallayer::ICommunicationCache::getCachedInterval ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual const INoise* inet::physicallayer::ICommunicationCache::getCachedNoise ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual const IReception* inet::physicallayer::ICommunicationCache::getCachedReception ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual const IReceptionDecision* inet::physicallayer::ICommunicationCache::getCachedReceptionDecision ( const IRadio receiver,
const ITransmission transmission,
IRadioSignal::SignalPart  part 
)
pure virtual
virtual const IReceptionResult* inet::physicallayer::ICommunicationCache::getCachedReceptionResult ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual const ISNIR* inet::physicallayer::ICommunicationCache::getCachedSNIR ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeCachedArrival ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeCachedFrame ( const ITransmission transmission)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeCachedFrame ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeCachedInterference ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeCachedInterferenceEndTime ( const ITransmission transmission)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeCachedInterval ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeCachedListening ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeCachedNoise ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeCachedReception ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeCachedReceptionDecision ( const IRadio receiver,
const ITransmission transmission,
IRadioSignal::SignalPart  part 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeCachedReceptionResult ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeCachedSNIR ( const IRadio receiver,
const ITransmission transmission 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeNonInterferingTransmissions ( )
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeRadio ( const IRadio radio)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::removeTransmission ( const ITransmission transmission)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::setCachedArrival ( const IRadio receiver,
const ITransmission transmission,
const IArrival arrival 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::setCachedFrame ( const ITransmission transmission,
const IRadioFrame radioFrame 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::setCachedFrame ( const IRadio receiver,
const ITransmission transmission,
const IRadioFrame radioFrame 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::setCachedInterference ( const IRadio receiver,
const ITransmission transmission,
const IInterference interference 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::setCachedInterferenceEndTime ( const ITransmission transmission,
const simtime_t  interferenceEndTime 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::setCachedInterval ( const IRadio receiver,
const ITransmission transmission,
const Interval interval 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::setCachedListening ( const IRadio receiver,
const ITransmission transmission,
const IListening listening 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::setCachedNoise ( const IRadio receiver,
const ITransmission transmission,
const INoise noise 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::setCachedReception ( const IRadio receiver,
const ITransmission transmission,
const IReception reception 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::setCachedReceptionDecision ( const IRadio receiver,
const ITransmission transmission,
IRadioSignal::SignalPart  part,
const IReceptionDecision receptionDecision 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::setCachedReceptionResult ( const IRadio receiver,
const ITransmission transmission,
const IReceptionResult receptionResult 
)
pure virtual
virtual void inet::physicallayer::ICommunicationCache::setCachedSNIR ( const IRadio receiver,
const ITransmission transmission,
const ISNIR snir 
)
pure virtual

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