INET Framework for OMNeT++/OMNEST
|
Moves another Mapping in its time dimension. More...
#include <MappingUtils.h>
Public Member Functions | |
DelayedMapping (Mapping *mapping, simtime_t_cref delay) | |
virtual | ~DelayedMapping () |
virtual void | setValue (const Argument &pos, Argument::mapped_type_cref value) override |
Changes the value of the Mapping at the specified position. More... | |
virtual Mapping * | clone () const override |
Returns a deep copy of this Mapping. More... | |
virtual MappingIterator * | createIterator () override |
Returns a pointer of a new Iterator which is able to iterate over the Mapping and can change it. More... | |
virtual MappingIterator * | createIterator (const Argument &pos) override |
Returns a pointer of a new Iterator which is able to iterate over the function and can change it. More... | |
Public Member Functions inherited from inet::physicallayer::BaseDelayedMapping< Mapping > | |
BaseDelayedMapping (const BaseDelayedMapping &o) | |
BaseDelayedMapping (Mapping *mapping, simtime_t_cref delay) | |
BaseDelayedMapping & | operator= (const BaseDelayedMapping ©) |
BaseDelayedMapping assignment operator. More... | |
void | swap (BaseDelayedMapping &s) |
Swaps data with another BaseDelayedMapping. More... | |
virtual | ~BaseDelayedMapping () |
virtual Mapping::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... | |
Public Member Functions inherited from inet::physicallayer::Mapping | |
Mapping & | operator= (const Mapping ©) |
Mapping assignment operator. More... | |
void | swap (Mapping &s) |
Swaps data with another Mapping. More... | |
Mapping (const DimensionSet &dims) | |
Initializes the Mapping with the passed DimensionSet as domain. More... | |
Mapping () | |
Initializes the Mapping with the time dimension as domain. More... | |
Mapping (const Mapping &o) | |
virtual | ~Mapping () |
virtual void | appendValue (const Argument &pos, argument_value_cref_t value) |
Appends the passed value at the passed position to the mapping. More... | |
virtual ConstMapping * | constClone () const override |
Returns a deep const copy of this mapping by using the according "clone()"-implementation. More... | |
Public Member Functions inherited from inet::physicallayer::ConstMapping | |
ConstMapping & | operator= (const ConstMapping ©) |
ConstMapping assignment operator. More... | |
void | swap (ConstMapping &s) |
Swaps data with another ConstMapping. More... | |
ConstMapping () | |
Initializes the ConstMapping with a the time dimension as domain. More... | |
ConstMapping (const ConstMapping &o) | |
ConstMapping (const DimensionSet &dimSet) | |
Initializes the ConstMapping with the passed DimensionSet as Domain. More... | |
virtual | ~ConstMapping () |
argument_value_t | operator[] (const Argument &pos) const |
Returns the value of this Mapping at the position specified by the passed Argument. More... | |
const DimensionSet & | getDimensionSet () const |
Returns this Mappings domain as DimensionSet. More... | |
template<class stream > | |
stream & | print (stream &out, argument_value_cref_t lTimeScale=argument_value_t(1), argument_value_cref_t lLeftColScale=Argument::MappedOne, const std::string &sTableHead=std::string("o\\ms"), const Dimension *const pOnlyDim=nullptr) const |
Prints the Mapping to an output stream. More... | |
Additional Inherited Members | |
Public Types inherited from inet::physicallayer::Mapping | |
enum | InterpolationMethod { STEPS, NEAREST, LINEAR } |
Types of interpolation methods for mappings. More... | |
Public Types inherited from inet::physicallayer::ConstMapping | |
typedef Argument::mapped_type | argument_value_t |
typedef Argument::mapped_type_cref | argument_value_cref_t |
Protected Member Functions inherited from inet::physicallayer::BaseDelayedMapping< Mapping > | |
Argument | delayPosition (const Argument &pos) const |
Protected Attributes inherited from inet::physicallayer::BaseDelayedMapping< Mapping > | |
Mapping * | mapping |
simtime_t | delay |
Protected Attributes inherited from inet::physicallayer::ConstMapping | |
DimensionSet | dimensions |
The dimensions of this mappings domain. More... | |
Moves another Mapping in its time dimension.
See propagation delay effect of the signal for an example how to use this mapping.
|
inline |
|
inlineoverridevirtual |
Returns a deep copy of this Mapping.
Implements inet::physicallayer::Mapping.
|
inlineoverridevirtual |
Returns a pointer of a new Iterator which is able to iterate over the Mapping and can change it.
Implements inet::physicallayer::Mapping.
|
inlineoverridevirtual |
Returns a pointer of a new Iterator which is able to iterate over the function and can change it.
The iterator starts at the passed position.
Implements inet::physicallayer::Mapping.
|
inlineoverridevirtual |
Changes the value of the Mapping at the specified position.
The complexity of this method depends on the implementation.
Implements inet::physicallayer::Mapping.