INET Framework for OMNeT++/OMNEST
inet::physicallayer::ConstDelayedMapping Class Reference

Moves another ConstMapping in its time dimension. More...

#include <MappingUtils.h>

Inheritance diagram for inet::physicallayer::ConstDelayedMapping:
inet::physicallayer::BaseDelayedMapping< const ConstMapping >

Public Member Functions

 ConstDelayedMapping (const ConstMapping *mapping, simtime_t_cref delay)
 
virtual ~ConstDelayedMapping ()
 
virtual ConstMappingconstClone () const override
 
- Public Member Functions inherited from inet::physicallayer::BaseDelayedMapping< const ConstMapping >
 BaseDelayedMapping (const BaseDelayedMapping &o)
 
 BaseDelayedMapping (const ConstMapping *mapping, simtime_t_cref delay)
 
BaseDelayedMappingoperator= (const BaseDelayedMapping &copy)
 BaseDelayedMapping assignment operator. More...
 
void swap (BaseDelayedMapping &s)
 Swaps data with another BaseDelayedMapping. More...
 
virtual ~BaseDelayedMapping ()
 
virtual const ConstMapping::argument_value_t getValue (const Argument &pos) const
 
virtual ConstMappingIteratorcreateConstIterator () const
 
virtual ConstMappingIteratorcreateConstIterator (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...
 

Additional Inherited Members

- Protected Member Functions inherited from inet::physicallayer::BaseDelayedMapping< const ConstMapping >
Argument delayPosition (const Argument &pos) const
 
- Protected Attributes inherited from inet::physicallayer::BaseDelayedMapping< const ConstMapping >
const ConstMappingmapping
 
simtime_t delay
 

Detailed Description

Moves another ConstMapping in its time dimension.

See propagation delay effect of the signal for an example how to use this mapping.

Author
Karl Wessel

Constructor & Destructor Documentation

inet::physicallayer::ConstDelayedMapping::ConstDelayedMapping ( const ConstMapping mapping,
simtime_t_cref  delay 
)
inline
2885  :
2886  BaseDelayedMapping<const ConstMapping>(mapping, delay) {}
const ConstMapping * mapping
Definition: MappingUtils.h:2789
simtime_t delay
Definition: MappingUtils.h:2790
virtual inet::physicallayer::ConstDelayedMapping::~ConstDelayedMapping ( )
inlinevirtual
2888 {}

Member Function Documentation

virtual ConstMapping* inet::physicallayer::ConstDelayedMapping::constClone ( ) const
inlineoverridevirtual
2891  {
2892  return new ConstDelayedMapping(mapping->constClone(), delay);
2893  }
const ConstMapping * mapping
Definition: MappingUtils.h:2789
simtime_t delay
Definition: MappingUtils.h:2790
virtual ConstMapping * constClone() const =0
returns a deep copy of this mapping instance.
ConstDelayedMapping(const ConstMapping *mapping, simtime_t_cref delay)
Definition: MappingUtils.h:2885

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