INET Framework for OMNeT++/OMNEST
|
Abstract base class defining the public interface that must be provided by all mobility modules. More...
#include <IMobility.h>
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... | |
Abstract base class defining the public interface that must be provided by all mobility modules.
|
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().
|
pure virtual |
Implemented in inet::MobilityBase, and inet::StationaryMobility.
Referenced by inet::physicallayer::MediumLimitCache::computeMinConstraintArea().
|
pure virtual |
Returns the current acceleration at the current simulation time.
Returns the current angular position at the current simulation time.
Implemented in inet::MobilityBase, inet::MovingMobilityBase, and inet::RotatingMobilityBase.
Referenced by inet::physicallayer::ConstantTimePropagation::computeArrival(), inet::physicallayer::ConstantSpeedPropagation::computeArrival(), 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::Ieee802154UWBIRTransmitter::createTransmission(), inet::physicallayer::APSKLayeredTransmitter::createTransmission(), inet::physicallayer::Ieee80211LayeredOFDMTransmitter::createTransmission(), and inet::visualizer::MobilityCanvasVisualizer::refreshDisplay().
|
pure virtual |
Returns the current angular speed at the current simulation time.
Implemented in inet::MobilityBase, and inet::RotatingMobilityBase.
|
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().
|
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().
|
pure virtual |
Returns the maximum possible speed at any future time.
Implemented in inet::MoBANCoordinator, inet::MobilityBase, inet::MoBANLocal, inet::Ns2MotionMobility, inet::TurtleMobility, inet::BonnMotionMobility, inet::ANSimMobility, inet::MassMobility, inet::CircleMobility, inet::GaussMarkovMobility, inet::RectangleMobility, inet::TractorMobility, inet::ChiangMobility, inet::VehicleMobility, inet::RandomWPMobility, inet::ConstSpeedMobility, inet::StationaryMobility, and inet::LinearMobility.
|
static |
A signal used to publish mobility state changes.
Referenced by inet::MobilityBase::emitMobilityStateChangedSignal(), inet::visualizer::MobilityCanvasVisualizer::receiveSignal(), inet::visualizer::MobilityVisualizerBase::subscribe(), and inet::visualizer::MobilityVisualizerBase::unsubscribe().