INET Framework for OMNeT++/OMNEST
|
Common base for Const- and NonConst-DelayedMapping. More...
#include <MappingUtils.h>
Public Member Functions | |
BaseDelayedMapping (const BaseDelayedMapping &o) | |
BaseDelayedMapping & | operator= (const BaseDelayedMapping ©) |
BaseDelayedMapping assignment operator. More... | |
void | swap (BaseDelayedMapping &s) |
Swaps data with another BaseDelayedMapping. More... | |
BaseDelayedMapping (Base *mapping, simtime_t_cref delay) | |
virtual | ~BaseDelayedMapping () |
virtual Base::argument_value_t | getValue (const Argument &pos) const |
virtual ConstMappingIterator * | createConstIterator () const |
virtual ConstMappingIterator * | createConstIterator (const Argument &pos) const |
virtual simtime_t_cref | getDelay () const |
Returns the delay used by this mapping. More... | |
virtual void | delayMapping (simtime_t_cref d) |
Changes the delay to the passed value. More... | |
Protected Member Functions | |
Argument | delayPosition (const Argument &pos) const |
Protected Attributes | |
Base * | mapping |
simtime_t | delay |
Common base for Const- and NonConst-DelayedMapping.
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Changes the delay to the passed value.
|
inlineprotected |
|
inlinevirtual |
Returns the delay used by this mapping.
|
inlinevirtual |
|
inline |
BaseDelayedMapping assignment operator.
copy | A BaseDelayedMapping of identical element and allocator types. |
All the elements of copy are copied.
|
inline |
Swaps data with another BaseDelayedMapping.
s | A BaseDelayedMapping of the same element and allocator types. |
This exchanges the elements between two BaseDelayedMapping's in constant time. Note that the global std::swap() function is specialized such that std::swap(s1,s2) will feed to this function.
|
protected |
Referenced by inet::physicallayer::BaseDelayedMapping< Mapping >::swap().
|
protected |
Referenced by inet::physicallayer::BaseDelayedMapping< Mapping >::swap().