INET Framework for OMNeT++/OMNEST
inet::IMobility Class Referenceabstract

Abstract base class defining the public interface that must be provided by all mobility modules. More...

#include <IMobility.h>

Inheritance diagram for inet::IMobility:
inet::MobilityBase inet::MovingMobilityBase inet::RotatingMobilityBase inet::StationaryMobility inet::CircleMobility inet::LinearMobility inet::LineSegmentsMobilityBase inet::RectangleMobility inet::VehicleMobility inet::LinearRotatingMobilityBase inet::LinearNodeDistributionMobility inet::StaticConcentricMobility inet::StaticGridMobility

Public Member Functions

virtual ~IMobility ()
 
virtual double getMaxSpeed () const =0
 Returns the maximum possible speed at any future time. More...
 
virtual Coord getCurrentPosition ()=0
 Returns the current position at the current simulation time. More...
 
virtual Coord getCurrentSpeed ()=0
 Returns the current speed at the current simulation time. More...
 
virtual EulerAngles getCurrentAngularPosition ()=0
 Returns the current acceleration at the current simulation time. More...
 
virtual EulerAngles getCurrentAngularSpeed ()=0
 Returns the current angular speed at the current simulation time. More...
 
virtual Coord getConstraintAreaMax () const =0
 Returns the current angular acceleration at the current simulation time. More...
 
virtual Coord getConstraintAreaMin () const =0
 

Static Public Attributes

static simsignal_t mobilityStateChangedSignal = cComponent::registerSignal("mobilityStateChanged")
 A signal used to publish mobility state changes. More...
 

Detailed Description

Abstract base class defining the public interface that must be provided by all mobility modules.

Author
Levente Meszaros

Constructor & Destructor Documentation

virtual inet::IMobility::~IMobility ( )
inlinevirtual
45 {}

Member Function Documentation

virtual Coord inet::IMobility::getConstraintAreaMax ( ) const
pure virtual

Returns the current angular acceleration at the current simulation time.

Implemented in inet::MobilityBase, and inet::StationaryMobility.

Referenced by inet::physicallayer::MediumLimitCache::computeMaxConstreaintArea().

virtual Coord inet::IMobility::getConstraintAreaMin ( ) const
pure virtual
virtual EulerAngles inet::IMobility::getCurrentAngularSpeed ( )
pure virtual

Returns the current angular speed at the current simulation time.

Implemented in inet::MobilityBase, and inet::RotatingMobilityBase.

virtual Coord inet::IMobility::getCurrentPosition ( )
pure virtual

Returns the current position at the current simulation time.

Implemented in inet::MoBANLocal, inet::MovingMobilityBase, and inet::StationaryMobility.

Referenced by inet::physicallayer::GridNeighborCache::addRadio(), inet::physicallayer::QuadTreeNeighborCache::addRadio(), inet::physicallayer::ConstantTimePropagation::computeArrival(), inet::physicallayer::ConstantSpeedPropagation::computeArrival(), inet::GPSR::createBeacon(), inet::physicallayer::APSKScalarTransmitter::createTransmission(), inet::physicallayer::Ieee80211ScalarTransmitter::createTransmission(), inet::physicallayer::Ieee802154NarrowbandScalarTransmitter::createTransmission(), inet::physicallayer::APSKDimensionalTransmitter::createTransmission(), inet::physicallayer::Ieee80211DimensionalTransmitter::createTransmission(), inet::physicallayer::Ieee80211IdealTransmitter::createTransmission(), inet::physicallayer::IdealTransmitter::createTransmission(), inet::physicallayer::Ieee802154UWBIRTransmitter::createTransmission(), inet::physicallayer::APSKLayeredTransmitter::createTransmission(), inet::physicallayer::Ieee80211LayeredOFDMTransmitter::createTransmission(), inet::physicallayer::GridNeighborCache::fillCubeVector(), inet::GPSR::findGreedyRoutingNextHop(), inet::GPSR::findPerimeterRoutingNextHop(), inet::GPSR::getDestinationAngle(), inet::GPSR::getNeighborAngle(), inet::GPSR::getPlanarNeighbors(), inet::physicallayer::Radio::isListeningPossible(), inet::GPSR::processBeaconTimer(), inet::NetAnimTrace::receiveSignal(), inet::utils::filters::MobilityPosFilter::receiveSignal(), inet::visualizer::MobilityCanvasVisualizer::refreshDisplay(), inet::physicallayer::GridNeighborCache::sendToNeighbors(), inet::physicallayer::QuadTreeNeighborCache::sendToNeighbors(), and inet::physicallayer::NeighborListNeighborCache::updateNeighborList().

virtual Coord inet::IMobility::getCurrentSpeed ( )
pure virtual

Returns the current speed at the current simulation time.

Implemented in inet::MoBANLocal, inet::MovingMobilityBase, and inet::StationaryMobility.

Referenced by inet::visualizer::MobilityCanvasVisualizer::refreshDisplay().

Member Data Documentation

simsignal_t inet::IMobility::mobilityStateChangedSignal = cComponent::registerSignal("mobilityStateChanged")
static

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