INET Framework for OMNeT++/OMNEST
|
This interface is used to cache various intermediate computation results related to the communication on the medium. More...
#include <ICommunicationCache.h>
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 IRadioFrame * | getCachedFrame (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 IArrival * | getCachedArrival (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 Interval * | getCachedInterval (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 IListening * | getCachedListening (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 IReception * | getCachedReception (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 IInterference * | getCachedInterference (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 INoise * | getCachedNoise (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 ISNIR * | getCachedSNIR (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 IReceptionDecision * | getCachedReceptionDecision (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 IReceptionResult * | getCachedReceptionResult (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 IRadioFrame * | getCachedFrame (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 } |
This interface is used to cache various intermediate computation results related to the communication on the medium.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::getArrival().
|
pure virtual |
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase, and inet::physicallayer::ReferenceCommunicationCache.
Referenced by inet::physicallayer::RadioMedium::getInterference().
|
pure virtual |
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::getInterference(), inet::physicallayer::RadioMedium::getListening(), inet::physicallayer::RadioMedium::getNoise(), inet::physicallayer::RadioMedium::receivePacket(), and inet::physicallayer::RadioMedium::receiveSignal().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase, and inet::physicallayer::ReferenceCommunicationCache.
Referenced by inet::physicallayer::RadioMedium::getNoise().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase, and inet::physicallayer::ReferenceCommunicationCache.
Referenced by inet::physicallayer::RadioMedium::getReception().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase, and inet::physicallayer::ReferenceCommunicationCache.
Referenced by inet::physicallayer::RadioMedium::getReceptionDecision().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::getReceptionResult().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase, and inet::physicallayer::ReferenceCommunicationCache.
Referenced by inet::physicallayer::RadioMedium::getSNIR().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::removeNonInterferingTransmissions().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::receivePacket().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::addRadio(), and inet::physicallayer::RadioMedium::addTransmission().
|
pure virtual |
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::getInterference().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::addTransmission().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::addTransmission().
|
pure virtual |
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::getNoise().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::getReception().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::getReceptionDecision().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::getReceptionResult().
|
pure virtual |
Implemented in inet::physicallayer::CommunicationCacheBase.
Referenced by inet::physicallayer::RadioMedium::getSNIR().