INET Framework for OMNeT++/OMNEST
|
#include <CommunicationCacheBase.h>
Classes | |
class | RadioCacheEntry |
Caches the intermediate computation results related to a radio. More... | |
class | ReceptionCacheEntry |
Caches the intermediate computation results related to a reception. More... | |
class | TransmissionCacheEntry |
Caches the intermediate computation results related to a transmission. More... | |
Public Member Functions | |
CommunicationCacheBase () | |
virtual | ~CommunicationCacheBase () |
Interference cache | |
virtual std::vector< const ITransmission * > * | computeInterferingTransmissions (const IRadio *radio, const simtime_t startTime, const simtime_t endTime) override |
Transmission cache | |
virtual const simtime_t | getCachedInterferenceEndTime (const ITransmission *transmission) override |
virtual void | setCachedInterferenceEndTime (const ITransmission *transmission, const simtime_t interferenceEndTime) override |
virtual void | removeCachedInterferenceEndTime (const ITransmission *transmission) override |
virtual const IRadioFrame * | getCachedFrame (const ITransmission *transmission) override |
virtual void | setCachedFrame (const ITransmission *transmission, const IRadioFrame *frame) override |
virtual void | removeCachedFrame (const ITransmission *transmission) override |
Reception cache | |
virtual const IArrival * | getCachedArrival (const IRadio *receiver, const ITransmission *transmission) override |
virtual void | setCachedArrival (const IRadio *receiver, const ITransmission *transmission, const IArrival *arrival) override |
virtual void | removeCachedArrival (const IRadio *receiver, const ITransmission *transmission) override |
virtual const Interval * | getCachedInterval (const IRadio *receiver, const ITransmission *transmission) override |
virtual void | setCachedInterval (const IRadio *receiver, const ITransmission *transmission, const Interval *interval) override |
virtual void | removeCachedInterval (const IRadio *receiver, const ITransmission *transmission) override |
virtual const IListening * | getCachedListening (const IRadio *receiver, const ITransmission *transmission) override |
virtual void | setCachedListening (const IRadio *receiver, const ITransmission *transmission, const IListening *listening) override |
virtual void | removeCachedListening (const IRadio *receiver, const ITransmission *transmission) override |
virtual const IReception * | getCachedReception (const IRadio *receiver, const ITransmission *transmission) override |
virtual void | setCachedReception (const IRadio *receiver, const ITransmission *transmission, const IReception *reception) override |
virtual void | removeCachedReception (const IRadio *receiver, const ITransmission *transmission) override |
virtual const IInterference * | getCachedInterference (const IRadio *receiver, const ITransmission *transmission) override |
virtual void | setCachedInterference (const IRadio *receiver, const ITransmission *transmission, const IInterference *interference) override |
virtual void | removeCachedInterference (const IRadio *receiver, const ITransmission *transmission) override |
virtual const INoise * | getCachedNoise (const IRadio *receiver, const ITransmission *transmission) override |
virtual void | setCachedNoise (const IRadio *receiver, const ITransmission *transmission, const INoise *noise) override |
virtual void | removeCachedNoise (const IRadio *receiver, const ITransmission *transmission) override |
virtual const ISNIR * | getCachedSNIR (const IRadio *receiver, const ITransmission *transmission) override |
virtual void | setCachedSNIR (const IRadio *receiver, const ITransmission *transmission, const ISNIR *snir) override |
virtual void | removeCachedSNIR (const IRadio *receiver, const ITransmission *transmission) override |
virtual const IReceptionDecision * | getCachedReceptionDecision (const IRadio *receiver, const ITransmission *transmission, IRadioSignal::SignalPart part) override |
virtual void | setCachedReceptionDecision (const IRadio *receiver, const ITransmission *transmission, IRadioSignal::SignalPart part, const IReceptionDecision *receptionDecision) override |
virtual void | removeCachedReceptionDecision (const IRadio *receiver, const ITransmission *transmission, IRadioSignal::SignalPart part) override |
virtual const IReceptionResult * | getCachedReceptionResult (const IRadio *receiver, const ITransmission *transmission) override |
virtual void | setCachedReceptionResult (const IRadio *receiver, const ITransmission *transmission, const IReceptionResult *receptionResult) override |
virtual void | removeCachedReceptionResult (const IRadio *receiver, const ITransmission *transmission) override |
virtual const IRadioFrame * | getCachedFrame (const IRadio *receiver, const ITransmission *transmission) override |
virtual void | setCachedFrame (const IRadio *receiver, const ITransmission *transmission, const IRadioFrame *frame) override |
virtual void | removeCachedFrame (const IRadio *receiver, const ITransmission *transmission) override |
Public Member Functions inherited from inet::physicallayer::ICommunicationCache | |
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 |
virtual void | removeNonInterferingTransmissions ()=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 |
Protected Member Functions | |
Cache data structures | |
virtual RadioCacheEntry * | getRadioCacheEntry (const IRadio *radio)=0 |
virtual TransmissionCacheEntry * | getTransmissionCacheEntry (const ITransmission *transmission)=0 |
virtual ReceptionCacheEntry * | getReceptionCacheEntry (const IRadio *radio, const ITransmission *transmission)=0 |
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 } |
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
Reimplemented in inet::physicallayer::ReferenceCommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
Reimplemented in inet::physicallayer::ReferenceCommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
Reimplemented in inet::physicallayer::ReferenceCommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
Reimplemented in inet::physicallayer::ReferenceCommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
Reimplemented in inet::physicallayer::ReferenceCommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
Reimplemented in inet::physicallayer::ReferenceCommunicationCache.
|
protectedpure virtual |
|
protectedpure virtual |
Implemented in inet::physicallayer::VectorCommunicationCache, inet::physicallayer::MapCommunicationCache, and inet::physicallayer::ReferenceCommunicationCache.
Referenced by getCachedArrival(), getCachedFrame(), getCachedInterference(), getCachedInterval(), getCachedListening(), getCachedNoise(), getCachedReception(), getCachedReceptionDecision(), getCachedReceptionResult(), getCachedSNIR(), removeCachedArrival(), removeCachedFrame(), removeCachedInterference(), removeCachedInterval(), removeCachedListening(), removeCachedNoise(), removeCachedReception(), removeCachedReceptionDecision(), removeCachedReceptionResult(), removeCachedSNIR(), setCachedArrival(), setCachedFrame(), setCachedInterference(), setCachedInterval(), setCachedListening(), setCachedNoise(), setCachedReception(), setCachedReceptionDecision(), setCachedReceptionResult(), and setCachedSNIR().
|
protectedpure virtual |
Implemented in inet::physicallayer::VectorCommunicationCache, inet::physicallayer::MapCommunicationCache, and inet::physicallayer::ReferenceCommunicationCache.
Referenced by getCachedFrame(), getCachedInterferenceEndTime(), removeCachedFrame(), removeCachedInterferenceEndTime(), setCachedFrame(), and setCachedInterferenceEndTime().
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.
|
overridevirtual |
Implements inet::physicallayer::ICommunicationCache.